What Is Cloud Elasticity? Scaling Resources Up and Down with Demand
Cloud elasticity adjusts computing capacity as workloads change. Learn how it differs from scalability and autoscaling, and how to plan for bottlenecks, limits, safe scale-in, and cost.
Elasticity adds resources as workload rises and releases them as demand falls. Autoscaling is one implementation method, not a synonym; cloud deployment alone does not make a system elastic. Scalability is the structural ability to handle growth, while elasticity adjusts capacity to changing demand.
Scale out/in changes the number of instances; scale up/down changes one resource's size. Choose metrics that expose the real bottleneck, set minimum and maximum capacity, thresholds, stabilization periods, and alerts, and check quotas, regional capacity, databases, local sessions, external APIs, and licenses. Autoscaling cannot guarantee available capacity or instant response.
Test both directions. During scale-in, drain work safely, let active requests finish, and plan retries and duplicate processing. Set cost limits. Hypothetical example: adding order workers during a promotion may not improve throughput if the database connection limit is reached; it can only increase contention and cost. This is not a load-test result.
Sources: AWS Well-Architected: Elasticity, AWS: Variable workloads, Google Cloud: Elasticity, Microsoft: Autoscaling.