GCP 🟠

Google Cloud Platform — comprehensive architectural deep dives covering Google’s global private network, container platforms, distributed storage, big data engines, generative AI supercomputing, and enterprise zero-trust security. Built to match the depth of the AWS knowledge base with Architecture & Mental Models + Production gcloud CLI + Quotas & Limits + References + 2 Realistic Pricing Scenarios + 5+ Battle-Tested Nuggets & Gotchas.


Service Catalog

1. Compute & Containers Hub

2. Networking & Global Transit Hub

  • Virtual Private Cloud (VPC) — Global VPC routing domain, regional subnets, primary and secondary ranges for GKE, Shared VPC, Cloud NAT, and hierarchical firewalls.
  • Shared VPC Architecture — Host projects vs Service projects, subnet-level IAM delegation, cross-project service accounts, centralized hybrid connectivity, and enterprise governance.
  • Firewalls & Hierarchical Policies — Stateful inspection, rule priority (0-65535), Hierarchical Policies (Org/Folder), target tags vs Service Accounts, and rule logging.
  • Cloud NAT Deep Dive — Software-defined distributed NAT, Cloud Router integration, dynamic port allocation, SNAT port exhaustion prevention, and outbound logging.
  • Cloud Load Balancing & Cloud Armor — Single Anycast IP architecture, Envoy-based ALBs, Maglev NLBs, Zonal NEGs, Cloud Armor WAF/DDoS, and Private Service Connect.
  • Cloud Router & Dynamic BGP — Fully managed BGP control plane, custom route advertisements (MED), dynamic routing modes (Regional vs Global), and BFD failover.
  • Network Connectivity Center (NCC) — Centralized transit hub connecting VPCs, Cloud VPNs, Interconnects, and third-party SD-WAN router appliances.
  • Cloud DNS Architecture — 100% uptime SLA, Anycast nameservers, split-horizon DNS, private forwarding zones, DNS peering, Response Policies (RPZ), and DNSSEC.
  • Cloud CDN Architecture & Edge Caching — Google edge Points of Presence (PoPs), cache modes, cache key customization, negative caching, signed URLs/cookies, and cache invalidation.
  • Cloud Interconnect & HA VPN — Cloud HA VPN (99.99% SLA), Dedicated vs Partner Interconnect, BGP routing with Cloud Router, and 99.99% enterprise topologies.
  • Private Service Connect (PSC) — Private consumption of Google APIs and multi-tenant SaaS services, Service Attachments, PSC Endpoints, and eliminating VPC peering IP overlap.

3. Storage & Data Systems Hub

  • Google Cloud Storage (GCS) — Standard, Nearline, Coldline, and sub-second instant Archive retrieval, Object Lifecycle Management, Bucket Lock WORM, and Soft Delete.
  • Persistent Disk & Hyperdisk — Zonal vs Regional synchronous mirroring (RPO = 0), next-gen Hyperdisk ML/Extreme, online volume resizing, and GKE CSI driver.
  • Cloud Filestore (Managed NFS) — POSIX-compliant NFSv3/NFSv4.1 shared storage, ReadWriteMany (RWX) multi-VM packing, and sub-millisecond file access.
  • Storage Transfer Service & Transfer Appliance — Serverless cloud-to-cloud data migration (AWS S3, Azure Blob to GCS), on-premises agent pools, and physical migration appliances.

4. Security & Zero Trust Hub

5. Governance & Organization Policies Hub

6. Databases & Distributed Storage Hub

  • Cloud SQL — PostgreSQL, MySQL, and SQL Server with Regional synchronous HA failover, Cloud SQL Auth Proxy, and IAM database authentication.
  • Cloud Spanner — TrueTime atomic clock synchronization, external consistency (serializability), Processing Units (PUs), interleaved tables, and 5-nines multi-region SLA.
  • Google BigQuery — Dremel execution engine, Colossus, Capacitor columnar format, partitioned/clustered tables, and on-demand vs slot editions.
  • AlloyDB for PostgreSQL — Disaggregated storage engine, log processing service, in-memory columnar engine, and zero-data-loss cross-region replication.
  • Cloud Bigtable — Petabyte-scale distributed NoSQL wide-column store, SSTables on Colossus, tablet auto-splitting, and row key design.
  • Cloud Firestore — Serverless document database, Native vs Datastore mode, real-time sync listeners, and ACID multi-document transactions.
  • Cloud Memorystore — Managed in-memory caching for Redis and Memcached, cluster sharding up to 250 nodes, and high-availability failover.

7. Analytics & Big Data Hub

  • Google BigQuery — Serverless data warehouse, BI Engine in-memory acceleration, and BigLake storage abstraction.
  • Cloud Dataflow — Serverless Apache Beam streaming and batch runner, dynamic work rebalancing, watermarks, windowing, and Streaming Engine.
  • Sub — Global Anycast messaging, serverless sharded log storage, ordering keys, exactly-once delivery, and dead-letter queues.
  • Cloud Dataproc — Managed Spark, Hadoop, Flink, and Presto clusters, ephemeral cluster lifecycle, and Dataproc Serverless.
  • Cloud Dataplex — Intelligent data mesh, universal metadata catalog, automated schema discovery, data quality (AutoDQ), and data lineage.
  • Looker & Looker Studio — LookML code-based semantic modeling, in-database SQL pushdown, Persistent Derived Tables (PDTs), and enterprise BI.
  • Cloud Composer — Managed Apache Airflow workflow orchestration on GKE with serverless DCU scaling.

8. AI & Machine Learning Hub

  • Vertex AI Architecture & MLOps — Model Garden, Gemini 1.5/2.0 multimodal APIs, Vector Search (ScaNN), Feature Store, custom training, and managed endpoints.
  • Cloud TPU Supercomputing — Matrix Multiply Units (MXUs), 2D/3D Torus Inter-Chip Interconnect (ICI), TPU v4/v5e/v5p hardware, and Queued Resources.
  • GKE GPU & TPU Orchestration — Kubernetes-native AI/ML clusters with Ray on GKE (KubeRay) and Kueue.

9. Developer Tools & Delivery Hub

  • Cloud Build — Serverless CI build runner, parallel container steps, private worker pools in VPC, and SLSA Level 3 provenance.
  • Artifact Registry — Universal OCI container and package repository (Docker, Helm, Maven, npm, PyPI), and Container Analysis vulnerability scanning.
  • Cloud Deploy — Continuous delivery orchestration for GKE, Cloud Run, and Anthos with automated canary traffic shifting and rollback.

10. Application Integration & Eventing Hub

  • Cloud Tasks — Asynchronous HTTP push queue, token-bucket rate limiting, dispatch concurrency, and task deduplication.
  • Cloud Workflows — Low-latency serverless state machine orchestration, YAML DAGs, built-in connectors, and the Saga pattern.
  • Eventarc — Standardized CloudEvents v1.0 routing from 130+ GCP sources and direct Cloud Storage mutations.
  • Apigee X API Management — Enterprise API gateway, traffic shaping (SpikeArrest/Quota), developer portal, and Cloud Armor security.

11. Monitoring & Observability Hub

  • Cloud Monitoring & MQL — Cross-project metric scopes, Monitoring Query Language (MQL), Managed Service for Prometheus (GMP), and SRE SLO error budgets.
  • Cloud Logging & Log Analytics — High-throughput Log Router, exclusion filters, BigQuery SQL log analytics, log-based metrics, and enterprise sinks.
  • Cloud Trace — Distributed latency tracing, OpenTelemetry (OTel) standard, W3C context propagation, and span waterfall root cause analysis.
  • Cloud Profiler — Zero-cost continuous production CPU, wall time, heap, and mutex profiling with flame graphs.

12. Cost Optimization & FinOps Hub

13. Migration & Modernization Hub

  • Migration Center — Automated infrastructure discovery, VMware vCenter integration, TCO rightsizing models, and migration wave planning.

GCP vs AWS Architecture Translation

Capability / ConceptGoogle Cloud Platform (GCP)Amazon Web Services (AWS)Key Architectural Distinction
Network ScopeGlobal VPCRegional VPCGCP VPC spans all regions globally; subnets are regional. AWS VPC is strictly bound to one region.
Cold Object StorageGCS ArchiveS3 Glacier FlexibleGCS Archive delivers millisecond first-byte latency; AWS Glacier requires a multi-hour asynchronous restore job.
Serverless ContainersCloud RunECS Fargate / LambdaCloud Run supports 1,000 concurrent requests per instance; Lambda is strictly 1 invocation per container.
Distributed Relational DBCloud SpannerAmazon AuroraSpanner provides horizontal multi-master write scale globally via TrueTime atomic clocks; Aurora uses single-writer with read replicas.
External Load BalancingGlobal Anycast IPRoute 53 DNS + ALBGCP advertises a single Anycast IP from 100+ global PoPs; AWS distributes regional IPs via DNS records.
Machine SizingCustom VM ShapesFixed Instance TypesGCP allows arbitrary vCPU and RAM combinations; AWS requires selecting predefined instance sizes.
Kubernetes eBPFDatapath V2 (Cilium)Amazon VPC CNIGKE runs eBPF natively in the kernel for network policies and service routing without kube-proxy.
Cross-Account NetworkingShared VPC / PSCTransit Gateway / RAMShared VPC lets projects share subnets directly from a host project without transit gateways or peering.
AI SupercomputingCloud TPU (v5e/v5p)AWS Trainium / InferentiaCloud TPU uses direct 3D Torus Inter-Chip Interconnect (ICI) optical fabrics bypassing VPC networks.
Enterprise API GatewayApigee XAWS API GatewayApigee X provides full lifecycle API governance, developer self-service portals, monetization, and policy pipelines.
Continuous Code ProfilingCloud ProfilerAWS CodeGuru ProfilerCloud Profiler runs permanently in production with <5% overhead and carries $0.00 platform cost.

  • AWS — AWS architecture reference catalog
  • Azure — Microsoft Azure architecture catalog
  • Kubernetes — Cloud-native container orchestration and deep dives
  • GCP Security Hub — Cloud-native security operations
  • DevOps — CI/CD, GitOps, and platform engineering patterns
  • Architecture — System design, distributed systems, and enterprise data models
  • Observability — Full-stack metrics, logs, traces, and profiling

14 items under this folder.