An enterprise organization is migrating a core reporting system to Google Cloud Compute Engine. The system architecture has two distinct storage requirements:
1. A backend transactional database that requires full SQL ACID compliance, automated daily backups, high availability (HA) with regional failover across two zones, and a dataset size scaling up to 3 TB.
2. A temporary high-throughput scratch space for worker virtual machines (VMs) performing batch analytics sorting, which requires maximum IOPS and microsecond read/write latency, while tolerating complete data loss when the VM stops or restarts.
Which storage and database configuration should a cloud engineer select to meet these requirements with minimal operational overhead?
- Deploy Cloud SQL for PostgreSQL with a High Availability (regional) configuration for the transactional database, and attach Local SSDs to the worker Compute Engine VMs for scratch space.Answer
- BDeploy Cloud Bigtable for the transactional database, and attach Standard Persistent Disks (pd-standard) to the worker Compute Engine VMs for scratch space.
- CDeploy a PostgreSQL database on Spot Compute Engine VMs using extreme persistent disks (pd-extreme), and store worker scratch space files in Coldline Cloud Storage buckets.
- DDeploy Cloud SQL for PostgreSQL with a Single Zone configuration, and configure worker VMs to write scratch space directly to Archive Cloud Storage buckets using object lifecycle rules.
Answer
Deploy Cloud SQL for PostgreSQL with a High Availability (regional) configuration for the transactional database, and attach Local SSDs to the worker Compute Engine VMs for scratch space.
Cloud SQL for PostgreSQL configured for High Availability delivers a fully managed relational database with cross-zone failover, automated backups, and full ACID compliance for datasets under 64 TB. Attaching Local SSDs to worker Compute Engine instances provides ultra-low microsecond latency and high IOPS performance directly attached to the host physical server, ideal for ephemeral scratch space that can tolerate data loss upon VM termination.
Step-by-Step Solution
Key Concept
Selecting GCP Managed Databases and Block Storage Types based on Workload Characteristics
Estimated Time:2m 0s