A financial analytics company is evaluating Google Cloud compute solutions for a stateless web application containerized with Docker. The application receives unpredictable, bursty HTTP traffic throughout the day and experiences long stretches of complete inactivity during off-peak hours. The operations team requires a fully managed solution that automatically scales instances to zero during inactive periods to eliminate idle infrastructure costs, while eliminating the operational overhead of managing Kubernetes clusters or virtual machine instance groups. Which compute service best meets these operational and financial requirements?
- Deploy the container image to Cloud Run.Answer
- BDeploy the application code as a 1st Gen Cloud Function.
- CDeploy the container image to a Google Kubernetes Engine (GKE) Autopilot cluster.
- DDeploy the container image onto Compute Engine Spot VM instances managed by an Autoscaling Managed Instance Group (MIG).
Answer
Deploy the container image to Cloud Run.
Cloud Run is the optimal Google Cloud compute choice for deploying stateless containerized web applications that experience bursty traffic and idle periods. It provides automatic scaling down to zero instances when no HTTP requests are being processed, ensuring zero idle infrastructure cost, while completely abstracting away cluster and virtual machine management.
Step-by-Step Solution
Key Concept
Selecting serverless container execution paradigms for stateless web applications to minimize operational overhead and idle costs.
Estimated Time:2m 0s