GCP Compute & Container Platforms Hub 🖥️

Google Cloud provides an expansive compute ecosystem spanning customizable virtual machines, the industry-benchmark managed Kubernetes platform (Google Kubernetes Engine), fully managed serverless container runtimes (Cloud Run), and event-driven functions.


Service Catalog & Architecture Map

ServiceAbstraction LevelPrimary Architecture & EngineReference Guide
Compute Engine (GCE)Infrastructure-as-a-ServiceCustomizable CPU/RAM shapes, Live Migration, Spot VMs, and Regional MIGs.Compute Engine (GCE)
Managed Instance Groups (MIGs)Scalable VM ClustersRegional/Zonal auto-healing groups, rolling zero-downtime updates, and stateful MIGs.Managed Instance Groups
Spot VMsPreemptible Compute60–91% discounted spare capacity with 30-second ACPI shutdown notifications.Spot VMs
Google Kubernetes Engine (GKE)Managed Kubernetes HubAutopilot vs Standard, VPC-native alias IPs, Datapath V2 (Cilium eBPF), and Gateway API.GKE Master Hub
GKE 23-Module Deep Dive CatalogAdvanced K8s EngineeringAutopilot, Autoscaling, Gateway API, GPU/TPUs, Kueue, Binary Auth, and SRE runbooks.GKE Autopilot Deep Dive
Cloud Run ServicesServerless ContainersStateless HTTP containers with request concurrency (up to 1,000 req/inst) and Direct VPC Egress.Cloud Run Services
Cloud Run JobsRun-to-Completion BatchParallel task arrays, Cloud Scheduler integration, and 24-hour execution caps.Cloud Run Jobs
Cloud Functions (2nd Gen)Event-Driven FaaSBuilt on Cloud Run and Eventarc, 60-minute timeouts, and CloudEvents triggers.Cloud Functions (2nd Gen)

Compute Abstraction Decision Framework

flowchart TD
    Start["Compute Workload Requirement"] --> Form{"Packaging & Architecture?"}

    Form -->|"Containerized (Docker / OCI)"| Orchestration{"Need direct Kubernetes API / complex stateful sets / mesh?"}
    Form -->|"Virtual Machine / Custom Kernel / Legacy OS"| GCE["Use Compute Engine (GCE) / Regional MIGs"]
    Form -->|"Single Lightweight Function / Glue Code"| Functions["Use Cloud Functions (2nd Gen)"]

    Orchestration -->|"Yes: Multi-Cluster, Fine-grained CRDs, AI/ML Pods"| GKE["Use Google Kubernetes Engine (GKE Autopilot/Standard)"]
    Orchestration -->|"No: Stateless HTTP Microservice / Batch Job"| Run{"Execution Duration & Pattern?"}

    Run -->|"Request-Response HTTP (0 to 1,000 req/inst)"| RunService["Use Cloud Run Services"]
    Run -->|"Batch Run-to-Completion Task Array"| RunJob["Use Cloud Run Jobs"]