Right-size a fleet of 300 instances where nobody knows actual usage. How?
AdvancedScenarioEC2, Auto Scaling and Load Balancing
Answer
Situation read → Data-driven right-sizing with guardrails, not guessing.
What I'd do →
- Enable Compute Optimizer across the org and install CloudWatch agent for memory metrics
- Pull recommendations:
aws compute-optimizer get-ec2-instance-recommendations - Sort by savings and risk, start with over-provisioned dev and staging
- Change one size down at a time and watch p99 latency
- Move to Graviton (m7g, c7g) where the stack supports ARM
Why → CPU-only data misses memory pressure; the agent metric makes the call accurate.
Interview tip → Graviton typically gives 20 percent better price-performance.