Skip to content

Practice · cost

The bill is an engineering property

Availability gets designed, tested and owned. Cost usually gets discovered. Treating spend the way you treat latency — measured, budgeted, reviewed and attributable to a decision in version control — is most of the work.

Nobody owns the invoice

In most organisations the cloud bill arrives at finance, who cannot evaluate it, and is forwarded to engineering, who did not budget it. It grows quietly because no single person is accountable for the number and because the individual decisions that produced it were each defensible in isolation.

Cost engineering is not a cost-cutting exercise. It is making spend a property that somebody owns, that is measured continuously, and that can be traced back to a specific decision in a specific commit. Once that is true, the reductions tend to be obvious.

Detail

The four levers, in the order they pay

Lever one

Egress

The largest line in almost every streaming bill. Cache policy, origin placement and — where it is justified — moving delivery onto owned capacity entirely.

  • Cache hit ratio measured by content class
  • Origin fetch volume reduced first
  • Owned edge where the volume justifies it

Lever two

Compute right-sizing

Instances sized against measured concurrency rather than against launch-day nerves, and scaled down for the hours nobody is watching.

  • Sized against observed concurrency
  • Scale-to-baseline off-peak
  • Idle capacity treated as a defect

Lever three

Storage lifecycle

A catalogue's access curve is steep. Storage class should follow it instead of leaving 2009 in the hot tier forever.

  • Lifecycle rules in Terraform
  • Class matched to real access
  • Old renditions expired, not kept forever

Lever four

Commitments

Reserved capacity and savings plans bought against a baseline that has actually been observed — never against a forecast, and never in a panic.

  • Baseline measured before buying
  • Coverage reviewed as usage moves
  • Never committed on a projection

Process

How the work runs

01

Attribute

Tag and map every resource to a service and an owner. Anything unattributable is the first finding, every single time.

02

Measure

Match the bill against real traffic — concurrency, delivered gigabytes, encode minutes — so cost per viewer becomes visible.

03

Act

Changes applied as Terraform through the normal pipeline, so every reduction is reviewable and reversible.

04

Watch

Budgets and anomaly alerts per service, reviewed on a cadence, so the next drift is caught in days rather than quarters.

Performance is not the thing being traded away

Most of these levers improve delivery as well as cost. A better cache hit ratio is a faster seek. Right-sized compute is compute that is not thrashing. Where a genuine trade-off exists it gets stated explicitly rather than absorbed quietly.

Questions

The things people ask first

Will you tell us to leave AWS?

Only for the tiers where the numbers say so, and only if they do. Plenty of workloads should stay exactly where they are, and the recommendation follows the measurement.

How much is typically recoverable?

It depends entirely on what has been engineered already, which is why no percentage is quoted here. A bill review produces a ranked list with a number attached to each item, from your data.

Is this a one-off or ongoing?

The review is one-off. Keeping the number where the review put it is ongoing, and that is what budgets, anomaly alerts and a regular review are for.

Send twelve months of invoices

With your concurrency curve and bitrate ladder. Most of the answer is already in the bill, unread.