0
0
AWScloud~10 mins

Minimum, maximum, and desired capacity in AWS - Mini Project: Build & Apply

Choose your learning style9 modes available
Minimum, maximum, and desired capacity
📖 Scenario: You are managing a cloud application that needs to automatically adjust the number of servers running based on demand. To do this, you will set up an Auto Scaling Group with specific minimum, maximum, and desired capacity values.
🎯 Goal: Create an AWS Auto Scaling Group configuration that defines the minimum number of instances as 2, the maximum number of instances as 5, and the desired capacity as 3.
📋 What You'll Learn
Create a dictionary called asg_config to hold the Auto Scaling Group settings.
Add keys MinSize, MaxSize, and DesiredCapacity with the exact values 2, 5, and 3 respectively.
Use the exact key names and values as specified.
Ensure the configuration is valid for AWS Auto Scaling Group settings.
💡 Why This Matters
🌍 Real World
Auto Scaling Groups automatically adjust the number of servers to handle changes in traffic, saving costs and improving performance.
💼 Career
Understanding how to configure minimum, maximum, and desired capacity is essential for cloud engineers managing scalable applications.
Progress0 / 4 steps
1
Create the initial Auto Scaling Group configuration dictionary
Create a dictionary called asg_config with the keys MinSize, MaxSize, and DesiredCapacity set to 0 initially.
AWS
Need a hint?

Use curly braces to create a dictionary and set each key to 0.

2
Add the minimum capacity value
Update the asg_config dictionary to set the MinSize key to the integer value 2.
AWS
Need a hint?

Change the value for the key 'MinSize' to 2.

3
Add the maximum capacity value
Update the asg_config dictionary to set the MaxSize key to the integer value 5.
AWS
Need a hint?

Change the value for the key 'MaxSize' to 5.

4
Add the desired capacity value
Update the asg_config dictionary to set the DesiredCapacity key to the integer value 3.
AWS
Need a hint?

Change the value for the key 'DesiredCapacity' to 3.