Question

Difficulty: MediumSelecting and Designing Compute and Application Platforms

A global pharmaceutical company is building a public API service to ingest real-time webhook updates from external clinical research partners. The service workload is stateless, containerized, handles standard HTTPS POST requests, and experiences unpredictable traffic spikes interspersed with prolonged periods of complete inactivity. The enterprise architecture guidelines mandate zero server maintenance, fast automatic scaling down to zero instances during idle periods, and eliminating baseline running costs. Which compute platform should the Cloud Architect select to meet these requirements?

  1. Deploy the containerized application on Cloud Run with autoscaling configured to scale down to zero instances.Answer
  2. B
    Deploy the containerized microservice on a Google Kubernetes Engine (GKE) Autopilot cluster using a Horizontal Pod Autoscaler.
  3. C
    Deploy the microservice on a Compute Engine Managed Instance Group (MIG) backed by 3-year Committed Use Discounts.
  4. D
    Deploy the microservice on Compute Engine Virtual Machines configured with CPU-utilization based autoscaling.

Answer

Deploying the containerized application on Cloud Run with autoscaling configured to scale down to zero instances is the optimal solution because it eliminates operational overhead, handles HTTP webhooks natively, and avoids paying for idle resources.
Cloud Run is designed specifically for stateless containerized microservices receiving web/HTTP requests. It automatically handles infrastructure provisioning, security patching, and autoscaling, including scaling down to zero instances when no requests are being processed, ensuring zero costs during idle periods.

Step-by-Step Solution

1
Analyze workload characteristics and constraints
Workload is stateless, containerized, uses HTTPS POST webhooks, experiences sharp spikes with idle periods, and requires zero server maintenance.
Identifying protocol, statefulness, and operational limits narrows down compute platform choices.
2
Evaluate Google Cloud compute options against zero-idle cost and low overhead requirements
Cloud Run natively supports stateless HTTP containers, manages all infrastructure, scales rapidly on incoming HTTP requests, and scales to zero when idle.
GKE and Compute Engine introduce baseline cost and administrative management overhead.
3
Select the optimal architecture platform
Cloud Run fulfills all technical constraints with the lowest cost and operational burden.
Meets Google Cloud architecture best practices for stateless microservices.

Key Concept

Compute Platform Selection for Stateless Containerized HTTP Workloads
Rate this question