Lesson 1 of 2 Rate Optimization

Commitment-Based Discounts

Commitment-based discounts are the main rate optimization lever in the cloud. This lesson explains how they work, the difference between resource-based and spend-based commitments, terms and payment options, and the break-even utilization that decides whether a commitment saves money.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain how commitment-based discounts work.
  • Compare resource-based and spend-based commitments.
  • Describe how terms and payment options affect discounts and cost views.
  • Calculate break-even utilization.
  • Explain how engineering changes affect commitments.

How commitments work

A commitment-based discount lowers the rate an organization pays in exchange for committing to a level of usage or spend for a term, typically one or three years. The organization pays for the commitment whether or not it uses it; in return, eligible usage up to the commitment is charged at the discounted rate. Usage above the commitment is charged at the normal rate.

Commitments are financial instruments rather than resources. Buying one does not create or reserve a server in most cases; it changes how existing usage is priced. Engineers can therefore keep changing their resources, but if usage falls below the commitment, the unused part is wasted.

Resource-based and spend-based commitments

Providers offer two families of commitments. The following comparison sets out their differences.

Resource-based
What is committedA quantity of a specific resource type, such as an instance family in a region
FlexibilityLower; tied to attributes such as family, region or operating system
Discount depthOften deeper
ExamplesAWS Reserved Instances, Azure Reservations, Google Cloud resource-based committed use discounts
Choose when Usage of a specific resource is stable and unlikely to change
Spend-based
What is committedAn amount of spend per hour on eligible services
FlexibilityHigher; applies across families, regions and sometimes services
Discount depthOften slightly lower
ExamplesAWS Savings Plans (Compute, EC2 Instance, SageMaker AI, Database), Azure savings plan for compute, Google Cloud spend-based committed use discounts
Choose when Usage will move between instance families, regions or services

Some resource-based commitments can be exchanged or modified within limits, and some providers offer marketplaces for reselling unused reservations, but these options vary and should not be relied on as a safety net.

Sort into groups

Resource-based or spend-based?

Exam skills 7.4.1

Choose the commitment type for each situation.

Log in to try this activity Interactive activities are free with an account.

Terms and payment options

Longer terms give larger discounts: a three-year commitment usually discounts substantially more than a one-year commitment, but carries more risk that usage will change. Payment options typically include no up-front, partial up-front and all up-front payment; paying more up front gives a slightly larger discount.

Payment timing mainly affects cash flow and the billed view of cost. In the amortized view, an all-up-front commitment is spread over its term in effective cost, so apart from the slightly larger discount it looks the same as a no-up-front one. The choice of payment option is a finance decision about the organization's cost of capital.

Break-even utilization

A commitment saves money only if enough of it is used. If the discount is d, the commitment costs (1 - d) of the on-demand price of the usage it covers. It breaks even when the value of the usage it covers at on-demand prices equals its cost, which happens at a utilization of 1 - d.

DiscountBreak-even utilizationMeaning
20%80%Must be used at least 80% of the time to save money
40%60%Saves money above 60% utilization
60%40%Saves money even if used less than half the time

Deeper discounts tolerate lower utilization. This is why a long, deep commitment can still save money on a workload that is not used all the time, while a shallow discount requires near-constant use.

The following diagram compares the daily cost of a commitment with on-demand use above break-even.

Break-even utilization for a commitment. A commitment at a 30% discount costs 0.70 of the on-demand rate for every hour, used or not, so it pays only when the resource runs more than 70% of the time. A workload running 20 hours a day, about 83%, is above break-even: the commitment costs USD 16.80 a day against USD 20.00 on demand.
The rate and discount are examples.
Fill in the value

Is the commitment paying off?

Exam skills 7.4.1

Work out what a commitment saves or loses at different utilization levels.

Log in to try this activity Interactive activities are free with an account.

What engineers need to know

Commitments are usually bought centrally, but engineering decisions determine whether they stay useful. Migrating to a new instance family, moving to containers or serverless, changing regions, or decommissioning a service can strand resource-based commitments. Engineers should share planned changes with the central team, and the central team should prefer flexible commitments where change is likely.

Worked example

Is the commitment worth it?

A workload runs on instances costing USD 1.00 per hour on demand. A one-year commitment offers 35% off. The workload runs about 15 hours a day on average. Should the organization commit to one instance for the full year?

Utilization would be 15 / 24 = 62.5%. Break-even is 1 - 0.35 = 65%. At 62.5% the commitment costs slightly more than paying on demand: USD 0.65 x 24 = USD 15.60 a day against USD 15.00 on demand. The organization should not commit for this workload as it runs today, or should first consolidate usage so that a commitment covers capacity used around the clock.

Worked example

Choosing the commitment type

A team plans to move its services from x86 to Arm-based instances over the next nine months and may move some workloads to another region. The central team wants to cover its USD 20,000 a month of steady compute. Which commitment type fits?

A spend-based commitment, such as a compute savings plan, because it continues to apply when the workload changes instance family or region. A resource-based commitment for the current x86 family would be stranded by the migration. The central team might also commit somewhat below the full baseline, because the Arm migration is expected to reduce spend.

Check yourself

A commitment offers 50% off. Below what utilization would on-demand have been cheaper?

Show answer

Below 50%, because break-even utilization is 1 - discount = 50%.

Exam Tips

Remember for the exam

  • Commitments trade a term commitment for a lower rate; unused commitment is still paid for.
  • Resource-based commitments give deeper discounts; spend-based commitments give flexibility.
  • Break-even utilization = 1 - discount.
  • Payment options mainly change cash timing; more up-front payment earns a slightly larger discount.