Google Cloud Engineer interview question · Most asked

When would you choose Cloud Run, GKE or Compute Engine?

Comparison Asked in Cloud Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Cloud Run for stateless HTTP services, jobs and event handlers in containers when you want no cluster to manage and scale to zero. GKE when you need Kubernetes: many services with shared platform tooling, stateful or long-running workloads, custom networking, or portability. Compute Engine for software that needs a full VM: legacy apps, specific OS or kernel needs, licensing, or very steady heavy workloads.

Longer Answer

Cloud Run GKE (Autopilot / Standard) Compute Engine
You manage container + settings Kubernetes objects (+ nodes in Standard) OS and everything above
Scaling per request, to zero HPA, cluster autoscaling managed instance groups
Good for APIs, webhooks, jobs platforms, complex microservices lift-and-shift, special OS needs
Billing per use (or per instance) per Pod requests (Autopilot) or nodes per VM

Many companies start on Cloud Run and move only the workloads that outgrow it to GKE.

Key Points

  • Cloud Run: serverless containers, scale to zero.
  • GKE: full Kubernetes and platform features.
  • Compute Engine: full VM control.
  • Start simple; move what outgrows it.

Explanation

What interviewers look for

Matching the platform to the workload and team, with cost and operational load in mind.

More Google Cloud Engineer questions

← All Google Cloud Engineer questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake