Cheaper Cloud Compute Costs Either a Commitment or the Right to Be Interrupted
The on-demand price of a cloud VM pays for total flexibility: start it any time, stop it any time, and the provider never takes it away. Every discount takes back part of that flexibility. A commitment discount takes away the right to stop paying, and spot capacity takes away the guarantee that the machine keeps running. Choosing a pricing model is therefore choosing which flexibility a workload can do without.
What Each Discount Takes Back
| Model (Google Cloud names) | What you give up | Fits |
|---|---|---|
| On-demand | nothing; highest price | unpredictable or short-lived workloads |
| Sustained-use discount | nothing; applied automatically when a VM runs more than a quarter of the month, on the machine families that support it | steady VMs nobody planned a commitment for |
| Committed-use discount | the right to stop paying: 1 or 3 years of committed use | a baseline that will run for years |
| Spot VM | the guarantee of running: the provider can reclaim the VM at any time, with 30 seconds' notice | batch, rendering, CI, ML training that checkpoints |
The same trade exists elsewhere under other names: reservations and savings plans for commitments, spot instances for interruptible capacity.
Spot Capacity Fits Only Work That Can Stop Mid-Run
Spot VMs are spare capacity, so they can cost up to 91% less, and they are reclaimed when the provider needs that capacity back. A job survives this only if losing a VM costs minutes, not hours: it saves its progress regularly (checkpointing), it can resume on another machine, and nothing waits on one particular VM staying up.
Rightsize Before You Commit
A discount makes a resource cheaper, not right. Committing for three years to an oversized VM locks in the waste at a lower rate. Custom machine types (choosing CPU and memory separately) and resizing from measured usage come first. The commitment then covers only the baseline that is sure to run, and the peaks stay on demand or on spot capacity.
References
- Modernize Infrastructure and Applications with Google Cloud - the VM pricing options from the course.
- Innovating with Google Cloud Artificial Intelligence - AI and ML Fundamentals and Solutions - spot VMs and checkpointing for ML training.
- Cloud Turns Infrastructure from Capital Expense into Operating Expense, Which Is Why FinOps Exists - why choosing a pricing model is part of FinOps.
- Cloud Computing MOC - hub for cloud notes.
- Google Cloud documentation: Spot VMs - preemption, notice period and limits.
- Google Cloud documentation: Committed use discounts - commitment terms and what they cover.
- Google Cloud documentation: Sustained use discounts - which machine families get them, and how they are calculated.
Review cards
Flashcard What flexibility does a sustained-use discount cost you?
None: it applies automatically to VMs that run more than a quarter of the month (on supported machine families), which is why it suits steady VMs nobody planned a commitment for.
Flashcard Why rightsize a VM before buying a commitment for it?
A discount makes a resource cheaper, not right: committing to an oversized VM locks in its waste for one or three years.
Flashcard Which workloads belong on spot VMs, and which don't?
Work that can stop mid-run and resume: batch jobs, CI, rendering, ML training that checkpoints. Not web servers or database primaries, since the VM can be reclaimed with 30 seconds' notice.