Google Cloud Platform (GCP) is Google's public cloud computing platform offering on-demand compute, storage, networking, databases, machine learning, and managed services that run on the same infrastructure powering Google Search, YouTube, and Gmail. GCP competes with AWS and Azure by emphasizing deep AI/ML integration (Gemini models, Vertex AI Agent Builder), global networking performance, and serverless-first architectures. A key mental model: GCP services are organized around a resource hierarchy (organizations β folders β projects β resources) with IAM for fine-grained access control, making multi-project, multi-team deployments easier to govern at scale than flat permission models.
What This Cheat Sheet Covers
This topic spans 20 focused tables and 114 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
Table 1: Compute Services
| Service | Example | Description |
|---|---|---|
gcloud compute instances create my-vm --zone=us-central1-a --machine-type=e2-medium | β’ Virtual machines (VMs) on Google infrastructure β’ choose predefined or custom machine types across families (E2, N2, C3, C4, H4D), supports GPUs and persistent disks | |
gcloud run deploy my-service --image gcr.io/project/image --platform managed | β’ Serverless container platform that scales HTTP containers from zero to thousands β’ pay-per-request, supports GPU workloads, websockets, and gRPC | |
gcloud container clusters create my-cluster --num-nodes=3 | β’ Managed Kubernetes for container orchestration β’ Autopilot mode (Google manages nodes) and Standard mode (you manage nodes) | |
gcloud app deploy app.yaml | β’ Platform-as-a-Service (PaaS) for web apps and APIs β’ Standard environment (sandboxed, fast startup) or Flexible environment (custom runtimes on VMs) |