SlideShare a Scribd company logo
Auto Scaling Guided by
        Code


          Pablo Cantero
         @pablocantero
     http://pablocantero.com
                               19/09/2012
Cloud Computing


•   Pay-as-you-go

•   Scale Resources up or down based on demand
    (Elastic Architecture)




                                        http://aws.amazon.com/
Auto Scaling steps
Instance provisioning

•   Manually

    •   Image (preconfigured)

•   Automated

    •   Chef

    •   Puppet

    •   CloudFormation

                                http://aws.amazon.com/
Create a launch configuration. The launch
   configuration are parameters to launch
instances, such as image (AMI), instance type,
    security group, key pair and user data.
Create an auto scaling group. The auto scaling
  group defines the auto scaling conditions,
minimum and maximum number of instances,
 available zones, default cool down and load
               balancer (ELB).
Create a scaling policy. The scaling policy
defines how the auto scaling should scale up or
 down, if it is by size or percent and the cool
                       down.
Create an alarm metric. The alarm metric is the
   metric used to decide when to increase or
decrease the instances. Usually by response time.
   The metrics are provided by CloudWatch.
Alarm metrics
Create an alarm request. It is the last step to
   setup the Auto Scaling. The alarm request
defines how to measure the metrics defined by
  the alarm metric, for example the time and
         period to evaluate the metric.
Talk is cheap. Show me
        the code.
Some advices
Don’t name your
          instances

You should change your instances as you change your underwear.
                         Lucas Teixeira
Don’t forget to remove
       your tests
Use Auto Scaling, avoid
     Cloud Smells

http://pablocantero.com/blog/
2012/09/07/use-auto-scaling-
      avoid-cloud-smells/
Thank you

     Pablo Cantero
    @pablocantero
http://pablocantero.com

More Related Content

PDF
How Does Amazon EC2 Auto Scaling Work
PPTX
Aws Autoscaling
PPT
Auto Scaling on AWS
PPTX
(AWS) Auto Scaling : Evening Session by Amazon and IntelliGrape Software
PPTX
AWS - Autoscaling Fundamentals
PDF
Auto scaling using Amazon Web Services ( AWS )
PDF
Auto scaling applications in 10 minutes (CakeFest 2013)
PDF
Scale new business peaks with Amazon auto scaling
How Does Amazon EC2 Auto Scaling Work
Aws Autoscaling
Auto Scaling on AWS
(AWS) Auto Scaling : Evening Session by Amazon and IntelliGrape Software
AWS - Autoscaling Fundamentals
Auto scaling using Amazon Web Services ( AWS )
Auto scaling applications in 10 minutes (CakeFest 2013)
Scale new business peaks with Amazon auto scaling

What's hot (7)

PDF
Cloud Connect 2013- Lock Stock and x Smoking EC2's
PDF
Auto Scaling AWS
PDF
Auto Scaling Groups
PDF
AWS AutoScaling
PPTX
Using AWS CloudWatch Custom Metrics and EC2 Auto Scaling -VSocial Infrastructure
PPTX
AWS Cost Optimization Strategy
PDF
Aws cloud watch
Cloud Connect 2013- Lock Stock and x Smoking EC2's
Auto Scaling AWS
Auto Scaling Groups
AWS AutoScaling
Using AWS CloudWatch Custom Metrics and EC2 Auto Scaling -VSocial Infrastructure
AWS Cost Optimization Strategy
Aws cloud watch
Ad

Viewers also liked (20)

PPTX
えんじにあというおしごと
PDF
La Fabrica del sol_cataleg_activitats
PDF
Bab 2 06601244204
DOC
умп э мдк ск мартынова
PDF
Epag proet-entaji amea
DOCX
Có thật trung quốc e sợ sức mạnh quân sự việt nam
PPTX
Meta stereotyping and the girl geek
PPTX
Academy of marketing 2014
PDF
Kisah dhaif dan palsu dalam isra' mi'raj syeikh 'amru 'abd al-mun'im salim
PDF
Career Women
PDF
Alexandre dierle - revista dos tribunais
PDF
魔法少女のまど★ワーカ(手書きver)
PPT
Notes6 9
PDF
Classe 2°
PPT
Report
PPT
5. halaiko
DOCX
List of ministries and ministers
PPS
PDF
Bartram Info Sheets
PPT
Toasted Zombies
えんじにあというおしごと
La Fabrica del sol_cataleg_activitats
Bab 2 06601244204
умп э мдк ск мартынова
Epag proet-entaji amea
Có thật trung quốc e sợ sức mạnh quân sự việt nam
Meta stereotyping and the girl geek
Academy of marketing 2014
Kisah dhaif dan palsu dalam isra' mi'raj syeikh 'amru 'abd al-mun'im salim
Career Women
Alexandre dierle - revista dos tribunais
魔法少女のまど★ワーカ(手書きver)
Notes6 9
Classe 2°
Report
5. halaiko
List of ministries and ministers
Bartram Info Sheets
Toasted Zombies
Ad

Similar to Auto Scaling Guided by Code (20)

PDF
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
PDF
Resource Replication & Automated Scaling Listener
PPTX
shhsbshsuhsbsjsjshsvsbsjsiusegbejsjsjsbsbs
PDF
Dynamically scaling a political news and activism hub (up to 5x the traffic i...
PDF
AWS & Eucalyptus Cloud Services
PDF
Autoscaling Best Practices - WebPerf Barcelona Oct 2014
PPTX
Onavo aws summit 2012
PDF
Auto Scaling with Amazon Web Services
PDF
Scalable Web Apps - Journey Through the Cloud
PPTX
Scalable web apps on AWS - Hebrew Webinar September 2017
ODP
AutoScaling and Drupal
PPTX
AcademyCloudFoundations_Module_10 (2).pptx
PDF
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
PPTX
Leveraging elastic web scale computing with AWS
PDF
NLUUG print conference May 26 2016
PPTX
Autoscaling Spark on AWS EC2 - 11th Spark London meetup
KEY
Asgard, the Grails App that Deploys Netflix to the Cloud
PPTX
AWS Auto Scaling by Techserverglobal ppt
PPTX
Automating Cloud Cluster Deployment: Beyond the Book
KEY
Using Amazon EC2 to Scale Your Web Application
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
Resource Replication & Automated Scaling Listener
shhsbshsuhsbsjsjshsvsbsjsiusegbejsjsjsbsbs
Dynamically scaling a political news and activism hub (up to 5x the traffic i...
AWS & Eucalyptus Cloud Services
Autoscaling Best Practices - WebPerf Barcelona Oct 2014
Onavo aws summit 2012
Auto Scaling with Amazon Web Services
Scalable Web Apps - Journey Through the Cloud
Scalable web apps on AWS - Hebrew Webinar September 2017
AutoScaling and Drupal
AcademyCloudFoundations_Module_10 (2).pptx
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Leveraging elastic web scale computing with AWS
NLUUG print conference May 26 2016
Autoscaling Spark on AWS EC2 - 11th Spark London meetup
Asgard, the Grails App that Deploys Netflix to the Cloud
AWS Auto Scaling by Techserverglobal ppt
Automating Cloud Cluster Deployment: Beyond the Book
Using Amazon EC2 to Scale Your Web Application

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
A Presentation on Artificial Intelligence
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Dropbox Q2 2025 Financial Results & Investor Presentation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Review of recent advances in non-invasive hemoglobin estimation
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
NewMind AI Monthly Chronicles - July 2025
A Presentation on Artificial Intelligence
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Auto Scaling Guided by Code

  • 1. Auto Scaling Guided by Code Pablo Cantero @pablocantero http://pablocantero.com 19/09/2012
  • 2. Cloud Computing • Pay-as-you-go • Scale Resources up or down based on demand (Elastic Architecture) http://aws.amazon.com/
  • 4. Instance provisioning • Manually • Image (preconfigured) • Automated • Chef • Puppet • CloudFormation http://aws.amazon.com/
  • 5. Create a launch configuration. The launch configuration are parameters to launch instances, such as image (AMI), instance type, security group, key pair and user data.
  • 6. Create an auto scaling group. The auto scaling group defines the auto scaling conditions, minimum and maximum number of instances, available zones, default cool down and load balancer (ELB).
  • 7. Create a scaling policy. The scaling policy defines how the auto scaling should scale up or down, if it is by size or percent and the cool down.
  • 8. Create an alarm metric. The alarm metric is the metric used to decide when to increase or decrease the instances. Usually by response time. The metrics are provided by CloudWatch.
  • 10. Create an alarm request. It is the last step to setup the Auto Scaling. The alarm request defines how to measure the metrics defined by the alarm metric, for example the time and period to evaluate the metric.
  • 11. Talk is cheap. Show me the code.
  • 13. Don’t name your instances You should change your instances as you change your underwear. Lucas Teixeira
  • 14. Don’t forget to remove your tests
  • 15. Use Auto Scaling, avoid Cloud Smells http://pablocantero.com/blog/ 2012/09/07/use-auto-scaling- avoid-cloud-smells/
  • 16. Thank you Pablo Cantero @pablocantero http://pablocantero.com