The cost levers

Savings Plans vs RIs vs Spot, Graviton, right-sizing from CloudWatch metrics, S3 lifecycle, killing idle NAT/EIP/EBS. Know the % each lever typically yields.

About 34 min read3-question knowledge check

The mental model

Think of your cloud bill like a household's monthly spending, where a financial adviser can cut it three fundamentally different ways. First, stop buying things you don't use — cancel the gym membership nobody goes to, turn off the second fridge in the garage. Second, buy the things you do use more cheaply — switch to a cheaper energy tariff, buy the annual pass instead of paying daily. Third, buy a smaller size of the same thing — you were paying for a family car to commute alone, so downsize to a hatchback. Every real cloud saving is one of those three moves, and the adviser who conflates them wastes effort.

The three levers, in AWS terms:

  1. Eliminate waste — kill the idle NAT gateway, the unattached EBS volume, the forgotten EIP, the load balancer with no targets. This is pure profit: zero risk, zero performance cost, you were paying for nothing.
  2. Buy commitment — Savings Plans, Reserved Instances, and Spot change the price of compute you are going to run anyway. No architecture change, just a smarter purchase.
  3. Right-size and modernise — match instance size to actual utilisation, move to Graviton, tier storage down. You change what you run to fit the real load.

Why the framing matters: the single most common cost-cutting mistake is reaching for the hard, risky lever (re-architect the application) when the easy, risk-free one (delete the idle resources and buy a Savings Plan) would have delivered most of the savings with none of the risk. A good cost engineer ranks levers by savings-per-effort and does the free ones first. And there is an ordering discipline: eliminate and right-size before you commit, because a three-year Savings Plan on an oversized instance locks in the waste — you commit to the optimised baseline, not the bloated one.

The full lesson continues with 15 more sections
  • Deep dive
  • Internal architecture
  • Real-world use cases
  • Best practices
  • Common mistakes
  • Performance
  • Security
  • Production troubleshooting
  • Advantages & disadvantages
  • Alternatives
  • Interview expectations
  • Interview questions
  • Facts to remember
  • Cheat sheet
  • Quick revision