0PricingLogin
AWS Solutions Architect · Lesson

Scheduled Scaling and Predictive Scaling

Pre-warm capacity for known traffic spikes with scheduled actions and use predictive scaling to forecast load automatically.

Limitations of Reactive Scaling

Dynamic scaling policies (target tracking and step scaling) are reactive—they respond after a metric threshold is already breached. For known, predictable traffic patterns like business-hours peaks, end-of-month batch runs, or Black Friday sales, reactive scaling is too slow because instances take minutes to launch and warm up. Scheduled Scaling and Predictive Scaling address this by proactively adjusting capacity before the load arrives.

Scheduled Scaling Actions

A Scheduled Scaling Action changes the ASG's min, max, or desired capacity at a specific date and time, or on a recurring cron schedule. This is ideal when you know exactly when load will increase—for example, pre-warming before a planned marketing event, or scaling down overnight when traffic is minimal to save costs. Scheduled actions override the current desired capacity at the specified time.

aws autoscaling put-scheduled-update-group-action \
  --auto-scaling-group-name 'MyAppASG' \
  --scheduled-action-name 'MorningScaleUp' \
  --recurrence '0 7 * * MON-FRI' \
  --min-size 4 \
  --desired-capacity 8 \
  --max-size 20

All lessons in this course

  1. Launch Templates and ASG Configuration
  2. Scaling Policies: Target Tracking and Step Scaling
  3. Scheduled Scaling and Predictive Scaling
  4. Instance Refresh and Lifecycle Hooks
← Back to AWS Solutions Architect