EC2 rightsizing example
Test a smaller EC2 size while retaining three replicas
- Current resource usage
- Consider three 4-vCPU, 8-GiB instances whose highest five-minute CPU reading is 30% and memory usage reaches 2.5 GiB over 28 days. A 2-vCPU, 4-GiB instance could be worth testing under peak traffic and failover conditions.
- Potential monthly savings
- Using example rates of $0.20 and $0.12 per hour, three replicas running 730 hours would cost $438.00 and $262.80 respectively—a difference of $175.20 per month in compute charges. Use your own AWS rates and check existing commitments. Storage, transfer, support, tax, and testing costs are additional.
- What to check before switching
- Check memory headroom, network and disk limits, peak latency, error rates, and recovery capacity. Keep the previous configuration ready in case you need to roll back.
- How to confirm the savings
- Roll out gradually after performance tests pass. Compare costs and workload volume before and after the change, including any extra spend on other services.