Auto Scaling Groups

  • You can perform EC2 auto scaling based on SQS queue also

  • Scheduled scaling

    • Schedule according to predictable load changes

    • Known holidays, know history

    • Ex: Every week the traffic to your web application starts to increase on Wednesday, remains high on Thursday, and starts to decrease on Friday, you can configure a schedule for Amazon EC2 Auto Scaling to increase capacity on Wednesday and decrease capacity on Friday

  • Dynamic Scaling

    • Reactive in nature

    • Target tracking scaling policy

      • unpredictable workloads and traffic spikes

      • To keep the average aggregate CPU utilization of your Auto Scaling group at X percent

  • Predictive Scaling

    • regular patterns of traffic increases (business hours) and applications that take a long time to initialize

    • potentially save you money on your EC2 bill by helping you avoid the need to overprovision capacity

    • Cyclical traffic, such as high use of resources during regular business hours and low use of resources during evenings and weekends

    • Recurring on-and-off workload patterns, such as batch processing, testing, or periodic data analysis

    • Applications that take a long time to initialize, causing a noticeable latency impact on application performance during scale-out events

  • suspend-resume feature

    • temporarily pause scaling activities

    • useful when you are making a change or investigating a configuration issue