Subnetting in Google Cloud Platform (GCP)

Google Cloud VPC works slightly differently from AWS. Let's explore GCP subnetting.

GCP VPC Architecture

GCP uses auto-mode or custom-mode VPC:

Regional Subnets

In GCP, subnets are REGIONAL — tied to a specific region:

us-central1: 10.128.0.0/20
us-east1:   10.129.0.0/20
europe-west1: 10.130.0.0/20

Each region gets its own subnet.

GCP Subnet Sizes

CIDRHostsNote
/295Minimum
/204,094Default auto-mode
/1665,534Large networks

Typical GCP Setup

VPC: 10.0.0.0/16

Frontend:   10.0.1.0/24  (us-central1)
Backend:   10.0.2.0/24  (us-central1)
Database:  10.0.10.0/24 (us-central1)

GCP vs AWS: Key Differences

FeatureGCPAWS
Subnet scopeRegionalAZ-specific
Auto modeYesNo
Min subnet/29/28

👉 Calculate GCP Subnets


← Back to Blog | Privacy Policy | Contact Us