0
0
AWScloud~10 mins

Scheduled scaling in AWS - Step-by-Step Execution

Choose your learning style9 modes available
Process Flow - Scheduled scaling
Define schedule
Set desired capacity
AWS Auto Scaling service waits
Scheduled time reached?
NoWait
Yes
Change capacity to desired
Maintain capacity until next schedule
Scheduled scaling sets the number of servers at specific times automatically.
Execution Sample
AWS
ScheduledAction:
  Schedule: 'cron(0 8 * * ? *)'
  DesiredCapacity: 5
  MinSize: 2
  MaxSize: 10
This sets the server count to 5 every day at 8 AM.
Process Table
StepTimeScheduled Action Triggered?Desired Capacity SetAuto Scaling Group Capacity
17:59 AMNoN/A3 (previous)
28:00 AMYes55 (scaled up)
312:00 PMNoN/A5 (unchanged)
48:00 PMNoN/A5 (unchanged)
5Next day 8:00 AMYes55 (maintained)
💡 Scheduled scaling triggers only at defined times; capacity stays until next trigger.
Status Tracker
VariableStartAfter Step 2After Step 3After Step 5
Auto Scaling Group Capacity3555
Desired CapacityN/A555
Key Moments - 2 Insights
Why doesn't the capacity change at 12:00 PM even though time has passed?
Because scheduled scaling only triggers at the exact scheduled time (8:00 AM), not continuously. See execution_table step 3.
What happens if the desired capacity is set lower than the current capacity?
Auto Scaling will reduce the number of servers to the desired capacity at the scheduled time, ensuring resources match the schedule.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution table, what is the Auto Scaling Group capacity at 7:59 AM?
A0
B3
C5
D10
💡 Hint
Check the first row under 'Auto Scaling Group Capacity' in execution_table.
At which step does the scheduled scaling action trigger?
AStep 3
BStep 1
CStep 2
DStep 4
💡 Hint
Look for 'Scheduled Action Triggered?' column in execution_table.
If the desired capacity was changed to 7 at 8:00 AM, what would happen at Step 2?
ACapacity changes to 7
BCapacity changes to 5
CCapacity stays at 3
DCapacity changes to 10
💡 Hint
Desired Capacity column in variable_tracker shows what capacity is set at scheduled time.
Concept Snapshot
Scheduled scaling lets you set server counts at specific times.
You define a schedule and desired capacity.
At the scheduled time, capacity changes automatically.
Capacity stays until next scheduled change.
Useful for predictable traffic patterns.
Full Transcript
Scheduled scaling in AWS Auto Scaling lets you automatically adjust the number of servers at specific times you choose. You define a schedule using cron or rate expressions and set the desired number of servers. When the scheduled time arrives, AWS changes the capacity to your desired number. Between scheduled times, the capacity remains steady. This helps save costs and ensures enough servers during busy times. For example, setting desired capacity to 5 at 8 AM means every day at 8 AM, the system scales to 5 servers. The execution table shows capacity before and after scheduled triggers. Capacity only changes at scheduled times, not continuously. If you change the desired capacity in the schedule, the system adjusts accordingly at the next trigger.