Google Cloud Digital LeaderInfrastructure modernization with Google CloudMedium

A small independent game studio is developing a new multiplayer online game. They anticipate unpredictable user traffic, especially during game launches and promotional events. They need a compute solution that can automatically scale to handle millions of simultaneous players without manual intervention, and they want to only pay for the compute resources when players are active. Which Google Cloud compute service is the most cost-effective and operationally efficient choice?

  1. AGoogle Kubernetes Engine (GKE) Autopilot
  2. BApp Engine Standard
  3. CCloud Run
  4. DCompute Engine with Managed Instance Groups
Show answer & explanation

Correct answer: C. Cloud Run

Cloud Run is a fully managed serverless platform that automatically scales containerized applications from zero to millions of requests, and charges only for the resources consumed during active processing, making it ideal for unpredictable, spiky workloads like online games.

Why the other options are wrong

  • A. GKE Autopilot manages Kubernetes clusters for containers, but Cloud Run is even more abstracted and 'serverless' for simple container deployments, offering greater operational efficiency and 'scale to zero' cost benefits without managing a cluster.
  • B. App Engine Standard is a PaaS, but Cloud Run offers more flexibility with containers and a true 'scale to zero' capability for potentially lower costs for spiky, inactive periods.
  • D. Compute Engine with Managed Instance Groups provides auto-scaling, but still requires managing VMs and instances, leading to more operational overhead and potential idle costs compared to serverless options.

Cloud Run

A fully managed serverless platform that allows you to deploy containerized applications that scale automatically from zero to handle requests, charging only for the resources used.

  • Supports any language or library that can be containerized
  • Scales automatically, including scaling to zero instances
  • Pay-per-use billing based on requests, CPU, and memory usage

Memory trick: Cloud Run: your container, sprint to millions, then nap for free.

More Infrastructure modernization with Google Cloud questions