SlideShare a Scribd company logo
1 of 29
Download to read offline
Auto-Scaling no AWS
Thiago Rondon, thiago@b-datum.com

Encontro Técnico b-datum.com

Friday, November 29, 13
termostato
“manter constante a temperatura
de um determinado ambiente”

Friday, November 29, 13
capacidade

problemas

desperdício

tradicional
desperdício

necessidade

tempo

Friday, November 29, 13
ELB

Friday, November 29, 13

round-robin

Elastic Load Balacing
sticky sessions

*default disable

múltiplas regiões
saúde do EC2
CloudWatch
métricas próprias
alarmes
console ou API

Friday, November 29, 13
Amazon Machine Image

EC2 & AMI
Elastic Compute Cloud

Friday, November 29, 13
aws.amazon.com/developertools

Friday, November 29, 13
$	
  aws	
  configure
X
vim	
  secrets.txt
AWSAccessKeyId=0000000
AWSSecretKey=222222+33333333
export	
  AWS_CREDENTIAL_FILE=secrets.txt

Friday, November 29, 13
Friday, November 29, 13
#	
  as-­‐
as-­‐cmd	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐auto-­‐scaling-­‐instances	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐enable-­‐metrics-­‐collection
as-­‐create-­‐auto-­‐scaling-­‐group	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐auto-­‐scaling-­‐notification-­‐types	
  	
  as-­‐execute-­‐policy
as-­‐create-­‐launch-­‐config	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐launch-­‐configs	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐put-­‐notification-­‐configuration
as-­‐create-­‐or-­‐update-­‐tags	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐metric-­‐collection-­‐types	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐put-­‐scaling-­‐policy
as-­‐delete-­‐auto-­‐scaling-­‐group	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐notification-­‐configurations	
  	
  	
  	
  	
  	
  as-­‐put-­‐scheduled-­‐update-­‐group-­‐action
as-­‐delete-­‐launch-­‐config	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐policies	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐resume-­‐processes
as-­‐delete-­‐notification-­‐configuration	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐process-­‐types	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐set-­‐desired-­‐capacity
as-­‐delete-­‐policy	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐scaling-­‐activities	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐set-­‐instance-­‐health
as-­‐delete-­‐scheduled-­‐action	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐scheduled-­‐actions	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐suspend-­‐processes
as-­‐delete-­‐tags	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐tags	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐terminate-­‐instance-­‐in-­‐auto-­‐scaling-­‐
group
as-­‐describe-­‐adjustment-­‐types	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐describe-­‐termination-­‐policy-­‐types	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐update-­‐auto-­‐scaling-­‐group
as-­‐describe-­‐auto-­‐scaling-­‐groups	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐disable-­‐metrics-­‐collection	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  as-­‐version

Friday, November 29, 13
#	
  as-­‐create-­‐launch-­‐config	
  -­‐-­‐image-­‐id	
  ami-­‐43e0c12a	
  
	
   -­‐-­‐instance-­‐type	
  t1.micro	
  -­‐-­‐key	
  "thiago-­‐teste"	
  
	
   -­‐-­‐group	
  "default"	
  -­‐-­‐launch-­‐config	
  bdatum-­‐config
OK-­‐Created	
  launch	
  config

Friday, November 29, 13
#	
  as-­‐describe-­‐scaling-­‐activities
No	
  activities	
  found

Friday, November 29, 13
#	
  as-­‐create-­‐auto-­‐scaling-­‐group	
  bdatum-­‐scaling	
  
	
   -­‐-­‐launch-­‐configuration	
  bdatum-­‐config	
  
	
   -­‐-­‐availability-­‐zones	
  us-­‐east-­‐1d	
  -­‐-­‐min-­‐size	
  2	
  
	
   -­‐-­‐max-­‐size	
  10	
  -­‐-­‐load-­‐balancers	
  bdatum-­‐elb	
  
	
   -­‐-­‐health-­‐check-­‐type	
  ELB	
  -­‐-­‐grace-­‐period	
  300
OK-­‐Created	
  AutoScalingGroup

Friday, November 29, 13
#	
  as-­‐put-­‐scaling-­‐policy	
  
	
   -­‐-­‐auto-­‐scaling-­‐group	
  bdatum-­‐scaling	
  
	
   -­‐-­‐name	
  scale-­‐up	
  -­‐-­‐adjustment	
  1	
  
	
   -­‐-­‐type	
  ChangeInCapacity	
  -­‐-­‐cooldown	
  300
arn:aws:autoscaling:us-­‐
east-­‐1:838846897022:scalingPolicy:c1016b4a-­‐8e2d-­‐43b5-­‐aa0c-­‐
fdc701ffd362:autoScalingGroupName/bdatum-­‐scaling:policyName/scale-­‐up

Friday, November 29, 13
#	
  as-­‐put-­‐scaling-­‐policy	
  
	
   -­‐-­‐auto-­‐scaling-­‐group	
  bdatum-­‐scaling	
  
	
   -­‐-­‐name	
  scale-­‐dn	
  "-­‐-­‐adjustment=-­‐1"	
  
	
   -­‐-­‐type	
  ChangeInCapacity	
  -­‐-­‐cooldown	
  300
arn:aws:autoscaling:us-­‐east-­‐1:838846897022:scalingPolicy:4b514a9a-­‐
e89c-­‐4a65-­‐a288-­‐98ad7accbdec:autoScalingGroupName/bdatum-­‐scaling:policyName/
scale-­‐dn

Friday, November 29, 13
#	
  mon-­‐put-­‐metric-­‐alarm	
  -­‐-­‐alarm-­‐name	
  sample-­‐scale-­‐up	
  
	
   -­‐-­‐alarm-­‐description	
  "Scale	
  up	
  at	
  80%	
  load"	
  
	
   -­‐-­‐metric-­‐name	
  CPUUtilization	
  -­‐-­‐namespace	
  AWS/EC2	
  
	
   -­‐-­‐statistic	
  Average	
  -­‐-­‐period	
  60	
  -­‐-­‐threshold	
  80	
  
	
   -­‐-­‐comparison-­‐operator	
  GreaterThanThreshold	
  
	
   -­‐-­‐dimensions	
  InstanceId=i-­‐37b12752	
  -­‐-­‐evaluation-­‐periods	
  3	
  
	
   -­‐-­‐unit	
  Percent	
  -­‐-­‐alarm-­‐actions
OK-­‐Created	
  Alarm

Friday, November 29, 13
#	
  mon-­‐put-­‐metric-­‐alarm	
  -­‐-­‐alarm-­‐name	
  sample-­‐scale-­‐dn	
  
	
   -­‐-­‐alarm-­‐description	
  "Scale	
  down	
  at	
  20%	
  load"	
  
	
   -­‐-­‐metric-­‐name	
  CPUUtilization	
  -­‐-­‐namespace	
  AWS/EC2	
  
	
   -­‐-­‐statistic	
  Average	
  -­‐-­‐period	
  60	
  -­‐-­‐threshold	
  20	
  
	
   -­‐-­‐comparison-­‐operator	
  LessThanThreshold	
  
	
   -­‐-­‐dimensions	
  InstanceId=i-­‐37b12752	
  -­‐-­‐evaluation-­‐periods	
  3	
  
	
   -­‐-­‐unit	
  Percent	
  -­‐-­‐alarm-­‐actions
OK-­‐Created	
  Alarm

Friday, November 29, 13
#	
  as-­‐describe-­‐scaling-­‐activities
ACTIVITY	
  	
  1a823de6-­‐e5a8-­‐4a6c-­‐b8a2-­‐1abf4eb03f97	
  	
  2013-­‐11-­‐25T18:08:28Z	
  	
  
bdatum-­‐scaling	
  	
  Failed	
  	
  Cannot	
  find	
  Load	
  Balancer	
  bdatum-­‐elb.	
  Validating	
  
load	
  balancer	
  configuration	
  failed.

Friday, November 29, 13
Friday, November 29, 13
#	
  as-­‐describe-­‐scaling-­‐activities
ACTIVITY	
  	
  949ac330-­‐17d3-­‐4ec5-­‐b98b-­‐810faf4b6067	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  
bdatum-­‐scaling	
  	
  PreInService
ACTIVITY	
  	
  ff225cbe-­‐38e8-­‐43f7-­‐bb4a-­‐d2a350472776	
  	
  2013-­‐11-­‐25T18:17:02Z	
  	
  
bdatum-­‐scaling	
  	
  Successful

Friday, November 29, 13
Friday, November 29, 13
#	
  shutdown
#	
  siege	
  -­‐c25	
  -­‐t10M	
  host

Friday, November 29, 13
Friday, November 29, 13
Friday, November 29, 13
#	
  as-­‐describe-­‐auto-­‐scaling-­‐groups	
  bdatum-­‐scaling
AUTO-­‐SCALING-­‐GROUP	
  	
  bdatum-­‐scaling	
  	
  bdatum-­‐config	
  	
  us-­‐east-­‐1d	
  	
  bdatum-­‐elb	
  	
  
2	
  	
  10	
  	
  2	
  	
  Default
INSTANCE	
  	
  i-­‐2cba484a	
  	
  us-­‐east-­‐1d	
  	
  InService	
  	
  Healthy	
  	
  bdatum-­‐config
INSTANCE	
  	
  i-­‐2934164c	
  	
  us-­‐east-­‐1d	
  	
  InService	
  	
  Healthy	
  	
  bdatum-­‐config
#	
  as-­‐delete-­‐auto-­‐scaling-­‐group	
  bdatum-­‐scaling	
  -­‐-­‐force-­‐delete
	
  	
  	
  	
  Are	
  you	
  sure	
  you	
  want	
  to	
  delete	
  this	
  AutoScalingGroup?	
  [Ny]y
OK-­‐Deleted	
  AutoScalingGroup

Friday, November 29, 13
#	
  as-­‐describe-­‐launch-­‐configs
LAUNCH-­‐CONFIG	
  	
  bdatum-­‐config	
  	
  ami-­‐43e0c12a	
  	
  t1.micro
#	
  as-­‐delete-­‐launch-­‐config	
  bdatum-­‐config
	
  	
  	
  	
  Are	
  you	
  sure	
  you	
  want	
  to	
  delete	
  this	
  launch	
  configuration?	
  [Ny]y
OK-­‐Deleted	
  launch	
  configuration

Friday, November 29, 13
Disclaimer
AWS cobra por hora.

Friday, November 29, 13
Disclaimer

Faça corretamente
a desinstalação !
as-delete-auto-scaling-group <group> --force-delete
as-delete-launch-config <group>

Friday, November 29, 13
Disclaimer

•
•

•
•
•

Friday, November 29, 13

Neste exemplo a regra define uma condição particular de no mínimo 2 minutos.
CloudWatch é um conjunto de coleções de dados que monitora as estatisticas como
por exemplo a utilização de CPU. É um conjunto de protocolos, e em geral leva cerca
de 60 segundos para agregar todas as informações.
Autoscaling também leva outros 60 segundos.
Então temos o tempo de boot do servidor. Um servidor grande e complexo pode levar
alguns minutos para iniciar.
Finalmente, o load balancer precisa monitorar esse servidor por algum tempo antes que
ele se sinta confortável e seguro para direcionar os requests para a nova instancia.

More Related Content

What's hot

AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013
AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013
AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013Amazon Web Services
 
Optimizing CakePHP 2.x Apps
Optimizing CakePHP 2.x AppsOptimizing CakePHP 2.x Apps
Optimizing CakePHP 2.x AppsJuan Basso
 
Introduction to Amazon EC2 Spot Instances
Introduction to Amazon EC2 Spot InstancesIntroduction to Amazon EC2 Spot Instances
Introduction to Amazon EC2 Spot InstancesAmazon Web Services
 
AWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkAWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkKMS Technology
 
AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings Adam Book
 
Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)Julien SIMON
 
Announcing Blox - Open Source Projects for Customizing Scheduling on Amazon ECS
Announcing Blox - Open Source Projects for Customizing Scheduling on Amazon ECSAnnouncing Blox - Open Source Projects for Customizing Scheduling on Amazon ECS
Announcing Blox - Open Source Projects for Customizing Scheduling on Amazon ECSAmazon Web Services
 
Introducing AWS Elastic Beanstalk
Introducing AWS Elastic BeanstalkIntroducing AWS Elastic Beanstalk
Introducing AWS Elastic BeanstalkAmazon Web Services
 
Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)Julien SIMON
 
AWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 MasterclassAWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 MasterclassAmazon Web Services
 
Scale new business peaks with Amazon auto scaling
Scale new business peaks with Amazon auto scalingScale new business peaks with Amazon auto scaling
Scale new business peaks with Amazon auto scalingHarish Ganesan
 
Deep Dive: Amazon Redshift (March 2017)
Deep Dive: Amazon Redshift (March 2017)Deep Dive: Amazon Redshift (March 2017)
Deep Dive: Amazon Redshift (March 2017)Julien SIMON
 
Announcing AWS Step Functions - December 2016 Monthly Webinar Series
Announcing AWS Step Functions - December 2016 Monthly Webinar SeriesAnnouncing AWS Step Functions - December 2016 Monthly Webinar Series
Announcing AWS Step Functions - December 2016 Monthly Webinar SeriesAmazon Web Services
 
(CMP311) This One Weird API Request Will Save You Thousands
(CMP311) This One Weird API Request Will Save You Thousands(CMP311) This One Weird API Request Will Save You Thousands
(CMP311) This One Weird API Request Will Save You ThousandsAmazon Web Services
 
Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)Julien SIMON
 

What's hot (20)

AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013
AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013
AWS OpsWorks Under the Hood (DMG304) | AWS re:Invent 2013
 
Optimizing CakePHP 2.x Apps
Optimizing CakePHP 2.x AppsOptimizing CakePHP 2.x Apps
Optimizing CakePHP 2.x Apps
 
Introduction to Amazon EC2 Spot Instances
Introduction to Amazon EC2 Spot InstancesIntroduction to Amazon EC2 Spot Instances
Introduction to Amazon EC2 Spot Instances
 
AWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkAWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic Beanstalk
 
AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings AWS CloudFormation Intrinsic Functions and Mappings
AWS CloudFormation Intrinsic Functions and Mappings
 
Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)
 
Auto Scaling with Amazon Web Services
Auto Scaling with Amazon Web ServicesAuto Scaling with Amazon Web Services
Auto Scaling with Amazon Web Services
 
Announcing Blox - Open Source Projects for Customizing Scheduling on Amazon ECS
Announcing Blox - Open Source Projects for Customizing Scheduling on Amazon ECSAnnouncing Blox - Open Source Projects for Customizing Scheduling on Amazon ECS
Announcing Blox - Open Source Projects for Customizing Scheduling on Amazon ECS
 
Deep Dive on AWS IoT
Deep Dive on AWS IoTDeep Dive on AWS IoT
Deep Dive on AWS IoT
 
Introducing AWS Elastic Beanstalk
Introducing AWS Elastic BeanstalkIntroducing AWS Elastic Beanstalk
Introducing AWS Elastic Beanstalk
 
Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)Amazon EC2 Systems Manager (March 2017)
Amazon EC2 Systems Manager (March 2017)
 
AWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 MasterclassAWS Webcast - Amazon EC2 Masterclass
AWS Webcast - Amazon EC2 Masterclass
 
Scale new business peaks with Amazon auto scaling
Scale new business peaks with Amazon auto scalingScale new business peaks with Amazon auto scaling
Scale new business peaks with Amazon auto scaling
 
CloudFormation Best Practices
CloudFormation Best PracticesCloudFormation Best Practices
CloudFormation Best Practices
 
Deep Dive: Amazon Redshift (March 2017)
Deep Dive: Amazon Redshift (March 2017)Deep Dive: Amazon Redshift (March 2017)
Deep Dive: Amazon Redshift (March 2017)
 
Alert Logic
Alert LogicAlert Logic
Alert Logic
 
Announcing AWS Step Functions - December 2016 Monthly Webinar Series
Announcing AWS Step Functions - December 2016 Monthly Webinar SeriesAnnouncing AWS Step Functions - December 2016 Monthly Webinar Series
Announcing AWS Step Functions - December 2016 Monthly Webinar Series
 
(CMP311) This One Weird API Request Will Save You Thousands
(CMP311) This One Weird API Request Will Save You Thousands(CMP311) This One Weird API Request Will Save You Thousands
(CMP311) This One Weird API Request Will Save You Thousands
 
Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)Advanced Task Scheduling with Amazon ECS (June 2017)
Advanced Task Scheduling with Amazon ECS (June 2017)
 
Handson Lab Log Analytics
Handson Lab Log AnalyticsHandson Lab Log Analytics
Handson Lab Log Analytics
 

Viewers also liked

Meetup #4: AWS ELB Deep dive & Best practices
Meetup #4: AWS ELB Deep dive & Best practicesMeetup #4: AWS ELB Deep dive & Best practices
Meetup #4: AWS ELB Deep dive & Best practicesAWS Vietnam Community
 
Scaling AWS With Scalr
Scaling AWS With ScalrScaling AWS With Scalr
Scaling AWS With ScalrRam Viswanadha
 
Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )Harish Ganesan
 
AWS Black Belt Online Seminar 2017 Auto Scaling
AWS Black Belt Online Seminar 2017 Auto ScalingAWS Black Belt Online Seminar 2017 Auto Scaling
AWS Black Belt Online Seminar 2017 Auto ScalingAmazon Web Services Japan
 

Viewers also liked (6)

[Mar AWS 201] Auto Scaling Demo
[Mar AWS 201] Auto Scaling Demo[Mar AWS 201] Auto Scaling Demo
[Mar AWS 201] Auto Scaling Demo
 
Meetup #4: AWS ELB Deep dive & Best practices
Meetup #4: AWS ELB Deep dive & Best practicesMeetup #4: AWS ELB Deep dive & Best practices
Meetup #4: AWS ELB Deep dive & Best practices
 
Scaling AWS With Scalr
Scaling AWS With ScalrScaling AWS With Scalr
Scaling AWS With Scalr
 
Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )
 
Aws Autoscaling
Aws AutoscalingAws Autoscaling
Aws Autoscaling
 
AWS Black Belt Online Seminar 2017 Auto Scaling
AWS Black Belt Online Seminar 2017 Auto ScalingAWS Black Belt Online Seminar 2017 Auto Scaling
AWS Black Belt Online Seminar 2017 Auto Scaling
 

Similar to Auto Scaling AWS

Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia
Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia
Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia Amazon Web Services
 
Automate sap security user audit
Automate sap security user auditAutomate sap security user audit
Automate sap security user auditSatyajit Deb
 
AutoScaling and Drupal
AutoScaling and DrupalAutoScaling and Drupal
AutoScaling and DrupalPromet Source
 
Redo logfile addition in oracle rac 12c
Redo logfile addition in oracle rac 12cRedo logfile addition in oracle rac 12c
Redo logfile addition in oracle rac 12cDebasish Nayak
 
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Alex Gorbachev
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoPostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoMark Wong
 
Meeting the challenges of OLTP Big Data with Scylla
Meeting the challenges of OLTP Big Data with ScyllaMeeting the challenges of OLTP Big Data with Scylla
Meeting the challenges of OLTP Big Data with ScyllaScyllaDB
 
How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7VCP Muthukrishna
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infosapdocs. info
 
SiteGround Tech TeamBuilding
SiteGround Tech TeamBuildingSiteGround Tech TeamBuilding
SiteGround Tech TeamBuildingMarian Marinov
 
Benchmark Profile and Boost your Symfony application
Benchmark Profile and Boost your Symfony applicationBenchmark Profile and Boost your Symfony application
Benchmark Profile and Boost your Symfony applicationGiulio De Donato
 
Drizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationDrizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationAndrew Hutchings
 
Curscatalyst
CurscatalystCurscatalyst
CurscatalystKar Juan
 
Perl web frameworks
Perl web frameworksPerl web frameworks
Perl web frameworksdiego_k
 
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Tenchi Security
 
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Alexandre Sieira
 
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(下)JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(下)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)Simon Su
 
Dynamics ax performance tuning
Dynamics ax performance tuningDynamics ax performance tuning
Dynamics ax performance tuningOutsourceAX
 
SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)Robert Swisher
 

Similar to Auto Scaling AWS (20)

Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia
Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia
Black Belt Dojo - Daniel Hand - AWS Summit 2012 Australia
 
Automate sap security user audit
Automate sap security user auditAutomate sap security user audit
Automate sap security user audit
 
AutoScaling and Drupal
AutoScaling and DrupalAutoScaling and Drupal
AutoScaling and Drupal
 
Deploy in the Cloud
Deploy in the CloudDeploy in the Cloud
Deploy in the Cloud
 
Redo logfile addition in oracle rac 12c
Redo logfile addition in oracle rac 12cRedo logfile addition in oracle rac 12c
Redo logfile addition in oracle rac 12c
 
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
Oracle 11g New Features Out-of-the-Box by Alex Gorbachev (from Sydney Oracle ...
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoPostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 Howto
 
Meeting the challenges of OLTP Big Data with Scylla
Meeting the challenges of OLTP Big Data with ScyllaMeeting the challenges of OLTP Big Data with Scylla
Meeting the challenges of OLTP Big Data with Scylla
 
How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7How to Install Configure and Use sysstat utils on RHEL 7
How to Install Configure and Use sysstat utils on RHEL 7
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
 
SiteGround Tech TeamBuilding
SiteGround Tech TeamBuildingSiteGround Tech TeamBuilding
SiteGround Tech TeamBuilding
 
Benchmark Profile and Boost your Symfony application
Benchmark Profile and Boost your Symfony applicationBenchmark Profile and Boost your Symfony application
Benchmark Profile and Boost your Symfony application
 
Drizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationDrizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free Migration
 
Curscatalyst
CurscatalystCurscatalyst
Curscatalyst
 
Perl web frameworks
Perl web frameworksPerl web frameworks
Perl web frameworks
 
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
 
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
Shopping for Vulnerabilities - How Cloud Service Provider Marketplaces can He...
 
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(下)JCConf 2015  - 輕鬆學google的雲端開發 - Google App Engine入門(下)
JCConf 2015 - 輕鬆學google的雲端開發 - Google App Engine入門(下)
 
Dynamics ax performance tuning
Dynamics ax performance tuningDynamics ax performance tuning
Dynamics ax performance tuning
 
SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)
 

More from Thiago Rondon

AppCívico - Tecnologias cívicas estão impactando políticas públicas
AppCívico - Tecnologias cívicas estão impactando políticas públicasAppCívico - Tecnologias cívicas estão impactando políticas públicas
AppCívico - Tecnologias cívicas estão impactando políticas públicasThiago Rondon
 
Democracia nas eleições
Democracia nas eleiçõesDemocracia nas eleições
Democracia nas eleiçõesThiago Rondon
 
IOTA - Open Indicators of Transparency and Accountability
IOTA - Open Indicators of Transparency and AccountabilityIOTA - Open Indicators of Transparency and Accountability
IOTA - Open Indicators of Transparency and AccountabilityThiago Rondon
 
Dados abertos é inovação
Dados abertos é inovaçãoDados abertos é inovação
Dados abertos é inovaçãoThiago Rondon
 
YAPC::2014 Accountability
YAPC::2014 AccountabilityYAPC::2014 Accountability
YAPC::2014 AccountabilityThiago Rondon
 
Provisionamento orquestrado nas nuvens com Juju
Provisionamento orquestrado nas nuvens com JujuProvisionamento orquestrado nas nuvens com Juju
Provisionamento orquestrado nas nuvens com JujuThiago Rondon
 
introducción a la Red Latinoamericana
introducción a la Red Latinoamericanaintroducción a la Red Latinoamericana
introducción a la Red LatinoamericanaThiago Rondon
 
TDC 2012 - You, Me and Opendata
TDC 2012 - You, Me and Opendata TDC 2012 - You, Me and Opendata
TDC 2012 - You, Me and Opendata Thiago Rondon
 
You, me and Opendata - v2
You, me and Opendata - v2You, me and Opendata - v2
You, me and Opendata - v2Thiago Rondon
 
OGP: You, Me and Opendata
OGP: You, Me and OpendataOGP: You, Me and Opendata
OGP: You, Me and OpendataThiago Rondon
 
Statim, time series interface for Perl.
Statim, time series interface for Perl.Statim, time series interface for Perl.
Statim, time series interface for Perl.Thiago Rondon
 
Opendata - Não posso fazer tijolos sem barro !
Opendata - Não posso fazer tijolos sem barro !Opendata - Não posso fazer tijolos sem barro !
Opendata - Não posso fazer tijolos sem barro !Thiago Rondon
 
Dados abertos do wikipedia ao governo
Dados abertos do wikipedia ao governoDados abertos do wikipedia ao governo
Dados abertos do wikipedia ao governoThiago Rondon
 
Para onde foi o meu dinheiro ?
Para onde foi o meu dinheiro ?Para onde foi o meu dinheiro ?
Para onde foi o meu dinheiro ?Thiago Rondon
 
Datos abiertos, Gobierno y la sociedad en conjunto.
Datos abiertos, Gobierno y la sociedad en conjunto.Datos abiertos, Gobierno y la sociedad en conjunto.
Datos abiertos, Gobierno y la sociedad en conjunto.Thiago Rondon
 
OpenData-BR, [Captando] Dados públicos brasileiros
OpenData-BR, [Captando] Dados públicos brasileirosOpenData-BR, [Captando] Dados públicos brasileiros
OpenData-BR, [Captando] Dados públicos brasileirosThiago Rondon
 

More from Thiago Rondon (20)

AppCívico - Tecnologias cívicas estão impactando políticas públicas
AppCívico - Tecnologias cívicas estão impactando políticas públicasAppCívico - Tecnologias cívicas estão impactando políticas públicas
AppCívico - Tecnologias cívicas estão impactando políticas públicas
 
Democracia nas eleições
Democracia nas eleiçõesDemocracia nas eleições
Democracia nas eleições
 
IOTA - Open Indicators of Transparency and Accountability
IOTA - Open Indicators of Transparency and AccountabilityIOTA - Open Indicators of Transparency and Accountability
IOTA - Open Indicators of Transparency and Accountability
 
Dados abertos é inovação
Dados abertos é inovaçãoDados abertos é inovação
Dados abertos é inovação
 
YAPC::2014 Accountability
YAPC::2014 AccountabilityYAPC::2014 Accountability
YAPC::2014 Accountability
 
IOTA
IOTAIOTA
IOTA
 
Docker
DockerDocker
Docker
 
Provisionamento orquestrado nas nuvens com Juju
Provisionamento orquestrado nas nuvens com JujuProvisionamento orquestrado nas nuvens com Juju
Provisionamento orquestrado nas nuvens com Juju
 
introducción a la Red Latinoamericana
introducción a la Red Latinoamericanaintroducción a la Red Latinoamericana
introducción a la Red Latinoamericana
 
Iota
IotaIota
Iota
 
TDC 2012 - You, Me and Opendata
TDC 2012 - You, Me and Opendata TDC 2012 - You, Me and Opendata
TDC 2012 - You, Me and Opendata
 
You, me and Opendata - v2
You, me and Opendata - v2You, me and Opendata - v2
You, me and Opendata - v2
 
OGP: You, Me and Opendata
OGP: You, Me and OpendataOGP: You, Me and Opendata
OGP: You, Me and Opendata
 
Onde Acontece ?
Onde Acontece ?Onde Acontece ?
Onde Acontece ?
 
Statim, time series interface for Perl.
Statim, time series interface for Perl.Statim, time series interface for Perl.
Statim, time series interface for Perl.
 
Opendata - Não posso fazer tijolos sem barro !
Opendata - Não posso fazer tijolos sem barro !Opendata - Não posso fazer tijolos sem barro !
Opendata - Não posso fazer tijolos sem barro !
 
Dados abertos do wikipedia ao governo
Dados abertos do wikipedia ao governoDados abertos do wikipedia ao governo
Dados abertos do wikipedia ao governo
 
Para onde foi o meu dinheiro ?
Para onde foi o meu dinheiro ?Para onde foi o meu dinheiro ?
Para onde foi o meu dinheiro ?
 
Datos abiertos, Gobierno y la sociedad en conjunto.
Datos abiertos, Gobierno y la sociedad en conjunto.Datos abiertos, Gobierno y la sociedad en conjunto.
Datos abiertos, Gobierno y la sociedad en conjunto.
 
OpenData-BR, [Captando] Dados públicos brasileiros
OpenData-BR, [Captando] Dados públicos brasileirosOpenData-BR, [Captando] Dados públicos brasileiros
OpenData-BR, [Captando] Dados públicos brasileiros
 

Recently uploaded

PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServiceRenan Moreira de Oliveira
 
5 Considerations For Choosing The Best Gutter Guards
5 Considerations For Choosing The Best Gutter Guards5 Considerations For Choosing The Best Gutter Guards
5 Considerations For Choosing The Best Gutter GuardsCPR Gutter Protection
 
What Developers Need to Unlearn for High Performance NoSQL
What Developers Need to Unlearn for High Performance NoSQLWhat Developers Need to Unlearn for High Performance NoSQL
What Developers Need to Unlearn for High Performance NoSQLScyllaDB
 
CHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshopCHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshopObject Automation
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?SANGHEE SHIN
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxUdaiappa Ramachandran
 
LLM Threats: Prompt Injections and Jailbreak Attacks
LLM Threats: Prompt Injections and Jailbreak AttacksLLM Threats: Prompt Injections and Jailbreak Attacks
LLM Threats: Prompt Injections and Jailbreak AttacksThien Q. Tran
 
20200723_insight_release_plan
20200723_insight_release_plan20200723_insight_release_plan
20200723_insight_release_planJamie (Taka) Wang
 
COMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptx
COMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptxCOMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptx
COMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptxabalosyvonne42
 
Reference Domain Ontologies and Large Medical Language Models.pptx
Reference Domain Ontologies and Large Medical Language Models.pptxReference Domain Ontologies and Large Medical Language Models.pptx
Reference Domain Ontologies and Large Medical Language Models.pptxChimezie Ogbuji
 
Babel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptxBabel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptxYounusS2
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.francesco barbera
 
Elevate Your Business with TECUNIQUE's Tailored Solutions
Elevate Your Business with TECUNIQUE's Tailored SolutionsElevate Your Business with TECUNIQUE's Tailored Solutions
Elevate Your Business with TECUNIQUE's Tailored SolutionsJaydeep Chhasatia
 
Future Research Directions for Augmented Reality
Future Research Directions for Augmented RealityFuture Research Directions for Augmented Reality
Future Research Directions for Augmented RealityMark Billinghurst
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
Introducing Milvus and new features in 2.4 release
Introducing Milvus and new features in 2.4 releaseIntroducing Milvus and new features in 2.4 release
Introducing Milvus and new features in 2.4 releaseZilliz
 
Dragino Technology LoRaWANデバイス、ゲートウェイ ユースケース
Dragino Technology   LoRaWANデバイス、ゲートウェイ ユースケースDragino Technology   LoRaWANデバイス、ゲートウェイ ユースケース
Dragino Technology LoRaWANデバイス、ゲートウェイ ユースケースCRI Japan, Inc.
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataSafe Software
 

Recently uploaded (20)

PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
 
5 Considerations For Choosing The Best Gutter Guards
5 Considerations For Choosing The Best Gutter Guards5 Considerations For Choosing The Best Gutter Guards
5 Considerations For Choosing The Best Gutter Guards
 
What Developers Need to Unlearn for High Performance NoSQL
What Developers Need to Unlearn for High Performance NoSQLWhat Developers Need to Unlearn for High Performance NoSQL
What Developers Need to Unlearn for High Performance NoSQL
 
CHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshopCHIPS Alliance_Object Automation Inc_workshop
CHIPS Alliance_Object Automation Inc_workshop
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
 
LLM Threats: Prompt Injections and Jailbreak Attacks
LLM Threats: Prompt Injections and Jailbreak AttacksLLM Threats: Prompt Injections and Jailbreak Attacks
LLM Threats: Prompt Injections and Jailbreak Attacks
 
20200723_insight_release_plan
20200723_insight_release_plan20200723_insight_release_plan
20200723_insight_release_plan
 
COMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptx
COMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptxCOMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptx
COMPUTER_GROUP 7_10 ST. JOHN VIANNEY.pptx
 
Reference Domain Ontologies and Large Medical Language Models.pptx
Reference Domain Ontologies and Large Medical Language Models.pptxReference Domain Ontologies and Large Medical Language Models.pptx
Reference Domain Ontologies and Large Medical Language Models.pptx
 
Babel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptxBabel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptx
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.
 
Elevate Your Business with TECUNIQUE's Tailored Solutions
Elevate Your Business with TECUNIQUE's Tailored SolutionsElevate Your Business with TECUNIQUE's Tailored Solutions
Elevate Your Business with TECUNIQUE's Tailored Solutions
 
Future Research Directions for Augmented Reality
Future Research Directions for Augmented RealityFuture Research Directions for Augmented Reality
Future Research Directions for Augmented Reality
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
Introducing Milvus and new features in 2.4 release
Introducing Milvus and new features in 2.4 releaseIntroducing Milvus and new features in 2.4 release
Introducing Milvus and new features in 2.4 release
 
Dragino Technology LoRaWANデバイス、ゲートウェイ ユースケース
Dragino Technology   LoRaWANデバイス、ゲートウェイ ユースケースDragino Technology   LoRaWANデバイス、ゲートウェイ ユースケース
Dragino Technology LoRaWANデバイス、ゲートウェイ ユースケース
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 

Auto Scaling AWS

  • 1. Auto-Scaling no AWS Thiago Rondon, thiago@b-datum.com Encontro Técnico b-datum.com Friday, November 29, 13
  • 2. termostato “manter constante a temperatura de um determinado ambiente” Friday, November 29, 13
  • 4. ELB Friday, November 29, 13 round-robin Elastic Load Balacing sticky sessions *default disable múltiplas regiões saúde do EC2
  • 6. Amazon Machine Image EC2 & AMI Elastic Compute Cloud Friday, November 29, 13
  • 8. $  aws  configure X vim  secrets.txt AWSAccessKeyId=0000000 AWSSecretKey=222222+33333333 export  AWS_CREDENTIAL_FILE=secrets.txt Friday, November 29, 13
  • 10. #  as-­‐ as-­‐cmd                                                                              as-­‐describe-­‐auto-­‐scaling-­‐instances                      as-­‐enable-­‐metrics-­‐collection as-­‐create-­‐auto-­‐scaling-­‐group                                  as-­‐describe-­‐auto-­‐scaling-­‐notification-­‐types    as-­‐execute-­‐policy as-­‐create-­‐launch-­‐config                                            as-­‐describe-­‐launch-­‐configs                                      as-­‐put-­‐notification-­‐configuration as-­‐create-­‐or-­‐update-­‐tags                                          as-­‐describe-­‐metric-­‐collection-­‐types                    as-­‐put-­‐scaling-­‐policy as-­‐delete-­‐auto-­‐scaling-­‐group                                  as-­‐describe-­‐notification-­‐configurations            as-­‐put-­‐scheduled-­‐update-­‐group-­‐action as-­‐delete-­‐launch-­‐config                                            as-­‐describe-­‐policies                                                  as-­‐resume-­‐processes as-­‐delete-­‐notification-­‐configuration                  as-­‐describe-­‐process-­‐types                                        as-­‐set-­‐desired-­‐capacity as-­‐delete-­‐policy                                                          as-­‐describe-­‐scaling-­‐activities                              as-­‐set-­‐instance-­‐health as-­‐delete-­‐scheduled-­‐action                                      as-­‐describe-­‐scheduled-­‐actions                                as-­‐suspend-­‐processes as-­‐delete-­‐tags                                                              as-­‐describe-­‐tags                                                          as-­‐terminate-­‐instance-­‐in-­‐auto-­‐scaling-­‐ group as-­‐describe-­‐adjustment-­‐types                                  as-­‐describe-­‐termination-­‐policy-­‐types                  as-­‐update-­‐auto-­‐scaling-­‐group as-­‐describe-­‐auto-­‐scaling-­‐groups                            as-­‐disable-­‐metrics-­‐collection                                as-­‐version Friday, November 29, 13
  • 11. #  as-­‐create-­‐launch-­‐config  -­‐-­‐image-­‐id  ami-­‐43e0c12a     -­‐-­‐instance-­‐type  t1.micro  -­‐-­‐key  "thiago-­‐teste"     -­‐-­‐group  "default"  -­‐-­‐launch-­‐config  bdatum-­‐config OK-­‐Created  launch  config Friday, November 29, 13
  • 13. #  as-­‐create-­‐auto-­‐scaling-­‐group  bdatum-­‐scaling     -­‐-­‐launch-­‐configuration  bdatum-­‐config     -­‐-­‐availability-­‐zones  us-­‐east-­‐1d  -­‐-­‐min-­‐size  2     -­‐-­‐max-­‐size  10  -­‐-­‐load-­‐balancers  bdatum-­‐elb     -­‐-­‐health-­‐check-­‐type  ELB  -­‐-­‐grace-­‐period  300 OK-­‐Created  AutoScalingGroup Friday, November 29, 13
  • 14. #  as-­‐put-­‐scaling-­‐policy     -­‐-­‐auto-­‐scaling-­‐group  bdatum-­‐scaling     -­‐-­‐name  scale-­‐up  -­‐-­‐adjustment  1     -­‐-­‐type  ChangeInCapacity  -­‐-­‐cooldown  300 arn:aws:autoscaling:us-­‐ east-­‐1:838846897022:scalingPolicy:c1016b4a-­‐8e2d-­‐43b5-­‐aa0c-­‐ fdc701ffd362:autoScalingGroupName/bdatum-­‐scaling:policyName/scale-­‐up Friday, November 29, 13
  • 15. #  as-­‐put-­‐scaling-­‐policy     -­‐-­‐auto-­‐scaling-­‐group  bdatum-­‐scaling     -­‐-­‐name  scale-­‐dn  "-­‐-­‐adjustment=-­‐1"     -­‐-­‐type  ChangeInCapacity  -­‐-­‐cooldown  300 arn:aws:autoscaling:us-­‐east-­‐1:838846897022:scalingPolicy:4b514a9a-­‐ e89c-­‐4a65-­‐a288-­‐98ad7accbdec:autoScalingGroupName/bdatum-­‐scaling:policyName/ scale-­‐dn Friday, November 29, 13
  • 16. #  mon-­‐put-­‐metric-­‐alarm  -­‐-­‐alarm-­‐name  sample-­‐scale-­‐up     -­‐-­‐alarm-­‐description  "Scale  up  at  80%  load"     -­‐-­‐metric-­‐name  CPUUtilization  -­‐-­‐namespace  AWS/EC2     -­‐-­‐statistic  Average  -­‐-­‐period  60  -­‐-­‐threshold  80     -­‐-­‐comparison-­‐operator  GreaterThanThreshold     -­‐-­‐dimensions  InstanceId=i-­‐37b12752  -­‐-­‐evaluation-­‐periods  3     -­‐-­‐unit  Percent  -­‐-­‐alarm-­‐actions OK-­‐Created  Alarm Friday, November 29, 13
  • 17. #  mon-­‐put-­‐metric-­‐alarm  -­‐-­‐alarm-­‐name  sample-­‐scale-­‐dn     -­‐-­‐alarm-­‐description  "Scale  down  at  20%  load"     -­‐-­‐metric-­‐name  CPUUtilization  -­‐-­‐namespace  AWS/EC2     -­‐-­‐statistic  Average  -­‐-­‐period  60  -­‐-­‐threshold  20     -­‐-­‐comparison-­‐operator  LessThanThreshold     -­‐-­‐dimensions  InstanceId=i-­‐37b12752  -­‐-­‐evaluation-­‐periods  3     -­‐-­‐unit  Percent  -­‐-­‐alarm-­‐actions OK-­‐Created  Alarm Friday, November 29, 13
  • 18. #  as-­‐describe-­‐scaling-­‐activities ACTIVITY    1a823de6-­‐e5a8-­‐4a6c-­‐b8a2-­‐1abf4eb03f97    2013-­‐11-­‐25T18:08:28Z     bdatum-­‐scaling    Failed    Cannot  find  Load  Balancer  bdatum-­‐elb.  Validating   load  balancer  configuration  failed. Friday, November 29, 13
  • 20. #  as-­‐describe-­‐scaling-­‐activities ACTIVITY    949ac330-­‐17d3-­‐4ec5-­‐b98b-­‐810faf4b6067                                                 bdatum-­‐scaling    PreInService ACTIVITY    ff225cbe-­‐38e8-­‐43f7-­‐bb4a-­‐d2a350472776    2013-­‐11-­‐25T18:17:02Z     bdatum-­‐scaling    Successful Friday, November 29, 13
  • 22. #  shutdown #  siege  -­‐c25  -­‐t10M  host Friday, November 29, 13
  • 25. #  as-­‐describe-­‐auto-­‐scaling-­‐groups  bdatum-­‐scaling AUTO-­‐SCALING-­‐GROUP    bdatum-­‐scaling    bdatum-­‐config    us-­‐east-­‐1d    bdatum-­‐elb     2    10    2    Default INSTANCE    i-­‐2cba484a    us-­‐east-­‐1d    InService    Healthy    bdatum-­‐config INSTANCE    i-­‐2934164c    us-­‐east-­‐1d    InService    Healthy    bdatum-­‐config #  as-­‐delete-­‐auto-­‐scaling-­‐group  bdatum-­‐scaling  -­‐-­‐force-­‐delete        Are  you  sure  you  want  to  delete  this  AutoScalingGroup?  [Ny]y OK-­‐Deleted  AutoScalingGroup Friday, November 29, 13
  • 26. #  as-­‐describe-­‐launch-­‐configs LAUNCH-­‐CONFIG    bdatum-­‐config    ami-­‐43e0c12a    t1.micro #  as-­‐delete-­‐launch-­‐config  bdatum-­‐config        Are  you  sure  you  want  to  delete  this  launch  configuration?  [Ny]y OK-­‐Deleted  launch  configuration Friday, November 29, 13
  • 27. Disclaimer AWS cobra por hora. Friday, November 29, 13
  • 28. Disclaimer Faça corretamente a desinstalação ! as-delete-auto-scaling-group <group> --force-delete as-delete-launch-config <group> Friday, November 29, 13
  • 29. Disclaimer • • • • • Friday, November 29, 13 Neste exemplo a regra define uma condição particular de no mínimo 2 minutos. CloudWatch é um conjunto de coleções de dados que monitora as estatisticas como por exemplo a utilização de CPU. É um conjunto de protocolos, e em geral leva cerca de 60 segundos para agregar todas as informações. Autoscaling também leva outros 60 segundos. Então temos o tempo de boot do servidor. Um servidor grande e complexo pode levar alguns minutos para iniciar. Finalmente, o load balancer precisa monitorar esse servidor por algum tempo antes que ele se sinta confortável e seguro para direcionar os requests para a nova instancia.