A software team is assessing compute options for an internal analytics application. The application consists of a single containerized web service that receives unpredictable, intermittent HTTP requests during business hours and no traffic overnight. The team requires a serverless solution with minimal operational overhead that automatically scales down to zero compute instances to eliminate costs when idle. Which Google Cloud compute service best satisfies these requirements?
- Cloud Run, because it deploys container images directly, manages underlying infrastructure automatically, and scales instances to zero during idle periods.Answer
- BCloud Functions, because it is the only Google Cloud compute option capable of scaling execution environments down to zero when idle.
- CGoogle Kubernetes Engine (GKE) Standard cluster, because GKE Autopilot cannot scale workloads down to zero node instances.
- DCompute Engine Spot VMs in a Managed Instance Group, because Spot VMs provide the lowest pricing for intermittent web workloads requiring HTTP availability.
Answer
Cloud Run, because it deploys container images directly, manages underlying infrastructure automatically, and scales instances to zero during idle periods.
Cloud Run is a managed serverless platform designed for executing stateless container images. It automatically scales instances up or down based on incoming HTTP traffic, including scaling down to zero instances when idle so costs are only incurred during active request processing.
Step-by-Step Solution
Key Concept
Selecting Cloud Run for containerized web applications needing automatic scaling to zero