An enterprise organization is migrating a legacy batch processing and simulation application to Google Cloud Compute Engine. The application operates continuously 24/7 as a steady-state workload and requires a non-standard resource ratio of 1 vCPU to 8 GB of RAM to prevent paying for unneeded compute processing power. Furthermore, the application performs synchronous state writes to attached disks and cannot tolerate abrupt or ungraceful instance terminations. The infrastructure team must minimize total cost of ownership over a 3-year horizon while ensuring full operational stability and exact resource fit. Which compute planning strategy best meets these requirements?
- Provision N2 custom machine types configured with a 1 vCPU to 8 GB RAM ratio, and purchase 3-year resource-based Committed Use Discounts (CUDs) for the baseline vCPU and memory capacity.Answer
- BProvision Spot VMs configured with N2 custom machine types with 1 vCPU to 8 GB RAM to leverage up to 90% cost savings compared to standard compute pricing.
- CMigrate the workload to a Google Kubernetes Engine (GKE) Autopilot cluster and configure custom node pools with high-memory machine configurations under 3-year Committed Use Discounts.
- DDeploy the application onto Cloud Run as a long-running service with custom CPU and memory limits, applying Sustained Use Discounts to optimize 24/7 execution costs.
Answer
Provision N2 custom machine types configured with a 1 vCPU to 8 GB RAM ratio, and purchase 3-year resource-based Committed Use Discounts (CUDs) for the baseline vCPU and memory capacity.
The correct strategy leverages N2 custom machine types to precisely fit the required 1 vCPU to 8 GB RAM ratio without over-provisioning unused vCPUs. Pairing this configuration with 3-year resource-based Committed Use Discounts (CUDs) yields the lowest cost for a steady-state 24/7 workload while guaranteeing VM availability and persistent disk statefulness.
Step-by-Step Solution
Key Concept
Compute Engine Resource Planning and Machine Type Customization
Estimated Time:2m 0s