BLUEPRINT · The Solution Architect's Codex
Ch 15 · Cost & FinOps Architecture
Chapter 15 · Architecture has a recurring bill

Cost & FinOps Architecture — design as a financial act

Every box you draw, every queue you specify, every region you replicate to is a line item on next month's invoice. The architect who cannot read a bill — or write one before signing a design — has handed the wheel to whoever does. FinOps is the discipline of bringing the cloud bill into the same engineering loop as latency and security, with the same rigour: vocabulary, frameworks, measurement, optimisation, and accountability.

15.1 · Why cost is an architectural concern

Pre-cloud, infrastructure was capex: bought once, depreciated over five years, owned by Finance. Post-cloud it is opex: metered by the second, owned by whoever's IAM role spun it up. Architectural decisions — region count, storage class, instance family, retention period, replication factor, sync vs async — directly choose the monthly invoice. A solution architect who hands a design to engineers without a unit-cost model has not finished the design.

The 80/20 of cloud waste
The Flexera State of the Cloud survey (annual since 2017) consistently reports 28–32 % of cloud spend as waste — idle resources, oversized instances, forgotten dev/test, untiered storage. None of it is exotic. All of it is architectural.

15.2 · Finance vocabulary every architect should speak

TermDefinition
TCO · Total Cost of OwnershipAll costs over the asset life — purchase + operate + retire (Gartner, 1987)
ROI · Return on Investment$(\text{gain} - \text{cost}) / \text{cost}$ — percentage
NPV · Net Present ValueFuture cash flows discounted to today at rate $r$ — positive ⇒ invest
IRR · Internal Rate of ReturnDiscount rate that makes NPV = 0; compare to hurdle rate
Payback periodMonths until cumulative savings equal investment
OpEx vs CapExOperating expenses (P&L) vs capital expenditures (depreciated)
DepreciationSpreading a CapEx asset's cost over its useful life (straight-line, MACRS)
COGS · Cost of Goods SoldDirect cost to deliver the product — cloud bills usually live here
Unit economicsCost-per-transaction, cost-per-tenant, cost-per-request
Gross margin(Revenue − COGS) / Revenue — board-room number
CAC / LTVCustomer acquisition cost vs lifetime value — SaaS health
Burn rate / runwayMonthly cash consumption / months until insolvency

15.3 · FinOps Foundation framework

The FinOps Foundation (founded 2019, now part of the Linux Foundation) publishes the canonical practitioner framework. Six guiding principles:

  1. Teams need to collaborate (engineering, finance, product).
  2. Everyone takes ownership of their cloud usage.
  3. A centralised team drives FinOps (rate optimisation, governance).
  4. Reports should be accessible and timely.
  5. Decisions are driven by business value of cloud.
  6. Take advantage of the variable cost model of cloud.

The framework defines three iterative phases for every workload and every team:

Inform
visibility, allocation, benchmarking
→
Optimize
right-size, RIs/SPs, eliminate waste
→
Operate
automate, govern, embed

15.4 · FinOps capabilities (Framework v2024/2025)

The 2024–25 refresh organises practice around six domains, each with several capabilities. Architects read this as a checklist of who-must-do-what.

DomainRepresentative capabilities
Understand Usage & CostData ingestion · Allocation · Reporting & analytics · Anomaly management
Quantify Business ValuePlanning & estimating · Forecasting · Budgeting · Unit economics · Benchmarking
Manage the FinOps PracticeStrategy · Education & enablement · Cultural change · Cadence & intersection with other frameworks
Optimize Usage & CostRate optimisation (commitments) · Architecting for cloud · Workload management & automation
Workload OptimizationContainers, Kubernetes, data & AI, licensing
Cloud SustainabilityCarbon reporting · Green-aware scheduling · ESG alignment (added 2023)

15.5 · FOCUS — FinOps Open Cost & Usage Specification

FOCUS (FinOps Open Cost & Usage Specification, v1.0 released June 2024) is a vendor-neutral schema for billing data so an organisation with AWS, Azure, GCP, OCI, and SaaS bills can normalise them into one fact table. Mandatory columns include BilledCost, EffectiveCost, ListCost, ProviderName, ResourceId, ServiceCategory, ChargeCategory (Usage/Purchase/Tax/Adjustment), BillingPeriodStart/End. The major providers publish native FOCUS exports — eliminating most of the bespoke ETL that used to swallow FinOps team time.

15.6 · Tagging strategy

Allocation depends on tags. A weak tag standard is the single biggest predictor of FinOps failure. Required tag set, enforced from day one:

TagPurposeExample
cost-centreWhere the charge landsCC-4711
environmentFilter prod vs non-prodprod / staging / dev
ownerPerson or squad accountablesquad-checkout
applicationProduct / serviceorders-api
criticalityTier for governancetier-1 / tier-2 / tier-3
data-classificationTies to security & retentionpublic / internal / confidential / restricted

Policy-as-code enforcement: AWS Service Control Policies + Tag Policies Azure Policy + Tag inheritance GCP Organization Policy + Required Labels HashiCorp Sentinel OPA / Conftest. Block creation of resources missing required tags — retro-fixing is futile.

15.7 · Cost allocation models

ModelHow it worksTrade-off
ShowbackCosts shown to consumers; not actually billed internallyVisibility without political pain; weaker accountability
ChargebackCosts billed against the cost-centre's budgetStrong accountability; risks gaming and friction
CentralisedOne platform team owns commitments and shared infraBest rate optimisation; harder unit-economics granularity
FederatedEach business unit manages own accounts/subscriptionsLocal agility; lost discounts and duplicated effort
Hybrid (recommended)Central FinOps team + embedded champions + chargeback for variable, showback for sharedMost organisations land here

15.8 · The Optimize playbook

The levers, ordered roughly by typical payback period:

  • Reaper for unused resources — unattached EBS volumes, idle load balancers, dormant snapshots, orphaned NAT gateways. 1–4 week payback.
  • Right-sizing — use AWS Compute Optimizer, Azure Advisor, GCP Recommender. Most clusters run at < 30 % CPU.
  • Commitment-based discounts — Reserved Instances, AWS Savings Plans (Compute / EC2 / SageMaker), Azure Reserved VM Instances + Savings Plan for Compute, GCP Committed Use Discounts (resource-based and flexible). Typical 30–70 % off list.
  • Spot / pre-emptible / low-priority — 60–90 % off for interruption-tolerant workloads. AWS Spot, Azure Spot VMs, GCP Spot/Pre-emptible.
  • Storage tiering — S3 Intelligent-Tiering / Glacier Instant/Flexible/Deep Archive, Azure Cool/Cold/Archive, GCS Nearline/Coldline/Archive. Lifecycle policies move data automatically.
  • ARM / Graviton — AWS Graviton3/4, Azure Cobalt 100, GCP Axion. 20–40 % better price-performance for many workloads.
  • Scale-to-zero — serverless (Lambda, Functions, Cloud Run), Knative, KEDA. Pay only for invocation.
  • Data egress reduction — keep traffic in-region, use VPC endpoints, CloudFront/Front Door/Cloud CDN, peering.
  • Log & observability retention — hot 7–30 d, warm 90 d, cold/object 1–7 y. Sample debug traces.
  • Database optimisation — Aurora Serverless v2, autoscaling read replicas, partitioning, materialised views, query plan review.
Optimisation cadence
Run a structured cost-review every two weeks per team; quarterly with the central FinOps board. Track $/transaction and $/tenant as trended KPIs.

15.9 · SaaS / vendor cost

TrapWhat goes wrong
Per-seat trapCost scales with org headcount, not value delivered
"Free for first N" trapAdoption explodes past the free tier; bill arrives mid-quarter
Consumption surprisesPer-request or per-GB pricing without a budget alarm
Lock-in costProprietary data formats; switching cost dwarfs licence savings
Exit costData egress fees on termination; re-platforming effort
ShelfwareLicences purchased annually, used by 10 % of seats

15.10 · Vendor selection rubric (build vs buy)

A weighted scorecard, signed off by Architecture + Procurement + Security + Finance.

CriterionWeightWhat you score
Strategic differentiation20 %Is this capability part of our competitive moat? (If yes, lean build.)
Switching cost15 %Data export, standards alignment, contractual exit
3-year TCO15 %Licence + integration + run + exit
Security & compliance15 %SOC 2 Type II, ISO 27001, regional residency, BAA/DPA
Support & SLA10 %24×7, response & resolution SLAs, named TAM
Roadmap fit10 %Public roadmap, recency of releases, customer council
Financial viability10 %Funding stage, runway, revenue, parent guarantee
Ecosystem & integrations5 %SDKs, marketplace presence, terraform provider

15.11 · Cost as a fitness function

Cross-reference Ch 05.9 and Ch 17.6. Treat cost like latency: assert it in CI, alarm it in production.

  • Infracost (2020) — diff cost of a Terraform PR before merge; fail the build if monthly delta exceeds threshold.
  • AWS Budgets / Cost Anomaly Detection · Azure Cost Management · GCP Billing Budgets — alarm on absolute and forecast.
  • OpenCost (CNCF Sandbox, 2022) — Kubernetes pod/namespace/label-level cost.
  • Kubecost — UI on top of OpenCost; chargeback reports.
  • Unit-economics dashboards — $/checkout, $/active-user, $/tenant trended weekly.
# PR-time gate (CI pipeline)
infracost diff --path . --format json | \
  jq -e '.totalMonthlyCost < 5000' || exit 1

15.12 · Sustainability

Cost and carbon correlate strongly but not perfectly. The architect must read both.

ReferenceWhat it gives you
AWS Well-Architected Sustainability Pillar (2021)Six design principles; region selection by carbon intensity
Azure Emissions Impact Dashboard / Sustainability ManagerScope 1/2/3 attribution by subscription
GCP Carbon Footprint + Active AssistRegion carbon data; idle resource recommendations
SCI — Software Carbon Intensity (Green Software Foundation, 2021)$\text{SCI} = ((E \cdot I) + M) / R$ — Energy × grid Intensity + embodied, per functional unit
Cloud Carbon Footprint (Thoughtworks, OSS)Cross-cloud emissions estimation
Carbon-aware schedulingShift batch to low-carbon regions/hours (WattTime, Electricity Maps APIs)
Architect's heuristic
The greenest watt is the one you don't draw. Right-size, scale-to-zero, and choose ARM before you chase region carbon scores.

15.13 · Self-check

Q1 · Which specification, released v1.0 in 2024, normalises billing data across cloud providers?
OpenCost
FOCUS
FinOps Framework
CBF (Cloud Billing Format)
Q2 · The FinOps Foundation defines three iterative phases. They are…
Plan, Do, Check
Inform, Optimize, Operate
Discover, Allocate, Eliminate
Build, Run, Improve
Q3 · Which allocation model gives consumers visibility into their costs without internal billing?
Showback
Chargeback
Centralised pooling
Federated billing
Q4 · SCI by the Green Software Foundation expresses carbon intensity as…
Total annual emissions per company
((E × I) + M) divided by a functional unit R
CapEx + OpEx + Carbon Tax
kWh per virtual CPU-hour