The Economics of Software
The Cloud Bill Is an Architecture Review Nobody Conducted
Infrastructure spend is the accumulated consequence of design choices, traffic patterns, operational habits and constraints. The invoice is often the first place those choices become visible together.
A cloud invoice is not just a finance document. It is a delayed, itemised record of how a system was designed, deployed and operated.
It reflects choices about data movement, storage retention, replication, instance shape, idle capacity, network topology, observability, backups and failure recovery. Some of those choices were deliberate. Others accumulated one deployment at a time.
The uncomfortable part is that the bill often exposes architectural decisions that were never reviewed as a whole.
Cost is a property of the system
A service that writes too much data creates storage and replication cost. A design that moves large payloads across availability zones creates network cost. A workload with a poor utilisation profile may pay for capacity that spends much of its life waiting. A chatty service graph can turn a small request into a surprising amount of network and compute activity.
None of these is fixed by asking procurement for a discount. Discounts change the price of a resource. They do not remove unnecessary work.
Start with the shape of spend
Break the bill down by workload, environment, service, data movement and time. Separate baseline demand from bursts. Identify idle resources, duplicated environments, oversized instances, retention policies that outlived their purpose and data paths that move bytes without adding value.
Then connect each cost to a system behaviour. A line item without an owner or workload context is difficult to improve safely.
Optimise the architecture, not the spreadsheet
The cheapest architecture on paper may be expensive to operate. Lower redundancy can increase recovery time. Aggressive compression can consume CPU. Smaller instances can increase coordination overhead. Moving data less often can make it less available to the systems that need it.
Cost optimisation is therefore a constrained engineering problem. The objective is not minimum spend at any cost. It is the lowest sustainable cost that meets the product’s requirements for latency, availability, durability and operational effort.
The bill is a useful signal, but it is not a diagnosis. Engineers still need to trace spend back to workload behaviour and make the trade-offs explicit.
A cloud bill is an architecture review waiting to happen. The useful question is what the system is doing to earn every line item.