Autoscaling

What is Autoscaling?

Autoscaling is a cloud capability that automatically adds or removes computing resources in response to demand, so applications have enough capacity at busy times and do not pay for unused capacity when demand falls.

Updated November 2026 · 2 min read


Autoscaling is a cloud capability that automatically adds or removes computing resources as demand changes, so applications have enough capacity when busy and do not pay for unused capacity when quiet. It is one of the main reasons cloud can be cheaper than fixed infrastructure: instead of sizing for the busiest hour of the year, capacity follows actual demand.

Types of autoscaling

  • Horizontal scaling: adding or removing instances, containers or nodes. The most common type.
  • Vertical scaling: changing the size of existing resources.
  • Serverless scaling: functions and managed services that scale automatically per request, including to zero.

How autoscaling works: Scaling policies

PolicyHow it worksSuits
Reactive (target tracking)Adjusts capacity to keep a metric near a target, such as average CPU at 60%Most workloads
Step scalingAdds or removes set amounts when thresholds are crossedWorkloads with clear thresholds
ScheduledChanges capacity at set timesPredictable daily or weekly patterns
PredictiveForecasts demand from history and scales in advanceRegular patterns with fast spikes
Event or queue-basedScales on queue length or event volumeBackground processing

How autoscaling affects cloud costs

  • Minimum capacity often drives most of the cost. Many teams set minimums high and never revisit them.
  • Scale-down settings matter as much as scale-up. Slow scale-down keeps extra capacity running long after peaks.
  • Instance choice: autoscaling groups can mix on-demand, committed and spot capacity.
  • Commitments should cover the minimum and typical baseline, with peaks on demand or spot.

Autoscaling vs. load balancing

A load balancer spreads incoming traffic across the instances that already exist. Autoscaling changes how many instances exist. The two are usually used together: the autoscaler launches new instances and registers them with the load balancer, which starts sending them traffic once they pass health checks.

Autoscaling example

Consider a hypothetical e-commerce company whose web tier autoscales between 40 and 120 instances. Analysis shows it rarely needs more than 15 instances overnight, but the minimum is set at 40, and scale-down waits an hour after load drops. Lowering the minimum to 15 and shortening scale-down timing reduces average capacity by about 35%, with no change in performance. The team also adds predictive scaling ahead of its daily evening peak, which reduces slow page loads in the first minutes of the peak.

Common pitfalls

  • High minimums that make autoscaling ineffective.
  • Applications that are slow to start, so new capacity arrives too late.
  • Stateful applications that cannot scale horizontally.
  • Scaling on the wrong metric, such as CPU for a memory-bound application.

Autoscaling works alongside rightsizing and is a core feature of cloud-native architecture.

Frequently asked questions

What is the difference between autoscaling and load balancing?

Autoscaling changes how many instances are running, while a load balancer spreads incoming traffic across the instances that already exist. The two usually work as a pair. When the autoscaler launches a new instance, it registers it with the load balancer, which begins sending it requests once the instance passes its health checks.

How does autoscaling reduce cloud costs?

Autoscaling cuts cost by letting capacity follow demand instead of being sized for the busiest hour. The savings depend heavily on settings. Minimum capacity often accounts for most of the bill, and slow scale-down keeps extra instances running long after peaks. Covering the steady baseline with commitments and running peaks on demand or spot capacity lowers costs further.

What are common autoscaling mistakes?

The most common autoscaling mistake is a minimum set so high that capacity rarely falls. Others include scaling on the wrong metric, such as CPU for a memory-bound application, applications that start too slowly for new capacity to help during a spike, and stateful applications that cannot scale horizontally. Reviewing minimums and scale-down timing is usually the quickest fix.