CloudWatch metrics show your EC2 instances have average CPU utilization around 10% with stable performance over several weeks. The application does not require additional headroom right now. What is the most effective cost-optimization action?
Trap 1: Increase the Auto Scaling desired capacity to add more instances
Adding more instances increases total compute capacity and typically increases cost, even if CPU utilization is low. Auto Scaling is intended to respond to demand changes; raising desired capacity without a demand need does not address the current overprovisioning.
Trap 2: Switch to Spot Instances immediately even though interruptions…
Switching to Spot is a pricing decision that introduces interruption risk. The scenario’s primary measurable issue is persistent underutilization; switching to Spot would be unnecessary and potentially risky given the stated interruption impact. Cost optimization here should first target the dominant cost lever: oversized compute.
Trap 3: Disable detailed monitoring to reduce CPU usage from the monitoring…
Reducing monitoring detail might lower monitoring charges, but it does not address the main driver of EC2 cost: unused instance capacity. Any CPU impact from monitoring is usually minor compared with the savings from downsizing instances.
- A
Right-size the instances to a smaller size that matches the observed utilization
Right sizing reduces cost by matching instance capacity to actual demand. If average CPU is consistently low (around 10%) and performance is stable, it strongly indicates overprovisioning. Moving to a smaller instance (or a smaller capability within the same family) typically lowers hourly cost while maintaining sufficient capacity for the workload.
- B
Increase the Auto Scaling desired capacity to add more instances
Why wrong: Adding more instances increases total compute capacity and typically increases cost, even if CPU utilization is low. Auto Scaling is intended to respond to demand changes; raising desired capacity without a demand need does not address the current overprovisioning.
- C
Switch to Spot Instances immediately even though interruptions would impact users
Why wrong: Switching to Spot is a pricing decision that introduces interruption risk. The scenario’s primary measurable issue is persistent underutilization; switching to Spot would be unnecessary and potentially risky given the stated interruption impact. Cost optimization here should first target the dominant cost lever: oversized compute.
- D
Disable detailed monitoring to reduce CPU usage from the monitoring agent
Why wrong: Reducing monitoring detail might lower monitoring charges, but it does not address the main driver of EC2 cost: unused instance capacity. Any CPU impact from monitoring is usually minor compared with the savings from downsizing instances.