AWS Cost-to-Usage Optimizations for EC2 Instances
#aws #ec2 #ebs
•
Look for instances that are underutilized; for example, instances with a maximum CPU and/or memory usage of less than 40% over a four-week period. These instances may be downsized by half to achieve a maximum usage of 80%.
•
Look for instances with a steady utilization rate above the baseline utilization per vCPU. Monitor for CPUSurplusCreditsCharged and if this is above the breakeven point you may upgrade to an M5.
•
Look for instances with correct memory utilization but a cpu utilization under 40%. These instances may be replaced with R5 that provide the same memory and half the CPUs at 75% the price of a T3.
•
Look for network bandwidth utilization. T3 is capped at 5gbps; if you need more bandwidth, you may want to upgrade to an M5.
• The latest generation of instances are already EBS-Optimized by default; you can monitor EBS metrics such as EBSIOBalance% and EBSByteBalance% to help you determine whether your instances are sized right.