What is AWS Auto Scaling?
Adds or removes instances based on demand and replaces the ones that fail.
Use cases
- Scaling a web front end behind an ALB
- Keeping N healthy instances (minimum = maximum)
- Scheduled scaling for known peaks
What to know for the exam
- Policies: target tracking, step, scheduled and predictive
- Spreads instances across AZs
- Lifecycle hooks (actions before terminating) and warm pools (pre-prepared instances)
- ELB health checks detect application failures, not only instance failures
When to choose one or the other
| Alternative | When to choose it |
|---|---|
| Lambda / Fargate | Auto Scaling manages instances; in serverless, scaling is automatic |
Do you know it? Check it
The practice includes questions about AWS Auto Scaling with an explanation for every option. You can practice for free in the app, no sign-up.