Networking Deep Dive
Private Service Connect (PSC) — Recommended
Customer VPC Google-Managed VPC
┌─────────────────┐ ┌─────────────────┐
│ │ │ │
│ PSC Endpoint │ ──────────────►│ Service │
│ (Consumer) │ Private │ Attachment │
│ 10.0.1.5 │ Connection │ (Producer) │
│ │ │ │
└─────────────────┘ └─────────────────┘
Benefits of PSC over VPC Peering: - No IP range conflicts (no overlapping CIDR blocks) - Unidirectional — only consumer can initiate connections - Better security isolation - Can work across organizations - No route table management needed
VPC Peering (Legacy)
Customer VPC (10.0.0.0/16) ←── Peering ──→ Apigee VPC (10.100.0.0/20)
Limitations: - IP ranges must not overlap - Bidirectional access (less secure) - Limited to same organization - Route table complexity grows