SAA-C03

Introduction to Amazon EC2 Auto Scaling

Automatically adjust the number of EC2 instances to match demand and replace failures.

  • 3 lessons
  • Module quiz

Demand for most applications changes through the day, the week and the year. A fixed fleet sized for the peak wastes money most of the time, and one sized for average load fails at the peak. Instances also fail occasionally and need replacing.

Amazon EC2 Auto Scaling solves both problems. An Auto Scaling group keeps the number of instances between a minimum and maximum, adds and removes instances according to scaling policies as demand changes, and replaces instances that fail health checks. This keeps applications available while paying only for the capacity needed. Auto Scaling itself is free; the customer pays for the instances.

What the exam expects

Questions test choosing a scaling policy: target tracking for a simple goal such as average CPU at 50%, scheduled scaling for known peaks, and predictive scaling for recurring patterns. They also test health checks, lifecycle hooks and how groups survive the loss of an Availability Zone.

How this module is organised

Building Self-Healing Fleets with Auto Scaling Groups explains how groups and launch templates work. Choosing Auto Scaling Policies and Metrics compares the ways a group decides its size. Preparing Instances with Lifecycle Hooks and Warm Pools explains lifecycle hooks, health check grace periods and warm pools.

  1. Building Self-Healing Fleets with Auto Scaling Groups Lesson 1
  2. Choosing Auto Scaling Policies and Metrics Lesson 2
  3. Preparing Instances with Lifecycle Hooks and Warm Pools Lesson 3
  4. Practise and review
  5. Checkpoint Practice activities across the module
  6. Test your knowledge 4 questions