Auto Scaling Guided by        Code          Pablo Cantero         @pablocantero     http://pablocantero.com               ...
Cloud Computing•   Pay-as-you-go•   Scale Resources up or down based on demand    (Elastic Architecture)                  ...
Auto Scaling steps
Instance provisioning•   Manually    •   Image (preconfigured)•   Automated    •   Chef    •   Puppet    •   CloudFormatio...
Create a launch configuration. The launch   configuration are parameters to launchinstances, such as image (AMI), instance t...
Create an auto scaling group. The auto scaling  group defines the auto scaling conditions,minimum and maximum number of ins...
Create a scaling policy. The scaling policydefines how the auto scaling should scale up or down, if it is by size or percen...
Create an alarm metric. The alarm metric is the   metric used to decide when to increase ordecrease the instances. Usually...
Alarm metrics
Create an alarm request. It is the last step to   setup the Auto Scaling. The alarm requestdefines how to measure the metri...
Talk is cheap. Show me        the code.
Some advices
Don’t name your          instancesYou should change your instances as you change your underwear.                         L...
Don’t forget to remove       your tests
Use Auto Scaling, avoid     Cloud Smellshttp://pablocantero.com/blog/2012/09/07/use-auto-scaling-      avoid-cloud-smells/
Thank you     Pablo Cantero    @pablocanterohttp://pablocantero.com
Upcoming SlideShare
Loading in...5
×

Auto Scaling Guided by Code

269

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
269
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Auto Scaling Guided by Code

  1. 1. Auto Scaling Guided by Code Pablo Cantero @pablocantero http://pablocantero.com 19/09/2012
  2. 2. Cloud Computing• Pay-as-you-go• Scale Resources up or down based on demand (Elastic Architecture) http://aws.amazon.com/
  3. 3. Auto Scaling steps
  4. 4. Instance provisioning• Manually • Image (preconfigured)• Automated • Chef • Puppet • CloudFormation http://aws.amazon.com/
  5. 5. Create a launch configuration. The launch configuration are parameters to launchinstances, such as image (AMI), instance type, security group, key pair and user data.
  6. 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. 7. Create a scaling policy. The scaling policydefines how the auto scaling should scale up or down, if it is by size or percent and the cool down.
  8. 8. Create an alarm metric. The alarm metric is the metric used to decide when to increase ordecrease the instances. Usually by response time. The metrics are provided by CloudWatch.
  9. 9. Alarm metrics
  10. 10. Create an alarm request. It is the last step to setup the Auto Scaling. The alarm requestdefines how to measure the metrics defined by the alarm metric, for example the time and period to evaluate the metric.
  11. 11. Talk is cheap. Show me the code.
  12. 12. Some advices
  13. 13. Don’t name your instancesYou should change your instances as you change your underwear. Lucas Teixeira
  14. 14. Don’t forget to remove your tests
  15. 15. Use Auto Scaling, avoid Cloud Smellshttp://pablocantero.com/blog/2012/09/07/use-auto-scaling- avoid-cloud-smells/
  16. 16. Thank you Pablo Cantero @pablocanterohttp://pablocantero.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×