- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Cost-Optimizing EC2 with Autoscaling Scheduled Scaling
In this hands-on lab, you will learn how to reduce EC2 compute costs by implementing dynamic and scheduled scaling using AWS Auto Scaling. You will create an Auto Scaling Group (ASG), configure a target-tracking policy, and add scheduled scaling actions. Finally, you will review CloudWatch metrics and scaling history to verify reduced instance-hours and demonstrate measurable cost savings, an essential skill for optimizing cloud infrastructure in real-world environments.
Lab Info
Table of Contents
-
Challenge
Create an Auto Scaling Group (ASG) with Target-Tracking Policy
Create an Auto Scaling Group (ASG) with Target-Tracking Policy:
- Create a Launch Template.
- Create an ASG using the created Launch Template.
- Add a target-tracking policy.
-
Challenge
Add Scheduled Scaling Actions for Off-Hours Cost Savings
Add Scheduled Scaling Actions for Off-Hours Cost Savings:
- Create a scheduled action to scale down during off-hours.
- Create a scheduled action to scale up during business hours.
-
Challenge
Review CloudWatch Metrics and Validate Instance-Hour Savings
Review CloudWatch Metrics and Validate Instance-Hour Savings:
- In ASG, inspect scaling activity history and scheduled action logs.
- In the CloudWatch, inspect metrics groups in-service Instances.
- Manually calculate cost reduction based on instance-hours run time.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.