Google Cloud Platform (GCP) VPC Subnetting
VPC Subnetting Design & Sizing Reference Guide
Google Cloud Platform (GCP) VPC
Dynamic (Regional Subnets)
Google Cloud VPC is global by default. Subnets are regional objects. GCP reserves 4 IP addresses per subnet. Features dynamic Alias IP ranges and Shared VPC topologies for cross-project connectivity.
Regional Web tier: /24 (252 usable hosts). Regional DB tier: /24. Custom GKE Pod IP allocation ranges typically use a secondary CIDR block (e.g. /14 range) via Alias IPs.
VPC Networking Sizing Principles
Virtual Private Clouds (VPC) form the isolation layer of cloud infrastructure. Proper planning of CIDR sizing prevents address space overlap, ensuring seamless hybrid connections to on-premises datacenters via VPN or dedicated trunks. Sizing application subnets correctly avoids resource exhaustion during high autoscaling demands.
How to configure this cloud VPC subnetwork
1. Create Custom VPC Network
Initialize a VPC network in Custom Mode to prevent automatic subnet allocations.
2. Create Regional Subnet
Create subnets in target regions (e.g. us-east1 at 10.142.0.0/20).
3. Configure Firewall Rules
Configure GCP VPC firewall rules (ingress/egress traffic rules) to secure targets by network tags.