GCP Cloud Architecture (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are the differences between Compute Engine, Cloud Run, GKE, and Cloud Functions?
junior LevelCode ExamplegcpBasic
In Simple Words:
- Compute Engine (IaaS): Raw virtual machines. Full OS control (Linux/Windows), custom kernel modules, highest management overhead.
- Google Kubernetes Engine - GKE (CaaS): Managed Kubernetes. Ideal for complex microservices with intricate networking, service meshes, and stateful workloads.
- Cloud Run (PaaS / Serverless Containers): Serverless container platform. Deploys any OCI container, scales from 0 to thousands of instances in seconds, charges strictly per 100ms of CPU/RAM during requests.
- Cloud Functions (FaaS): Event-driven serverless functions (Node.js, Python, Go) triggered by Cloud Storage uploads, Pub/Sub events, or HTTP webhooks.
text
Compute Trade-off Continuum:
IaaS (Max Control) ◄──────────────────────────────► FaaS (Max Velocity)
Compute Engine ──► GKE Standard ──► GKE Autopilot ──► Cloud Run ──► Cloud Functions