Templates/Shared VPC Hub-and-Spoke
Google Cloud
Networking
advanced

Shared VPC Hub-and-SpokeGoogle Cloud Architecture Template

A hub VPC with HA VPN to on-prem, peered prod and dev spoke VPCs, centralized NAT, and private DNS.

HA VPN to On-PremPrivate DNSHub VPCCentral Cloud NATSpoke VPC - ProdSpoke VPC - DevProd WorkloadsDev WorkloadsNetwork Admin IAMCloud Monitoring

Why this architecture works

  • Centralizing hybrid connectivity in the hub means one VPN estate instead of one per environment.
  • Prod and dev spokes are isolated from each other by default; all cross-traffic transits the hub policy point.
  • Shared Cloud NAT in the hub gives audited, centralized egress without public IPs on workloads.
  • Private Cloud DNS zones resolve consistently across hub, spokes, and on-prem.
  • Network-admin IAM on the hub separates network governance from workload teams.

What's inside (10 resources)

HA VPN to On-Prem
gcp-cloud-vpn
Private DNS
gcp-cloud-dns
Hub VPC
gcp-vpc
Central Cloud NAT
gcp-cloud-nat
Spoke VPC - Prod
gcp-vpc
Spoke VPC - Dev
gcp-vpc
Prod Workloads
gcp-compute-engine
Dev Workloads
gcp-compute-engine
Network Admin IAM
gcp-iam
Cloud Monitoring
gcp-monitoring

From template to running infrastructure

  1. Open this template in the CloudForge visual designer (free account, no credit card).
  2. Customize resources, names, and connections on the drag-and-drop canvas — or ask Vani, the AI architect, to adapt it.
  3. Generate production-ready Terraform or Pulumi in one click.
  4. Review the plan diff and security scan, then deploy with human approval.

Related architecture templates