Amazon Web Services
AWS Auto Scaling
A service that automatically adjusts resource capacity (EC2, ECS, DynamoDB) based on defined policies. It maintains availability and optimizes cost by scaling up under demand and scaling down when idle.
On the exam
The elasticity mechanism on CLF-C02 and SAA-C03. It is configured with minimum, desired, and maximum instance counts. Policies: Target Tracking (keep CPU at 50%), Step Scaling, Scheduled. Question: what guarantees at least 2 instances are always running? An Auto Scaling Group with min=2.
Related terms
- Elastic Load Balancing (ELB)A service that automatically distributes incoming traffic across multiple targets (EC2, containers, IPs). Types: Application Load Balancer (HTTP/HTTPS, layer 7), Network Load Balancer (TCP/UDP, layer 4), and Gateway Load Balancer.
- EC2 (Elastic Compute Cloud)AWS's virtual machine service. It provides scalable compute capacity in the cloud. The customer selects the instance type, OS, and network configuration. IaaS model.
- ElasticityThe ability to automatically scale resources up or down in real time based on demand, and shrink them back when no longer needed to optimize cost.