Skill 2.1.1
Configure and manage scaling mechanisms in compute environments
Key Concepts
An EC2 Auto Scaling group launches instances from a launch template across subnets in several Availability Zones and keeps the desired capacity between the minimum and maximum. Target tracking keeps a metric such as average CPU or ALBRequestCountPerTarget at a target value; step scaling adds or removes capacity in steps based on alarm breach size; scheduled scaling changes capacity at set times; predictive scaling forecasts daily and weekly patterns from history. Warm pools keep pre-initialised instances ready, and the default instance warmup stops new instances skewing metrics before they are ready.
Other compute scales through Application Auto Scaling: ECS service desired task count, Lambda provisioned concurrency, and Spot Fleet capacity. ECS capacity providers scale the underlying Auto Scaling group with managed scaling. On EKS, the Horizontal Pod Autoscaler scales pods and Karpenter or Cluster Autoscaler adds nodes. Lambda scales automatically, limited by the account concurrency quota and any reserved concurrency.