An enterprise is planning to migrate a critical, stateful relational database workload to Google Cloud Compute Engine. The database requires persistent storage, continuous uptime, and predictable performance without abrupt shutdowns. Which Compute Engine resource planning strategy should you select?
- Deploy the database on standard Compute Engine N2 instances using persistent disks and apply Committed Use Discounts for cost optimization.Answer
- BDeploy the database on Spot VMs using custom machine types to minimize compute costs.
- CContainerize the relational database and host it on Cloud Run to achieve zero server management overhead.
- DDeploy the database workload on GKE Autopilot using ephemeral local storage for database files.
Answer
Deploy the database on standard Compute Engine N2 instances using persistent disks and apply Committed Use Discounts for cost optimization.
Standard Compute Engine instances provide guaranteed resource availability and continuous execution necessary for stateful database workloads. Combining standard instances with persistent disks and Committed Use Discounts (CUDs) fulfills SLA requirements while optimizing costs for predictable, long-running compute workloads.
Step-by-Step Solution
Key Concept
Planning Compute Engine Instance Types and Lifecycle for Stateful Workloads