Cost as an architectural concern (FinOps)
In the cloud, architecture decisions are spending decisions. Choosing a database, a region, a replication strategy or a logging level sets a monthly bill that runs for years. FinOps (cloud financial operations) is the practice of making that cost visible and shared between engineering, finance and the business, so teams can make trade-offs knowingly. The FinOps Foundation (opens in a new tab) describes it as a cycle of three phases: Inform, Optimize and Operate.
Cost is a quality attribute like performance or availability. Every major cloud’s well-architected framework treats it as a pillar.
Diagram
Section titled “Diagram”- Inform makes cost visible and attributes it to teams, products and customers.
- Optimize acts on it, from quick savings to architectural changes.
- Operate builds cost into budgets, reviews and team ownership, which keeps the information flowing.
Design for cost visibility
Section titled “Design for cost visibility”- Tag or label everything with owner, product, environment and cost center, enforced by policy in the landing zone.
- Separate accounts or subscriptions by product and environment, so cost is attributable even when tags are missing.
- Measure unit cost: cost per order, per customer, per transaction or per thousand API calls. Total spend rising is fine if the business is growing faster; unit cost rising is the signal that matters.
- Show teams their own costs, daily, next to their other dashboards.
Architectural levers
Section titled “Architectural levers”| Lever | Examples |
|---|---|
| Right service model | Serverless for spiky or idle workloads; reserved or committed capacity for steady ones. See serverless vs containers |
| Right size | Instance and database sizes based on measured use; autoscaling to zero where possible |
| Storage tiers | Lifecycle rules moving old data to cheaper tiers; deleting what nobody needs |
| Data transfer | Keeping chatty components in the same zone or region; caching; avoiding cross-cloud traffic |
| Resilience level | Multi-region active-active costs far more than backup and restore; match it to the business’s real RTO and RPO |
| Observability volume | Sampling traces, shorter log retention, dropping debug logs in production |
| Environments | Shutting down non-production outside working hours; ephemeral test environments |
| Commitments | Savings plans, reserved instances and committed-use discounts for the predictable baseline |
Make it part of design
Section titled “Make it part of design”- Include an estimated monthly cost and its main drivers in design documents and ADRs, and compare options on cost alongside other qualities.
- Ask what makes this cost grow: users, data, requests, regions? Designs whose cost grows faster than their use need attention.
- Set budgets and anomaly alerts per team and product, so a runaway job is noticed in hours, not at month end.
- Review cost after launch against the estimate, and learn from the difference.
Common pitfalls
Section titled “Common pitfalls”- Optimizing only by discounts, buying commitments for waste you should have removed.
- Central cost policing with no team ownership; savings don’t stick.
- Ignoring data transfer and observability costs, which often grow fastest.
- Cutting resilience to save money without telling the business what level of outage it is now accepting.
Related patterns
Section titled “Related patterns”- Total cost of ownership calculator
- Well-architected frameworks compared
- Counterexample: autoscaling handles spikes
Further reading
Section titled “Further reading”Written and edited by Abhinav Taduka, enterprise software architect.
New pages are added regularly. Follow Abhinav on LinkedIn to see them first.