A software enterprise is planning the infrastructure for a continuous, mission-critical API gateway on Google Cloud that requires non-standard resource allocation of 10 vCPUs and 40 GB of RAM, running 24 hours a day, 7 days a week. The workload cannot tolerate unexpected interruptions or instance terminations. The finance team mandates the most cost-effective architecture for a guaranteed 3-year commitment. Which deployment strategy should you recommend?
- Provision Compute Engine Virtual Machines using a custom machine type with 10 vCPUs and 40 GB of RAM, and purchase a 3-year Committed Use Discount for the required compute capacity.Answer
- BProvision Compute Engine Spot Virtual Machines configured with a custom machine type of 10 vCPUs and 40 GB of RAM to achieve the lowest hourly rate.
- CDeploy the application to Cloud Run with container limits set to 10 vCPUs and 40 GB RAM to minimize infrastructure management costs.
- DDeploy the workload to Google Kubernetes Engine Autopilot clusters so Google Cloud can dynamically provision compute resources and apply committed use pricing automatically.
Answer
Provision Compute Engine Virtual Machines using a custom machine type with 10 vCPUs and 40 GB of RAM, combined with a 3-year Committed Use Discount.
Configuring a custom machine type with exactly 10 vCPUs and 40 GB of RAM ensures the instance is tailored to the exact workload demand without over-provisioning unused resources. Purchasing a 3-year Committed Use Discount (CUD) maximizes savings for steady-state, 24/7 uninterruptible workloads.
Step-by-Step Solution
Key Concept
Custom Machine Types and Committed Use Discounts (CUDs)
Estimated Time:1m 30s