A cloud engineer is designing the Compute Engine architecture for an enterprise web service that must run continuously 24/7 without interruption. The application requires a customized resource allocation of exactly 6 vCPUs and 27 GB of RAM to operate efficiently. Which Compute Engine configuration strategy should be selected for this workload?
- Provision standard Compute Engine instances with a Custom machine type using standard (non-spot) VMs.Answer
- BProvision Spot VMs with a Custom machine type to minimize baseline compute costs.
- CDeploy the web service onto Google Kubernetes Engine Autopilot nodes requiring custom OS kernel modifications.
- DRefactor the backend web service into single-purpose snippets and host them on Cloud Functions for continuous execution.
Answer
Provision standard Compute Engine instances with a Custom machine type using standard (non-spot) VMs.
Choosing standard Compute Engine VMs configured with a Custom machine type satisfies both the specific non-standard vCPU/memory ratio (6 vCPUs and 27 GB RAM) and the requirement for continuous 24/7 uptime without risk of unexpected preemption.
Step-by-Step Solution
Key Concept
Selecting Custom Machine Types and Standard VM Provisioning for Continuous Workloads