Skip to content
StackDecode
System Design
14. Cloud ArchitectureAnimated

Cloud Auto Scaling

Managed scaling groups.

The idea

Policies add or remove instances based on metrics or schedules.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

Load balancerApp 1App 2App 3App 4Shared state
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Scale the app tier by adding identical instances.

step:
1/4
at:
Load balancer
1/8

The green dot is a request moving through the system.

Step by step

  1. 1Define min, max and target
  2. 2Monitor a metric
  3. 3Scale out or in
  4. 4Cool down

Where it is used

Variable demand.

Watch out for

Misconfigured scaling flaps or lags.

Related