Scale EC2 Instances on a Schedule on AWS
In this lab, you’ll practice scheduling scaling actions on EC2 Auto Scaling groups. When you’re finished you’ll have a group of web servers that grows daily to handle traffic during a set time window and shrinks afterwards.
Terms and conditions apply.
Lab info
Lab author
Challenge
Retrieve Domain Name of the Load Balancer
Your company’s website has a strong daily traffic pattern and wants to control costs. Your job is to constrain web server capacity to handle peak load to only the times when it will be used. Get the domain name of the load balancer for the auto-scaling group. Save it for use in subsequent steps.
Challenge
Schedule a One-Shot Update
Create a change to the Auto Scaling group capacity to be applied once in the future.
Challenge
Schedule a Daily Scale-Out Action
Create a daily action to increase the size of the Auto Scaling group.
Challenge
Schedule a Daily Scale-In Action
Create a daily action to shrink the size of the Auto Scaling group.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Basic knowledge of AWS