Embedded the Technical Track presentation given by me at AWS Cloud Tour 2011, India , New Delhi on Nov 24th , 2011
Presentation slides can be found here
Load Patterns of Business 1 E-commerce 2 Online Ticketing Compute Compute Weekly Weekly 3 Online Travel 4 During Campaigns Compute Compute Yearly Yearly
Load Burst Types 1 Un Predictable Bursts 2 Predictable BurstsCompute Compute Time Time
Traditional Scaling Lost customers • Fixed capacity • Under utilization of resources • Lost CustomersAmazon Auto Scaling • Align no. of instances with demand • Flexible capacities and scaling sizes • Save costs
Amazon AutoScaling• Handle all the variety of load bursts and patterns• Scale out Amazon EC2 instances seamlessly and automatically when demand increases• Scale down unwanted Amazon EC2 instances automatically and save money when demand subsides• Decide the scaling based on AWS CloudWatch metrics
Amazon AutoScaling Architecture EC2 Instance Elastic Load Balancer … Amazon CloudWatch Scale UpKey Concepts : Scale Up Rule EC2 Instance• Launch Configuration Scale Down Scale Down• Auto Scaling Group Rule• Trigger Scale Up • Policy Predefined Scaling • Alarm Auto Scaling Scale Down Activity Group
Auto Scaling : Unpredictable Burst 2 Un Predictable Bursts • Configure On demand Auto Scaling policy Compute • Create policies for both Scaling out and Scaling down scenarios Time • Auto Scaling will respond to changing conditions dynamically%as-create-auto-scaling-group as-group --availability-zones us-east-1c –launch-configuration my-lconfig --max-size 24 --min-size 4 --cooldown180 --load-balancers my-load-balancer
Auto Scaling : Predictable Burst 1 Predictable Bursts Compute • Configure Time based Auto Scaling plan • PutScheduledUpdateGroup Time Action - specify the date and time of execution, minimum, maximum, and desired Instance size of capacity% as-put-scheduled-update-group-action my-group –name “My-scale-up” -- time “2011-11-12T02:00:00Z” -min 10 -max 50
Candidates for Auto Scaling• Web Tier• Application Tier• Caching Tier• Load Balancing Tier• Other Stateless Tiers
Auto Scaling Benefits : Cost Savings 1 35 % savings 2 30 % savings Compute Compute Time Time 30 % savings 3 35 % savings Compute Time
Auto Scaling Benefits : No Lost customers We can closely align our Infrastructure with our load requirements and save costs Benefits of Auto Scaling – work in Happier DevOpsprogress !!!Source: AWS
Key Points to Remember• Log Files , Data Files and Sessions• Multiple AZ’s inside a Region• EBS Backed AMI’s are faster to launch• Multiple Instances Types in an Auto Scaling group• Combining Custom CloudWatch Metrics opens huge possibilities• Evaluate Traditional Monitoring
Need Consulting help ?
All posts, comments, views expressed in this blog are my own and does not represent the positions or views of my past, present or future employers. The intention of this blog is to share my experience and views. Content is subject to change without any notice. While I would do my best to quote the original author or copyright owners wherever I reference them, if you find any of the content / images violating copyright, please let me know and I will act upon it immediately. Lastly, I encourage you to share the content of this blog in general with other online communities for non-commercial and educational purposes.