FinOps and cost-control limitations
Reconcile actual costs against the plan
Start with the estimate from the preceding lesson and compare it with fictional observed charges at the same time and allocation scope. A plan may omit resources created outside Terraform, or a retained resource may still incur charges after another resource is removed. Use billing exports, approved resource inventory and ownership metadata to identify each variance. The following table compares only the listed rows, not a full provider invoice.
Fictional monthly reconciliation (USD)Item Planned ObservedKnown baseline 147.60 147.60Unplanned test disk 0.00 12.00Retained snapshots 0.00 8.00Extra egress 0.00 18.00Total of listed items 147.60 185.60Variance 38.00Owner review: test disk, retention policy, network trafficNot a complete invoice; omitted fees remain unknownThe $38.00 increase is about 25.75% of the original known subtotal. The disk may belong to a different root; the snapshots could be required by a recovery policy. Do not automatically delete them. Find the owner, check retention and dependencies, review a scoped plan and test recovery where appropriate.
Allocate direct and shared costs
Use owner, environment, service and cost-center metadata where the provider supports it. Confirm allocation tags or labels appear in billing exports; enabling them can require separate configuration and may not apply retroactively. Some costs lack tags or belong to shared networking, logging or support. Agree on a documented allocation method and keep an unallocated bucket rather than silently dropping unknown ownership.
Shared gateway cost: 32.80 USDCatalog traffic share: 75% -> 24.60 USDSearch traffic share: 25% -> 8.20 USDAllocation sum: 32.80 USDThis splits an existing cost rather than adding another $32.80 to the bill. If bytes are not a fair proxy for benefit, choose another driver with the teams and record it.
Measure business value and efficiency
Choose a unit that reflects the workload: completed orders, successful API requests or processed jobs. Compare consistent cost scopes and successful outcomes, not simply raw requests. The following fictional calculation uses only known cost rows, so it is partial unit economics.
185.60 USD / 8,000 completed orders = 0.0232 USD/order200.00 USD / 10,000 completed orders = 0.0200 USD/orderThe second scenario has a higher total cost but a lower cost per order. This does not independently prove improvement; examine latency, errors, service objectives and the excluded costs. A lower cost achieved by losing data or reducing availability below requirements is not a valid optimization.
Treat budget alerts and enforcement as different controls
Budget alerts communicate actual or projected threshold crossings. AWS warns that notification can lag incurred costs; ordinary Azure budgets and Google Cloud alerts-only budgets do not automatically stop usage. Some products offer separately configured actions. Google Cloud documents spend cap budgets for eligible services scoped to a single project and service, but enforcement can lag, overage remains possible, and unrelated charges are outside that scope. Verify eligibility, current status and billing terms before relying on such a feature. Do not treat any budget as a universal hard ceiling.
Fictional monthly target: 200 USD80% actual-spend notification: 160 USDObserved listed charges: 185.60 USDResponse: notify owner, investigate variance, update forecastNo automatic resource deletion or commitment purchaseUse bounded resource sizes, quotas where appropriate, controlled deployment permissions and review of retention and spend alongside alerts. Quotas constrain specific resources or operations, not the total invoice.
Build a safe cost review workflow
Before apply, require an owner, reviewed assumptions, unestimated-item disposition, scope-matched budget and plan approval. After apply, compare observed spend with the forecast, investigate anomalies and evaluate idle resources using utilization and service requirements. Check backups, legal retention, security and availability before any change. An authorized team can then review a new Terraform plan and verify the actual outcome. The included decision model blocks incomplete estimates; it does not authorize a deployment.
Unexpected charge -> confirm scope and rate -> identify owner-> check utilization, retention and dependencies -> compare options-> approve scoped change -> verify cost and service healthNext: performance, scale and infrastructure reliability.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
FinOps and cost-control limitations — knowledge check
Review infrastructure cost modeling and cost-control limitations.
Listed actual costs are $185.60 and the baseline is $147.60. What is the variance?
How should an untagged shared cost be handled?
Why is a cost alert not a universal spending cap?
What is $185.60 divided by 8,000 successful orders?
An apparently idle disk is discovered. What should happen before deletion?