Explainer

How Cloud Pricing Works, and Where the Bill Comes From

Compute is the line item everyone watches. Storage, egress and the managed services around them are frequently where the money actually goes.

How Cloud Pricing Works, and Where the Bill Comes From — illustration

Cloud infrastructure replaced a large capital purchase with a monthly bill, and in doing so changed what finance teams have to understand. A server bought outright is a known cost. A bill that varies with usage requires knowing what drives the usage.

The drivers are frequently not the ones customers watch.

Compute, and the commitment discount

Virtual machines are billed by the hour or second, at rates varying by processor, memory and region. On-demand pricing is the list price and the most expensive way to buy.

Providers offer substantial discounts for commitment — agreeing to a level of usage for one or three years. The discounts are real and large. The risk is the reverse: an organisation that commits to a level and then re-architects to use less is paying for capacity it no longer needs.

There is also spot or preemptible capacity, sold cheaply on the condition it can be reclaimed at short notice. Excellent for batch work that can restart; unsuitable for anything a customer is waiting on.

Egress

The charge that most reliably surprises people is data transfer out.

Moving data into a cloud is typically free. Moving it out is billed per gigabyte, and moving it between regions or availability zones is often billed too. An application that shuttles data between services in different zones can generate transfer charges exceeding what it pays for compute.

This has a strategic dimension that is worth naming plainly: the cost of leaving rises with the volume of data stored. That is an ordinary consequence of the pricing model, and it is also a meaningful switching cost.

Storage tiers

Storage is priced by volume and by access pattern. Cheaper tiers cost less to hold and more to read, sometimes with a delay before data becomes available.

The trap is data whose access pattern was misjudged. Archival storage read frequently can cost more than standard storage, because retrieval fees swamp the saving on capacity. Lifecycle policies that move data automatically help, provided the policy matches how the data is actually used rather than how someone assumed it would be.

Managed services

The largest structural cost driver is the shift from renting infrastructure to renting services.

A managed database costs more than running the same database on a rented machine. The premium buys backups, patching, failover and the engineering time that would otherwise go into those. That is often a good trade — the alternative is not free, it is staff.

But the premium is rarely measured. Teams adopt managed services for convenience without comparing the cost against the labour saved, and the bill grows through many small decisions none of which was individually examined.

Why bills grow faster than usage

Reserved capacity and the flexibility trade

Commitment discounts come in forms that differ in how much flexibility they preserve, and the difference is worth understanding before signing.

Instance-specific reservations offer the deepest discounts and lock you to a machine type in a region. Flexible commitments — agreeing to spend a certain amount per hour on compute generally — discount less but let the underlying resources change as architecture evolves.

For an organisation still changing how it builds software, the flexible form is usually worth its smaller discount. For a stable, well-understood workload, the specific form is money left on the table if unused.

The common error is committing at a level based on current usage during a period of active migration, then discovering the workload has moved to services the commitment does not cover.

Multi-cloud, and what it actually costs

Running across multiple providers is often proposed as a hedge against lock-in and outages. It has genuine benefits and unadvertised costs.

The costs are mostly organisational: each provider has different services, different operational models and different failure behaviour, so teams must maintain expertise in several. Data transfer between providers is billed at egress rates, which makes chatty cross-cloud architectures expensive. And using only the services common to every provider means forgoing the managed offerings that made the cloud attractive.

The honest position is that multi-cloud is a strategic choice with a real price attached, not a free hedge. Organisations that adopt it deliberately for specific workloads tend to do better than those adopting it wholesale as insurance.

Reading an invoice you did not design

Cloud bills are itemised at a level of detail that is comprehensive and close to unreadable — thousands of line items across services, regions and resource identifiers.

The practical approach is to work top down. A small number of services almost always account for most of the spend, and within those a small number of resources. Chasing a long tail of inexpensive items is a poor use of attention when a handful of oversized instances or a single misconfigured data transfer path dominates the total.

Anomaly detection is worth more than periodic review. Most large unexpected bills come from a change — a new deployment, a retry loop, a logging level left at debug — rather than from gradual growth, and the sooner it is caught the smaller the invoice.

What actually controls cost

The organisations that manage this well tend to do a few unglamorous things: tag resources so spending can be attributed to a team, show engineers the cost of what they run, review commitments against actual usage, and treat egress as an architectural constraint rather than a line item discovered afterward.

None of it is technically difficult. It is organisational, which is why it is frequently left undone until the bill forces the conversation.

Portrait of Marcus Ihejirika

Marcus Ihejirika

Technology Correspondent

More from Technology