Cost Engineering
Cost as a design constraint, not a monthly report. Which meter runs, which line item nobody predicted, and why the bill can triple without the compute changing at all.
No figure anywhere on this page is a price. Every bar, weight and comparison here teaches the shape of a cost and what drives it. Real rates depend on provider, region, commitment, volume and the day you look. Learn which meter runs and which line item is the surprise; look up the number when you actually need it.
Where the bill actually comes from
Relative weights, not currency. The point is which line item moves when the architecture changes.
fixed weight is committed at provision time; usage weight follows the workload. idle = 100% − 35% used → headroom 25% (chosen) + waste 40% (not chosen)
The bytes did not change. The path did.
The same bytes, four paths. Data movement is where the bill goes quietly wrong.
weight per TB: zone=0 private=1 xzone=2 xregion=5 cdn=6 nat=12 peer=12
The seven cost lessons
Drivers, fixed against usage-shaped spend, idle capacity versus headroom, right-sizing, per-service attribution, egress and storage that ages.
Cost is a design constraint, not a monthly report. The ten drivers that actually move an infrastructure bill, why the ones nobody predicts are always the ones that move bytes rather than store or compute on them, and how to make spend a signal an engineer reads.
An always-on instance bills for existing; a serverless invocation bills for happening. The crossover between those two shapes decides which one is cheaper, it moves with traffic, and nobody can tell you where it sits for your workload without measuring — which is why every number here is illustrative.
Allocated 100 CPU, using 12. The naive reading is that 88 units are wasted; the honest reading is that some of them are the reliability budget. Telling the two apart — and cutting only the second — is the difference between a saving and an outage at the next spike.
A 32 GiB instance with 4 GiB in use looks like an obvious eight-fold over-provision. It sometimes is. But average use is not a sizing input: size for the peak, then for what happens when a zone fails and its traffic lands on the survivors.
Breaking the bill down by service turns "infrastructure costs too much" into a conversation someone can act on. The mechanism is tagging, the hard part is the shared resources that resist attribution, and the honest output is an allocation rule everybody agreed to rather than a precise truth.
The line item that surprises everyone. Storing a terabyte is cheap; serving it repeatedly is not, and the meters sit on paths an architecture diagram draws as plain arrows — internet egress, cross-region replication, cross-zone chatter and the NAT you forgot processes every outbound byte.
Data gets colder with age and almost nothing deletes itself. Lifecycle policies move objects down the tiers automatically — and the archive tiers hide a trap, because they charge to read the data back, charge again if you delete it early, and take hours to return it.