Scheduled Scaling with AWS Auto Scaling Group
📖 Scenario: You manage a web application hosted on AWS. To save costs during low traffic hours, you want to automatically reduce the number of servers running at night and increase them during the day.This is called scheduled scaling, where you set rules to change the number of servers at specific times.
🎯 Goal: Create an AWS Auto Scaling Group with a scheduled scaling policy that sets the desired capacity to 2 instances at 8 AM and scales down to 1 instance at 8 PM daily.
📋 What You'll Learn
Create an Auto Scaling Group named
MyAppASG with a launch configuration named MyAppLaunchConfig.Define a scheduled action named
ScaleUpMorning to set desired capacity to 2 at 8 AM UTC daily.Define a scheduled action named
ScaleDownEvening to set desired capacity to 1 at 8 PM UTC daily.💡 Why This Matters
🌍 Real World
Many companies use scheduled scaling to save money by running fewer servers during low traffic times, like nights or weekends.
💼 Career
Understanding scheduled scaling is important for cloud engineers and DevOps professionals to optimize cloud infrastructure costs and performance.
Progress0 / 4 steps