An organization is planning to deploy batch machine learning training jobs on Google Cloud Compute Engine. The jobs support native checkpointing, can tolerate unexpected instance preemptions without losing progress, and must be executed at the lowest possible cost. Which Compute Engine provisioning model should you recommend?
- Spot VM instancesAnswer
- BStandard VM instances backed by 3-year Committed Use Discounts
- CGoogle Kubernetes Engine Autopilot nodes
- DCloud Functions event-driven instances
Answer
Spot VM instances should be selected to run fault-tolerant, interruptible batch workloads at the lowest possible cost.
Spot VM instances utilize excess Compute Engine capacity and offer discounts between 60% and 91% compared to standard VM pricing. Because the machine learning workload natively checkpoints progress and tolerates preemptions, Spot VMs deliver maximum cost efficiency without risking data loss.
Step-by-Step Solution
Key Concept
Planning Compute Engine Resources and Machine Types for Fault-Tolerant Workloads