A media logistics company is planning its Google Cloud Compute Engine resource strategy for two distinct components of an enterprise video pipeline:
1. A memory-bound metadata indexing service that requires a specific non-standard resource ratio of 16 vCPUs to 128 GB of RAM ( vCPU-to-memory ratio) and must run continuously 24/7 with strict zero-downtime SLAs.
2. A stateless, highly parallel batch video encoding job that processes queue messages, is fully fault-tolerant, and can automatically resume execution from checkpoints if interrupted.
Which provisioning strategy aligns with Google Cloud recommended practices to optimize costs while satisfying all operational requirements?
- Configure a custom N2 machine type with 16 vCPUs and 128 GB RAM coupled with Committed Use Discounts for the indexing service, and use Spot Virtual Machines in a Managed Instance Group for the batch video encoding workload.Cevap
- BProvision Spot Virtual Machines for the continuous metadata indexing service to minimize hourly instance costs, and deploy memory-optimized M2 instances backed by Committed Use Discounts for the stateless batch encoding workload.
- CDeploy the metadata indexing service to Cloud Functions to achieve automatic scaling, and provision standard N2 Compute Engine instances with Committed Use Discounts for the stateless batch encoding workload.
- DProvision M-series memory-optimized instances without discounts for both workloads to simplify administrative overhead, relying on automatic Sustained Use Discounts to optimize overall compute spending.
Cevap
Configure a custom N2 machine type with 16 vCPUs and 128 GB RAM coupled with Committed Use Discounts for the indexing service, and use Spot Virtual Machines in a Managed Instance Group for the batch video encoding workload.
The correct strategy combines custom machine sizing with targeted pricing models based on workload fault tolerance and steady-state patterns. Custom N2 machine types allow specifying exact vCPU and RAM ratios when standard machine types would cause paid over-provisioning. Pairing continuous 24/7 workloads with Committed Use Discounts (CUDs) secures deep contract discounts, while using Spot VMs inside a Managed Instance Group for stateless, checkpointable batch jobs yields the lowest possible compute cost for interruptible tasks.
Adım Adım Çözüm
Anahtar Kavram
Compute Engine Resource Planning, Custom Machine Types, Committed Use Discounts (CUDs), and Spot VM Suitability