Question

Difficulty: EasySelecting and Designing Compute and Application Platforms

A software company needs to deploy a stateless HTTP microservice packaged as a container image on Google Cloud. The solution must require zero cluster infrastructure management overhead and automatically scale down to zero instances when no traffic is received. Which TWO options represent the optimal design choices for this requirement?

  1. Deploy the containerized service to Cloud Run to achieve automatic scaling to zero without managing underlying cluster infrastructure.Answer
  2. Configure request concurrency settings on Cloud Run so that each instance can process multiple simultaneous HTTP requests.Answer
  3. C
    Deploy the service on a Google Kubernetes Engine (GKE) Autopilot cluster to eliminate container deployment tasks.
  4. D
    Provision a Google Kubernetes Engine (GKE) Standard cluster with cluster autoscaler configured for worker node pools.
  5. E
    Purchase 3-year Committed Use Discounts for Compute Engine Virtual Machines to host baseline application instances.

Answer

Deploying the service to Cloud Run and configuring request concurrency settings on Cloud Run.
Cloud Run is the optimal serverless compute platform for stateless containerized HTTP microservices. It automatically scales down to zero instances when traffic stops and removes all cluster management overhead. Furthermore, configuring concurrency allows each Cloud Run container instance to process multiple HTTP requests simultaneously, optimizing compute efficiency and lowering costs.

Step-by-Step Solution

1
Analyze workload requirements
Stateless HTTP containerized service needing zero cluster management overhead and scaling to zero.
Aligning operational criteria with Google Cloud compute platform features.
2
Evaluate GCP serverless compute options
Cloud Run natively executes custom container images, scales to zero during idle periods, handles multiple concurrent requests per instance, and requires no infrastructure management.
Cloud Run minimizes operational overhead and optimizes resource usage for stateless HTTP microservices.

Key Concept

Cloud Run Platform Selection for Stateless Containerized Workloads
Rate this question