Google Cloud Platform (GCP) provides hyperscale cloud infrastructure designed around Google's internal planet-scale computing innovations: Borg (container management), Spanner (globally consistent distributed storage), Dremel (serverless analytical SQL), and the Andromeda / Jupiter software-defined network.
This guide details GCP's foundational infrastructure components: Global Virtual Private Cloud (VPC) topology, Google Kubernetes Engine (GKE), Workload Identity Federation IAM, and BigQuery column-oriented analytical architecture.
+-----------------------------------------------------------------------------------------------------------------------+
| GCP CORE INFRASTRUCTURE PRIMITIVES |
+-----------------------------------------------------------------------------------------------------------------------+
| Primitive | Architectural Nature | GCP Advantage | AWS / Azure Analogue |
+------------------------+--------------------------------------+----------------------------+--------------------------+
| Global VPC | Non-RFC1918 SDN spanned globally | Zero VPC-peering cross-reg | AWS VPC (Regional) |
| Cloud Interconnect | Direct fiber to Google Edge POPs | Low egress packet transit | AWS Direct Connect |
| GKE Autopilot | Fully managed Kubernetes node pools | Automated SLA/SLO scaling | AWS EKS Managed Groups |
| BigQuery | Serverless Dremel + Capacitor column | Zero cluster management | AWS Redshift Serverless |
| Workload Identity | OIDC token binding to K8s ServiceAcct| Zero long-lived JSON keys | AWS IRSA (IAM for SA) |
+-----------------------------------------------------------------------------------------------------------------------+
Unlike AWS and Azure where Virtual Private Clouds (VPCs) are strictly regional constructs requiring complex cross-region peering or transit gateways, GCP VPCs are global by default.
+-----------------------------------------------------------------------------------------+
| GCP GLOBAL VPC NETWORK |
+-----------------------------------------------------------------------------------------+
| |
| +---------------------------------+ +---------------------------------+ |
| | Subnet: us-central1 | | Subnet: europe-west1 | |
| | Range: 10.128.0.0/20 | | Range: 10.132.0.0/20 | |
| | GKE Cluster (us-central1-a) | | Cloud SQL (europe-west1-b) | |
| +----------------+----------------+ +----------------+----------------+ |
| | | |
| +-----------------------+-----------------------+ |
| | |
| v |
| [ Google Global Fiber Backbone & Andromeda SDN ] |
| [ Internal private communication without NAT / VPN ] |
+-----------------------------------------------------------------------------------------+
us-central1) communicate directly with databases in Frankfurt (europe-west1) over Google's private subsea fiber cables using internal private IPs without traversing the public internet.Distributing long-lived service account private keys (service-account-key.json) inside container images or Kubernetes secrets is one of the most common vectors for cloud security breaches.
GCP Workload Identity maps a Kubernetes Service Account (KSA) directly to a Google Cloud IAM Service Account (GSA) using OIDC token exchange:
apiVersion: v1
kind: ServiceAccount
metadata:
name: rag-retrieval-ksa
namespace: production
annotations:
iam.gke.io/gcp-service-account: rag-indexer-gsa@my-project.iam.gserviceaccount.com
When pods running under this service account query GCP APIs (e.g., Cloud Storage, Vertex AI, BigQuery), the GKE metadata server transparently negotiates short-lived (1-hour) OAuth2 access tokens, eliminating hardcoded credentials.
BigQuery achieves sub-second analytical scans across petabytes of data by separating compute from storage: