Skill 4.2.2

Determining appropriate scaling methods and strategies for elastic workloads (for example, horizontal compared with vertical, EC2 hibernation)

Key Concepts

Horizontal scaling with Auto Scaling adds small instances as demand rises and removes them when it falls, so you pay for actual load. Vertical scaling changes instance size (requires a stop/start) and is useful for workloads that cannot be distributed, but usually leaves capacity idle off-peak.

Scheduled scaling shrinks fleets at night and on weekends; predictive scaling avoids over-provisioning ahead of known peaks; mixed instances policies combine On-Demand and Spot across instance types for lower cost.

EC2 hibernation saves instance memory to the encrypted EBS root volume and resumes with applications and caches still loaded. You do not pay for instance hours while hibernated (only storage), so long-starting applications can be stopped when idle and resume quickly. Warm pools can keep hibernated instances ready for Auto Scaling.