Compute

Auto Scaling Group

Maintains a desired number of instances and can scale capacity in or out across Availability Zones.

How it works

Amazon EC2 Auto Scaling uses an Auto Scaling group to manage a fleet of EC2 instances. The group attempts to maintain desired capacity within minimum and maximum limits, replaces instances identified as unhealthy, and can span multiple Availability Zones. Configured scaling policies can adjust capacity as demand changes; launching instances still depends on available capacity.

When to use it

Choose it when the requirement is automatically add healthy EC2 capacity when demand rises.

Real-world example

A ticketing site places EC2 instances in an Auto Scaling group behind an Application Load Balancer. The team configures a CPU-based scaling policy to add instances as load rises and reduce the fleet when load falls, within the configured limits.

Common pitfall

Attaching a load balancer alone does not make the Auto Scaling group replace instances based on application health. Enable Elastic Load Balancing health checks for the group and configure a health check appropriate for the application.

Often confused with

Compare its service boundary with Health Checks and Multi-AZ; choose from the workload requirement.

References

Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:

SAA-C03 study guide and learning resources

Understand it for real with 3D models and simulated labs

Connect the concept to a working architecture.

Start learning