An enterprise analytics team is designing the infrastructure for a memory-intensive transactional database on Google Compute Engine. Benchmarking indicates the database requires of RAM and . The database is strictly stateful, operates 24/7 with zero tolerance for ungraceful instance terminations, and is projected to run continuously for at least three years. Which machine family and purchasing model configuration should the cloud engineer select to meet these operational and financial requirements?
- Provision an m1-ultramem-32 memory-optimized Compute Engine instance attached to a 3-year Committed Use Discount (CUD).Answer
- BProvision a Spot VM instance using a custom machine type configured with 32 vCPUs and 416 GB of RAM to minimize hourly compute costs.
- CDeploy the database workload to GKE Autopilot using custom pod resource requests of 32 vCPUs and 416 GB of RAM to leverage automated node management.
- DDeploy the database container onto Cloud Run configured with maximum vCPU allocation and an attached network storage volume.
Answer
Provisioning an m1-ultramem-32 memory-optimized Compute Engine instance with a 3-year Committed Use Discount (CUD) is the correct choice.
The Memory-Optimized machine family (M1/M2/M3) is engineered specifically for memory-intensive workloads such as large in-memory databases like SAP HANA or Redis clusters requiring high RAM-to-vCPU ratios. Combined with a 3-year Committed Use Discount (CUD), this configuration guarantees dedicated baseline availability without preemption risks while achieving maximum cost efficiency for a continuous multi-year deployment.
Step-by-Step Solution
Key Concept
Selecting Compute Engine Machine Types and Purchasing Models for Memory-Bound Workloads