Cost surprises rarely come from a single expensive instance. They come from architecture that never had a cost model.
When a cloud bill jumps, the usual response is a FinOps exercise: a dashboard, a list of idle resources, a push to buy commitments. Those steps help, and we recommend them. But in our experience most of the waste was designed in. It lives in data paths nobody sized, environments nobody turns off, and accounts nobody owns. Dashboards describe the bill; architecture decides it.
Treat cost as a design requirement
Performance, security, and availability all get discussed in design reviews. Cost usually does not, until the invoice arrives. Add it to the review template with a few concrete questions:
- What is the expected cost at today's volume, and at ten times that volume?
- What is the unit that cost scales with: requests, tenants, stored gigabytes, model tokens?
- Which component dominates cost, and what is the cheaper alternative we rejected?
- What stops this from growing without limit: quotas, retention, autoscaling bounds?
A rough estimate in a design document is worth more than a precise report three months after launch.
Measure unit economics, not just the total
A total bill that grows is not necessarily a problem; the business may be growing faster. What matters is the cost per unit of value: per active customer, per transaction, per thousand API calls, per document processed. Unit cost tells you whether architecture is getting more or less efficient as you scale, and it gives product and finance a shared language.
Getting there requires attributing cost to workloads. That means consistent tagging, or account-per-workload structures, and a clear rule for splitting shared costs such as clusters and networking.
Make ownership impossible to skip
Untagged, unowned resources are where waste hides, because nobody feels responsible for them. Enforce ownership at creation time rather than chasing it afterward:
resource "aws_organizations_policy" "require_owner_tags" {
name = "require-owner-and-cost-center"
type = "TAG_POLICY"
content = jsonencode({
tags = {
owner = { tag_key = { "@@assign" = "owner" } }
cost_center = { tag_key = { "@@assign" = "cost_center" } }
}
})
}A tag policy standardizes the keys and allowed values across the organization. On its own it does not stop someone creating an untagged resource, so pair it with a preventive rule in infrastructure-as-code checks: a pull request that creates an untagged resource fails before anything is provisioned. Retroactive tagging campaigns never finish.
Design environments to sleep
Non-production environments often cost as much as production, because they are copies of production that run all day, every day, for a handful of engineers who work eight hours. Defaults that make a real difference:
- Ephemeral preview environments created per pull request and destroyed on merge, instead of long-lived shared staging copies.
- Schedules that scale non-production compute down outside working hours and at weekends.
- Scale-to-zero platforms for low-traffic internal services.
- Smaller, cheaper data tiers in non-production, seeded with representative samples rather than full copies.
The goal is not to starve engineers of environments. It is to make environments cheap enough that everyone can have the one they need, for as long as they need it.
Watch the data paths
The costs that surprise experienced teams are usually about data moving, not compute running:
- Egress and cross-region transfer: serving large payloads to the internet, or replicating data between regions, is billed per gigabyte and adds up quietly.
- Cross-zone chatter: chatty services spread across availability zones pay for every byte that crosses a zone boundary.
- NAT gateways: private workloads that pull large volumes through a NAT gateway pay per gigabyte processed. Private endpoints for cloud services often remove most of that traffic.
- Observability ingestion: verbose logs and high-cardinality metrics can rival the cost of the service they describe.
- Storage without lifecycle rules: data kept forever in the most expensive tier because nobody decided otherwise.
Draw the data flow diagram with the bytes on it. Most expensive architectures look obviously expensive once the arrows have numbers.
Rightsize before you commit
Savings plans and reserved capacity are powerful, but they lock in whatever you have. Commit after rightsizing, not before, or you will spend a year paying a discount on waste. A sensible order:
- Remove what is idle or orphaned.
- Rightsize what remains using real utilization data over a few weeks.
- Move suitable workloads to cheaper options such as spot capacity or newer instance families.
- Commit to the stable baseline that is left, and leave headroom for change.
Build a cadence with engineering owners
Cost work fails when it is a finance report that engineers never see. It works when each team sees its own costs, trends, and unit economics regularly, alongside its reliability and delivery metrics. A monthly review with engineering owners, looking at anomalies, top movers, and planned architecture changes, keeps cost a normal engineering concern rather than a periodic crisis.
Anomaly alerts help too: a daily check that flags any service whose spend jumps well above its recent baseline catches runaway jobs and misconfigurations in days rather than at month end.
Where to start
- Enforce owner and cost-center tags on new resources and attribute existing spend to teams as far as you can.
- Pick one unit metric per major product and start reporting it monthly.
- Put schedules or scale-to-zero on non-production environments.
- Review the three largest data transfer and observability line items and trace each to a design decision.
- Add cost questions to your architecture review template.
The cheapest resource is the one your architecture never needed.