Right-sizing AWS EC2 Instances
📖 Scenario: You are managing cloud resources for a small company. They have several AWS EC2 instances running, but some are too large and costly for their needs. Your task is to help them identify and right-size these instances to save money while keeping performance.
🎯 Goal: Build a simple AWS resource configuration that lists EC2 instances with their current sizes and then creates a recommended smaller instance type for right-sizing.
📋 What You'll Learn
Create a dictionary of EC2 instances with their current instance types
Add a configuration variable for the maximum allowed instance size
Write logic to recommend a smaller instance type if the current one is larger than allowed
Output the final dictionary with instance IDs and their recommended instance types
💡 Why This Matters
🌍 Real World
Cloud engineers often need to optimize resource usage to reduce costs and improve efficiency. Right-sizing instances is a common task to avoid paying for more capacity than needed.
💼 Career
Understanding how to analyze and recommend resource sizes is valuable for roles like Cloud Engineer, DevOps Engineer, and Infrastructure Architect.
Progress0 / 4 steps