LOOP · The DevOps Codex
Ch 19 · FinOps & Cost Engineering
Chapter 19 · The Other Half of Engineering Excellence

FinOps & Cost Engineering — unit economics at cloud speed

Cloud is variable-cost infrastructure consumed by engineers — which means the people writing terraform apply are the same people setting the monthly bill. FinOps is the cultural and operational practice that puts financial accountability into that loop: real-time visibility, ownership, value-based decisions, and continuous optimisation. This chapter walks the FinOps Foundation framework, the FOCUS billing spec, the tag taxonomy, the optimisation playbook, the tooling, and the sustainability layer that sits on top.

19.1 · What FinOps actually is

Definition. FinOps is an evolving cultural practice and operational discipline that enables organisations to get maximum business value from cloud by helping engineering, finance, and business teams collaborate on data-driven spending decisions. The term was coined around the launch of the FinOps Foundation, founded 2019 and now part of the Linux Foundation. It is not "cloud cost cutting" — it is making cost a first-class engineering signal alongside latency and reliability.

The shorthand
"DevOps brought ops into engineering. FinOps brings finance into engineering." Same shift-left dynamic, applied to dollars.

19.2 · The six FinOps principles (FinOps Foundation)

#PrincipleWhat it means in practice
1Teams need to collaborateEng, finance, product in the same standing meeting and dashboard.
2Decisions driven by business value of cloudOptimise unit cost (per request, per customer), not absolute spend.
3Everyone takes ownership for their cloud usageThe team that creates a resource owns its bill.
4FinOps data should be accessible & timelyYesterday's spend, in the developer's dashboard, no Jira ticket.
5A centralised team drives FinOpsSmall core team builds the practice; doesn't own every line item.
6Take advantage of the variable cost modelRight-size, scale, schedule, commit — use the elasticity you're paying for.

19.3 · The three phases — Inform, Optimize, Operate

The FinOps Foundation's maturity model. Each phase is iterative — teams may be at different maturities for different capabilities (crawl / walk / run).

INFORM visibility · allocation benchmarking OPTIMIZE right-size · RIs / SPs spot · cleanup OPERATE policy · automation continuous practice iterate — never "done"

19.4 · The 2025 FinOps Framework — 24 capabilities

The framework groups 24 capabilities under 6 domains. You don't need all of them; pick by your maturity and pain.

DomainCapabilities (selection)
Understand Usage & CostData Ingestion & Normalization; Allocation; Reporting & Analytics; Anomaly Management.
Quantify Business ValuePlanning & Estimating; Forecasting; Budgeting; Benchmarking; Unit Economics.
Manage the FinOps PracticeFinOps Education & Enablement; FinOps Practice Operations; Cloud Policy & Governance; Invoicing & Chargeback.
Optimize Usage & CostArchitecting for Cloud; Rate Optimization (RIs/SPs/CUDs); Workload Optimization; Cloud Sustainability.
Workload OptimizationOnboarding workloads; Licensing & SaaS; Intersecting Disciplines (FinOps × ITAM, × ITFM, × SRE, × Platform, × Sustainability, × Security, × Procurement).
Cloud SustainabilityCarbon-aware reporting & design; alignment with GSF SCI.

19.5 · FOCUS — the open billing schema

FOCUS (FinOps Open Cost & Usage Specification) is a vendor-neutral standard for cloud billing data, governed by the FinOps Foundation. v1.0 shipped 2024; v1.1 followed; v1.2 expands SaaS coverage. AWS CUR 2.0, Azure Cost Management exports, GCP BigQuery billing exports, Oracle, and OCI all publish FOCUS-conformant data. Result: one query joins all clouds.

FOCUS column (selection)Meaning
BilledCostWhat you'll pay after commitments.
EffectiveCostCost after amortisation of RIs/SPs.
ServiceCategory / ServiceNameNormalised service taxonomy across providers.
ChargeCategoryUsage / Purchase / Tax / Credit / Adjustment.
SkuPriceIdStable price reference for trend analysis.

19.6 · Tagging strategy — the foundation everything rests on

Without consistent tags you cannot allocate cost, cannot apply policy, cannot deprovision orphan resources. A handful of required tags, enforced from day one, is the single highest-ROI FinOps action.

cost-centre

The budget owner (e.g. BU-PAYMENTS). Drives showback / chargeback.

env

prod | stg | dev | sandbox. Lets you reaper non-prod aggressively.

owner

Slack handle or email. Auto-pings on anomaly.

app

Logical service / application. Joins to catalog (Backstage).

criticality

tier-0..tier-3. Drives reliability spend & sunsetting rules.

tenant

For multi-tenant SaaS — enables per-customer unit economics.

CloudEnforcement mechanism
AWSService Control Policies (SCP), tag policies, AWS Config rules, CloudFormation hooks.
AzureAzure Policy (Require a tag and its value), Management Group inheritance.
GCPOrganization Policy + IAM conditions, label-required custom constraints.
K8sKyverno / OPA Gatekeeper require labels on namespaces and workloads.
Terraformdefault_tags (AWS provider), pre-apply policy (Sentinel, OPA, Checkov).

19.7 · Allocation models — showback vs chargeback

ModelWhat it isUse when
ShowbackCosts are visible per team but stay on a central P&L.Early maturity — change behaviour without finance plumbing.
ChargebackCosts are actually billed to the consuming team's budget.Mature orgs; requires accurate tagging and finance buy-in.
CentralisedOne FinOps team owns the bill and reports.Single business unit or small org.
FederatedEach BU has its own FinOps lead under a central guild.Enterprise scale.
Unit economicsCost per active user, per transaction, per tenant, per token.The ultimate measure — links spend to business value.

19.8 · The optimisation playbook

Right-sizing

Use VPA / Goldilocks / Densify / Cloudability recommendations to match real demand. p99 utilisation, not p50.

Commitment discounts

AWS Reserved Instances & Savings Plans, Azure Reservations & Savings Plans, GCP Committed Use Discounts (CUDs). 1y/3y, often 30–60% off.

Spot / preemptible

EC2 Spot, GCP Spot VMs, Azure Spot — up to 90% off for interruptible workloads (batch, CI, stateless web with replicas).

Storage tiering

S3 Intelligent-Tiering, S3 Glacier IR / Deep Archive; Azure Blob Cool/Cold/Archive; GCS Nearline/Coldline/Archive; lifecycle policies.

ARM / Graviton

20–40% better price-performance vs x86 with negligible porting cost for most JVM / Go / Node workloads.

Scale-to-zero

KEDA, Knative, Cloud Run, Lambda — pay for requests, not idle. Especially for dev/test.

Log retention tuning

Hot 7 days, warm 30, cold 1y, archive 7y — and stop logging at DEBUG in prod.

Idle reaper

Cleanup orphan EBS volumes, unattached EIPs, idle load balancers, snapshot sprawl. Cloud Custodian or vendor tools.

NAT egress reduction

VPC endpoints (Gateway/Interface) keep S3/DynamoDB/etc traffic off the NAT. A single under-noticed line that can save five-figures/month.

19.9 · Tools — the FinOps landscape

ToolVendorStrength
CloudabilityApptio (IBM, 2024)Enterprise multi-cloud TBM lineage; ITFM integration.
CloudHealthVMware Tanzu (Broadcom)Mature multi-cloud governance; policy + chargeback.
VantageVantageEngineer-friendly UX, fast onboarding, autopilot recommendations.
CloudZeroCloudZeroUnit-economics focus; "cost per customer / feature".
ProsperOpsProsperOpsAutonomous commitment management — buys/sells RIs/SPs for you.
Spot.ioNetApp SpotSpot-instance fleets & K8s Ocean autoscaler.
ZestyZestyReal-time RI/SP automation + disk autoscaling.
DensifyDensifyRight-sizing recommendations driven by ML.
OpenCostCNCF Incubating (OSS)The vendor-neutral Kubernetes cost model.
KubecostIBM (acquired 2024)OpenCost-based product; per-namespace / pod / label allocation.
KarpenterAWS → CNCFJust-in-time node provisioning + consolidation; saves on bin-packing waste.
InfracostInfracost (OSS + SaaS)Posts the cost diff of a Terraform PR as a check on GitHub/GitLab.

19.10 · Kubernetes cost — the bin-packing problem

K8s costs are the sum of nodes, not pods — so optimisation is about packing pods tightly and shedding nodes. Three levers dominate.

  • Requests vs limits — over-requesting CPU/memory leaves stranded capacity. Use VPA / Goldilocks to recommend; review monthly.
  • Karpenter consolidation — periodically replaces lightly-loaded nodes with smaller ones, or evicts to bin-pack onto fewer nodes.
  • OpenCost / Kubecost — emit per-namespace, per-label cost so each app team sees its share. Combine with chargeback for behaviour change.
Quick win
Half of Kubernetes overspend is wrong requests. Pull a week of actuals, set requests to p95+headroom, watch your node count drop overnight.

19.11 · Sustainability — the carbon dimension

The same elasticity that enables cost savings enables carbon savings. The Green Software Foundation (Linux Foundation, 2021) defines the Software Carbon Intensity (SCI) specification: SCI = (E·I + M) / R — energy × grid intensity + embodied carbon, per unit of work.

Tool / reportWhat it gives
AWS Customer Carbon Footprint ToolPer-account, per-service tCO₂e by month and region.
Azure Emissions Impact DashboardScopes 1–3 for Azure consumption.
GCP Carbon FootprintBigQuery-exportable per-project gross + net emissions.
Kepler (CNCF Sandbox)eBPF-based per-pod energy estimation in Kubernetes.
Cloud Carbon Footprint (OSS)Open implementation across AWS / Azure / GCP; useful for FinOps + sustainability reporting.
Carbon-aware schedulingWattTime / Electricity Maps signals → shift batch / training to greener regions or hours.

19.12 · Anti-patterns

Dashboards no one reads

If the dashboard isn't in the team's standing meeting, it isn't a dashboard. It's a wallpaper.

No tag enforcement

40% of spend in "untagged" makes allocation impossible. Block creation of untagged resources.

Optimisation events

"Q4 cost-saving sprint" instead of a daily practice. The savings vanish by Q2.

RIs without strategy

Buying 3-year RIs for workloads about to migrate to Spot / Lambda / ARM. Plan commitments against architecture roadmap.

Finance owns FinOps

Without engineers in the room, the levers don't move. Finance facilitates; engineering executes.

Single-currency thinking

Optimising for $ while carbon doubles. Track both — they often move together.

The AI cost wave
2025 saw a 5–10× rise in compute spend for teams running LLM workloads. FinOps for AI is now a distinct sub-practice: cost per token, cost per training run, cost per inference, model-tier selection — sometimes called TrainOps. Tag your model deployments today.

19.13 · Self-check

Q1 · The FinOps Foundation framework's three phases are…
Plan, Build, Run
Inform, Optimize, Operate
Crawl, Walk, Run
Tag, Allocate, Reduce
Q2 · FOCUS v1.x is…
A Kubernetes cost autoscaler
a vendor-neutral cloud billing schema
An AWS-only spec
A FinOps certification
Q3 · The fastest Kubernetes cost win is usually…
Switching CNIs
right-sizing pod CPU/memory requests
Buying 3-year RIs immediately
Disabling kube-proxy