A media company runs a rendering job on Compute Engine for about three hours each night. The job checkpoints its progress to Cloud Storage every few minutes and can resume from the last checkpoint if a worker VM stops. The company wants to lower the cost of the job without changing its code. What should you do?
Choose one.
Spot VMs are spare Compute Engine capacity sold at a steep discount (typically 60-91% off on-demand) that Compute Engine can preempt at any time; they are the standard cost lever for fault-tolerant, interruptible work.
Because the job checkpoints every few minutes, a preemption costs only a little rework, so Spot pricing fits it exactly. A committed use discount is tempting, but you pay for the commitment 24 hours a day while the job runs three. Sustained use discounts only start once a VM runs for more than a quarter of the month, which a three-hour nightly job never reaches, and sole-tenant nodes add a premium.
- Confirm the workload tolerates interruption: it checkpoints and resumes.
- Note the usage pattern: about three hours a night, roughly 12% of the month.
- Rule out discounts tied to steady usage: committed use (billed 24/7) and sustained use (needs more than 25% of the month).
- Match interruptible, short-duration work to Spot VMs.
Exam tip: Interruptible, checkpointed work points to Spot VMs; committed use and sustained use discounts only pay off for steady usage.
Choosing and Deploying Compute: Compute Engine, GKE, and Cloud Run — the lesson that teaches this.