Infraloka Logo
← Back to Blog
Cloud ArchitectureCost Optimization

The True Cost of Cloud: Strategies for Right-Sizing

Rahmat Wibowo·

Cloud elasticity is often touted as the ultimate tool for cost savings, but without proper governance, it can quickly become a financial black hole.

The Right-Sizing Challenge

Many organizations lift-and-shift their applications without right-sizing the underlying infrastructure. We encountered a scenario where over-provisioned VMs and unattached block storage were driving up monthly costs by thousands of dollars.

Our Approach

  1. Visibility: We implemented Datadog and AWS Cost Explorer to establish a baseline.
  2. Right-Sizing: We migrated from compute-optimized instances to general-purpose instances where CPU utilization was consistently under 15%.
  3. Reserved Instances: For baseline workloads, we committed to 1-year and 3-year Reserved Instances (RIs), saving over 40% on compute costs.
  4. Auto-Scaling: We configured auto-scaling groups based on custom metrics rather than simple CPU thresholds.

The Results

By actively managing our cloud resources and implementing automated cleanup scripts for orphaned EBS volumes, we achieved a 51% reduction in overall infrastructure costs.

Cloud cost optimization is an ongoing process, not a one-time project. It requires continuous monitoring and a culture of financial accountability within the engineering team.