Home / Journal / OCI Cost Optimization / OCI Cost Governance with Budgets and Quotas
OCI Cost Optimization

OCI Cost Governance with Budgets and Quotas

Optimisation finds savings. Governance keeps them. Budgets and quotas are the two controls that stop OCI spend running away, and used well they protect the bill without slowing the teams.

Published Aug 12, 2024 · OCI Specialists · 10 min read
OCI Cost Governance with Budgets and Quotas

Cutting the bill once is the easy half. Keeping it down is the hard half, because an estate optimised in spring drifts back to waste by autumn as new resources are provisioned and old ones linger. The discipline that prevents that drift is governance, and on OCI it rests on two controls that work in different ways. Budgets watch spend and warn you. Quotas cap consumption and stop it. Used together they form the guardrails that keep the savings from the optimisation work from leaking away, and used badly they either do nothing or block the teams from getting their work done.

Budgets, the early warning system

An OCI budget sets a spending threshold against a compartment or a tag, and triggers alerts as actual or forecast spend approaches it. The crucial point is that a budget does not stop anything. It tells you the spend is heading somewhere you did not intend, in time to act, but it relies on someone acting. This makes budgets the right tool for visibility and accountability rather than enforcement. A well configured set of budgets means no large overspend arrives as a surprise, because the alert fired while there was still time to investigate, which is the core of avoiding bill shock.

Quotas, the hard limit

A compartment quota is enforcement. It sets a limit on how much of a given resource can be provisioned in a compartment, and when the limit is reached, further provisioning is refused. Where a budget warns, a quota blocks. This makes quotas powerful and also something to handle with care, because a quota set too tight stops legitimate work and a quota set too loose protects nothing. Quotas are the right tool where you genuinely want to cap consumption, for example preventing a development compartment from ever provisioning an expensive shape it has no business running.

ControlWhat it doesBest used for
BudgetAlerts as spend nears a thresholdVisibility, accountability, early warning
QuotaBlocks provisioning past a limitHard caps on resource consumption
TogetherWarn early, enforce where it mattersGovernance that protects without blocking
A budget that no one acts on is decoration. A quota set without thought is an outage. Governance is the judgement that sits between them.

The difference between alerting and enforcement

The most common governance mistake is confusing the two controls. Teams set budgets and assume spend is capped, when in fact budgets only alert, so the overspend happens anyway while everyone assumes a limit was in force. Others set aggressive quotas across the estate and discover that delivery has ground to a halt because legitimate provisioning is being refused. The art is matching the control to the intent. Use budgets where you want awareness and human judgement, use quotas where you want a genuine ceiling, and be clear in every case which one you have actually deployed.

Governing by compartment

Both controls hang off the compartment structure, which is why a sensible compartment design is the foundation of cost governance. Compartments that map to teams, environments, or workloads let you set budgets and quotas that mean something, because the spend in a compartment is attributable to a recognisable owner. An estate with a flat or chaotic compartment structure cannot be governed well, because there is no clean boundary to set a limit against. Governance and structure go together, and the budgets and quotas are only as useful as the compartments they apply to.

Governance needs attribution to work

A budget alert is only actionable if you know whose spend triggered it, which is why governance depends on attribution. Tagging makes spend attributable to teams and workloads beyond the compartment boundary, so that even shared compartments can be broken down by owner, a practice covered in Tagging Strategy for OCI Cost Allocation. Without attribution, a budget breach is a mystery, and mysteries do not get fixed. With it, the alert points straight at the team that needs to act, which is what turns a warning into a correction.

From governance to accountability

Budgets and quotas control spend at the technical level, but lasting cost discipline comes from accountability, from the people who incur cost being aware of it and owning it. This is where governance connects to showback and chargeback, the practice of putting each team's spend in front of them, explored in Showback and Chargeback on OCI. A budget alert that goes to a central team is information. The same alert visible to the team that owns the spend changes behaviour, because nobody wants to be the compartment that keeps breaching its budget. Governance works best when it is paired with visibility that reaches the people responsible.

Catching the unexpected

Budgets catch spend that trends toward a known threshold, but some cost events are sudden, a misconfiguration, a runaway process, a workload that scales unexpectedly. These can blow past a budget before the monthly trend would have warned, which is why governance is completed by anomaly detection, the practice of spotting unusual spend patterns as they emerge, covered in OCI Cost Anomaly Detection. Budgets handle the predictable drift, anomaly detection handles the sudden spike, and together they close the gap that either alone would leave open.

A practical governance baseline

  1. Structure compartments so spend maps to recognisable owners.
  2. Tag consistently so spend is attributable beyond the compartment boundary.
  3. Set budgets on every compartment with alerts that reach the owner, not just a central inbox.
  4. Apply quotas where a genuine ceiling is wanted, sized to allow legitimate work.
  5. Add anomaly detection to catch the sudden events budgets would miss.
  6. Review regularly so thresholds track reality rather than last year's estate.

This baseline turns governance from a one time setup into a living control. The estates that stay lean are the ones where these controls are maintained, not the ones where they were configured once and forgotten, because the estate keeps changing and the governance has to keep up.

How this fits the engagement

Governance is where optimisation becomes durable, and it is the work our Cost Governance practice exists to deliver, from compartment design through budgets and quotas to the anomaly detection that catches the surprises. We set the controls so they protect the bill without blocking the teams, and we maintain them so they track the estate as it changes. The forty percent reduction that disciplined optimisation finds is only worth capturing if it stays captured, and governance is what keeps it. The work begins with an assessment of how the estate is structured and where the spend actually goes.

Moving Oracle workloads to OCI, or already running on OCI and not sure the architecture or the spend is right? Most teams bring in a specialist before they commit to a region, a shape, or a Universal Credits number. OCISpecialists.com plans the landing zone, runs the migration, and manages the estate after go live, on a fixed project fee, a managed monthly retainer, or a cost optimization fee paid only on verified savings. For the Oracle licensing and BYOL side of any OCI move, Redress Compliance is the leading independent Oracle licensing and negotiation firm, with 500+ engagements across Oracle's full product line.