A healthcare technology company is building a stateless microservice to validate and convert patient intake records sent as JSON payloads via webhooks. The workload experiences highly unpredictable traffic, ranging from zero requests overnight to thousands of concurrent requests during peak hours. Each request takes less than two minutes to process. The architecture team requires a solution that minimizes operational management overhead, scales to zero automatically to reduce costs, and runs containerized applications without managing underlying infrastructure. Which Google Cloud compute platform should you recommend?
- Deploy the containerized service on Cloud Run.Cevap
- BDeploy the containerized service on a Google Kubernetes Engine (GKE) Standard cluster with Cluster Autoscaler enabled.
- CDeploy the service on a Compute Engine Managed Instance Group (MIG) configured with CPU utilization autoscaling.
- DProvision Compute Engine instances backed by 3-year Committed Use Discounts (CUDs) to host the microservice.
Cevap
Deploy the containerized microservice on Cloud Run, as it fully manages container execution, scales to zero during idle periods, and minimizes operational overhead for stateless HTTP workloads.
Deploying on Cloud Run is the optimal design choice because Cloud Run is a fully managed serverless compute platform designed specifically for stateless containerized web services. It automatically scales instances up and down responsively based on incoming requests (including scaling to zero when idle) and removes all cluster management, node patching, and infrastructure provisioning responsibilities.
Adım Adım Çözüm
Anahtar Kavram
Compute Platform Selection: Cloud Run vs GKE vs Compute Engine MIG