A retail organization is migrating a stateless, containerized REST API microservice to Google Cloud. The microservice experiences unpredictable traffic bursts during flash sales but remains completely idle during off-peak hours. The DevOps team has strict instructions to minimize operational overhead, eliminate baseline cluster management costs, and ensure automatic scaling down to zero instances when idle. Which Google Cloud compute platform should the cloud architect recommend for this workload?
- Deploy the containerized service on Cloud Run.Cevap
- BDeploy the containerized service on a Google Kubernetes Engine (GKE) Autopilot cluster.
- CDeploy the service on Compute Engine instances and purchase 3-year Committed Use Discounts (CUDs) for all virtual machines to handle peak load.
- DDeploy the service on a Compute Engine Managed Instance Group (MIG) configured to autoscale exclusively on high CPU utilization metrics.
Cevap
Deploying the containerized service on Cloud Run is the optimal recommendation because it offers serverless operation, seamless scale-to-zero capability, pay-per-use billing, and eliminates infrastructure management overhead.
Deploying the service on Cloud Run fulfills all functional and operational constraints. It natively runs stateless container images, manages TLS/HTTPS endpoints out of the box, scales dynamically based on incoming HTTP requests, automatically scales to zero instances when idle to eliminate unnecessary costs, and requires no cluster administration.
Adım Adım Çözüm
Anahtar Kavram
Selecting serverless compute platforms (Cloud Run) versus Kubernetes or virtual machine infrastructure based on workload statefulness, operational overhead limits, and scale-to-zero requirements.
Tahmini Süre:1m 30s