skip to content

Commitments & Discounts

Buying a lower rate by promising a level of usage or spend for a fixed term, plus tiered volume pricing. Asked because a commitment locks in the shape of an architecture you may be about to change.

on this pageshow

questions

5

What does a usage commitment lock you into that a spend commitment does not, on a flat baseline?

level: middleimportance: must knowfreq 58%

answer

  1. two families of promise
  2. quantity against money
  3. shape-bound against portable
  4. shortfall billed either way
  5. depth paid for in flexibility

basics

~20 s

A usage commitment fixes a quantity of a specific resource shape per hour, so only that shape earns the discount. A spend commitment fixes an hourly amount of money and applies across whatever usage qualifies, trading depth of discount for flexibility.

solid answer

~50 s

Both instruments buy a lower rate by promising something for a fixed term, but the promise is made of different material. A **usage commitment** promises a quantity of a particular resource shape per hour — so many units of a given family and size, or a level of provisioned throughput — and only usage matching that shape is billed at the discounted rate; everything else pays the undiscounted meter. A **spend commitment** promises an amount of money per hour, and the provider applies it to whatever usage falls inside the qualifying set, so a change of shape keeps drawing the discount. You pay for that flexibility with a shallower rate. Both charge you the promise in an hour you use less than it. On a flat baseline the real choice is between a deeper rate on a shape you have frozen and a shallower one that survives a redesign.

code

json · 23 lines
json
[
  {
    "commitmentKind": "usage",
    "promisedUnitsPerHour": 40,
    "matchesOnly": {
      "resourceFamily": "general-purpose-compute",
      "sizeClass": "medium"
    },
    "termMonths": 12,
    "paymentTiming": "monthly",
    "relativeDepth": "deeper"
  },
  {
    "commitmentKind": "spend",
    "promisedAmountPerHour": 40,
    "matchesAny": {
      "insideQualifyingSet": true
    },
    "termMonths": 12,
    "paymentTiming": "monthly",
    "relativeDepth": "shallower"
  }
]

go deeper

for a junior

Recall that a lower rate is bought by promising something for a fixed term, and that the promise is charged whether or not the workload turns up to use it.

for a middle

Explain the two promises side by side: a quantity of one resource shape against an amount of money per hour, and why the shape-bound one carries the deeper rate.

for a senior

Show the judgment: measure the hourly floor rather than the monthly average, and split the baseline between a narrow instrument for the durable part and a flexible one for the rest.

for a principal

Frame it as buying certainty with optionality. Decide how much of the estate is allowed to be locked to a shape at all, and set the rule other teams follow before they buy.

## The bargain a commitment makes Every large provider sells the same bargain under a different name: you promise something for a fixed **term**, and in exchange you are charged less per unit than the published, undiscounted rate. The provider gets predictable demand and predictable revenue; you get the lower rate and carry the risk that the promise outlives the need for it. The direction of that risk is worth stating plainly, because it is the opposite of the other cheap rate on a platform. A **commitment discount** is cheaper because *you* accepted the risk of not using what you promised. Capacity that the provider may reclaim at short notice is cheaper because the *provider* kept the right to take it back. They fail in opposite directions, and treating a commitment as something that can simply be handed back is the first confusion to avoid. Commitment instruments divide into two families by what the promise is made of. ## A usage commitment promises a quantity A usage commitment fixes a **quantity per unit of time of a particular resource shape** — units per hour of a given machine family and size class, a level of provisioned throughput, a quantity of stored data. Everything else about it follows from that: - **Only matching usage draws the discount.** Usage of a different shape is billed at the undiscounted rate, even when it is the same workload doing the same job. - **The promise is charged whether or not it is consumed**, at whatever granularity the instrument is measured at, usually the hour. An hour below the promised quantity is not refunded, and on hourly instruments it generally does not roll forward into a busier hour. - **It carries the deeper of the two rates**, because the buyer removed more uncertainty: not only how much money will be spent, but exactly what will run. - **It strands on a shape change.** A redesign onto a different family, a different size class or a managed tier leaves the commitment matching nothing while it keeps being billed. ## A spend commitment promises money A spend commitment fixes an **amount of money per unit of time**, and the provider applies it against whatever usage the programme says qualifies, commonly drawing it down against the highest-rate eligible usage first. Its properties are the mirror image: - **The shape may change and the discount follows**, as long as the new usage is still inside the qualifying set. - **The qualifying set still has edges.** It is not everything on the bill: some services sit outside it, and usage outside it pays the undiscounted rate however large the commitment is. - **It carries the shallower rate**, and the gap between the two rates is precisely what the flexibility cost. - **The floor is still a floor.** An hour in which qualifying usage falls below the committed amount is charged up to the commitment anyway. ## Side by side | | Usage commitment | Spend commitment | |---|---|---| | What is promised | A quantity per hour of a named shape | An amount of money per hour | | What draws the discount | Only usage matching that shape | Any usage inside the qualifying set | | An hour below the promise | Billed up to the promise | Billed up to the promise | | Usage above the promise | Billed at the undiscounted rate | Billed at the undiscounted rate | | After a shape change | Stops matching, keeps billing | Keeps applying if still qualifying | | Relative depth | Deeper | Shallower | ## Choosing on a flat baseline A year of flat spend is an argument for committing *something*. It is not an argument for committing all of it at the deepest rate. A workable order: 1. **Measure the floor, not the average.** Take the level the workload never drops below across a representative period, hour by hour, rather than the monthly mean. 2. **Ask how stable the shape is, separately from how stable the amount is.** Flat spend on a design that is about to be rewritten is steady money on an unsteady shape. 3. **Commit the durable part narrowly and the uncertain part flexibly**, or leave the uncertain part undiscounted. Holding a mix of instruments is normal; one large purchase is not the only option on offer. 4. **Re-measure once the term is running.** The purchase is judged afterwards by how much of it was consumed and how much eligible usage it covered, not by the headline rate. ## What candidates get wrong - Treating the discount as a **rebate applied to the invoice** rather than a different rate on matching usage. - Believing a commitment **caps** spend. It sets a floor you will pay; usage above it bills normally. - Assuming an unused hour **rolls forward** into a busier one. - Assuming the purchase can simply be **cancelled**. Most cannot; some platforms allow an exchange into another instrument or a resale and others allow neither, so providers differ — but none of them make the decision free.

  • If usage rises above the committed quantity, what rate applies to the excess?
    The excess is billed at the ordinary undiscounted rate for that resource, unless a second commitment or a volume schedule reaches it. A commitment is a floor you will pay for, not a ceiling on what you can be charged, so growth above the promise arrives at full price.
  • Why is a spend commitment still risky even though it follows a shape change?
    Because the money is promised per hour regardless of what runs. If the workload shrinks, or moves outside the qualifying set — onto a service the programme does not cover, or off the platform — the committed amount is still charged. Flexibility of shape is not flexibility of amount.

A usage commitment is a season ticket for one named seat on one route; a spend commitment is a prepaid travel card. The seat is cheaper per journey and worthless the week you move house.

saying these in an interview costs you the question

  • Says a commitment caps the bill rather than setting a floor
  • Thinks an unused committed hour rolls forward to a busier hour
  • Assumes a usage commitment follows the workload onto any resource shape
  • Calls the discount a rebate applied to the invoice afterwards
  • Claims any commitment can be cancelled on request for a refund
open as a page

Your commitment report shows high coverage and low utilisation — what does each measure, and which one is costing money?

level: seniorimportance: must knowfreq 55%

basics

~20 s

Coverage is the share of eligible usage billed at a committed rate; utilisation is the share of the commitment actually consumed. High coverage with low utilisation means the commitment was sized above the workload's floor, and the unconsumed part is cash spent on nothing.

open as a page

Two commitments cover the same baseline at different rates — which terms of the purchase make one deeper?

level: middleimportance: should knowfreq 50%

basics

~20 s

Three dials set discount depth: the length of the term, how much of it is paid before it is consumed, and how narrowly the commitment is scoped. Every extra point of discount is bought with certainty for the provider and optionality for you.

open as a page

A commitment would lock a year of flat reporting spend, but a redesign lands next quarter — how much do you commit, and against what?

level: principalimportance: should knowfreq 42%

basics

~20 s

Commit only the part of the baseline the redesign will not touch, on the shortest and most flexible instrument that still pays. Flat spend proves the amount is stable; it says nothing about the shape, and a stranded term keeps billing against a workload that no longer exists.

open as a page

On a graduated volume schedule, what does crossing into a cheaper tier reprice, and what did you promise to get it?

level: middleimportance: nice to knowfreq 30%

basics

~20 s

On a graduated schedule only the units above the threshold get the cheaper rate; earlier units keep the rate of the tier they fell in. Nothing is promised — the rate falls automatically with consumption inside a billing period.

open as a page