An online publishing company is developing a containerized RESTful microservice to process user comment metadata. The service is completely stateless, experiences unpredictable traffic spikes throughout the day, and requires a serverless deployment model to minimize operational overhead and automatically scale down to zero instances when idle. Which Google Cloud compute platform should the architect select?
- Deploy the containerized application to Cloud Run.Answer
- BDeploy the application to a Google Kubernetes Engine (GKE) standard cluster.
- CDeploy the application on Compute Engine Managed Instance Groups configured with static CPU autoscaling thresholds.
- DDeploy the application on Compute Engine dedicated sole-tenant nodes with committed use discounts.
Answer
Deploy the containerized application to Cloud Run.
Cloud Run is the recommended Google Cloud platform for stateless containerized web workloads requiring minimal operational overhead. It automatically handles autoscaling based on incoming request metrics down to zero instances, eliminating baseline infrastructure costs during idle periods.
Step-by-Step Solution
Key Concept
Compute Platform Selection: Cloud Run for Stateless Containers
Estimated Time:45s