Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 3.21 KB

cidr-ranges.md

File metadata and controls

62 lines (51 loc) · 3.21 KB

CIDR Ranges

IP Calculator

Here is a very good online IP CIDR calculator

Global

Name CIDR
docker0 172.26.0.0/16
Kubernetes aws - dev 10.10.0.0/16
Kubernetes aws - qa 10.11.0.0/16
Kubernetes aws - staging 10.12.0.0/16
Kubernetes aws - prod 10.13.0.0/16
Kubernetes gcp - dev 10.32.0.0/12 - 10.47.0.0/12
Kubernetes gcp - qa 10.48.0.0/12 - 10.63.255.255
Kubernetes gcp - staging 10.64.0.0/12 - 10.79.255.255
Kubernetes gcp - prod 10.80.0.0/12 - 10.95.255.255

Reserved ranged for each environment

Each environment has a bunch of initial reserved ranges to bring up the entire application. The following defines these ranges in a generic sense that can be applied to any of the above CIDRs.

EKS

Name CIDR Address Range
xxx 10.xx.0.0/16 xxxxx - xxxxx

AWS Services Subnets

Name CIDR Address Range
RDS - subnet 1 10.xx.100.0/28 10.xx.100.0 - 10.xx.100.15
RDS - subnet 2 10.xx.100.16/28 10.xx.100.16 - 10.xx.100.31
Redshift subnet 1 10.xx.100.32/28 10.xx.100.32 - 10.xx.100.47
Redshift subnet 2 10.xx.100.48/28 10.xx.100.48 - 10.xx.100.63
app one - subnet 1 10.xx.100.64/28 10.xx.100.64 - 10.xx.100.79
app one - subnet 2 10.xx.100.64/28 10.xx.100.64 - 10.xx.100.79
app two - subnet 1 10.xx.100.64/28 10.xx.100.64 - 10.xx.100.79
app two - subnet 2 10.xx.100.64/28 10.xx.100.64 - 10.xx.100.79
Transit Gateway - subnet1 10.xx.104.16/28 10.xx.104.16 - 10.xx.104.31
Transit Gateway - subnet2 10.xx.104.32/28 10.xx.104.32 - 10.xx.104.47
Transit Gateway - subnet3 10.xx.104.48/28 10.xx.104.48 - 10.xx.104.63

GCP Subnets

Dev

Name CIDR Address Range
VPC - default public subnet 10.32.1.0/24 10.32.1.0 - 10.32.1.255
VPC - default private subnet 10.32.5.0/24 10.32.5.0 - 10.32.5.255
GKE master CIDR block 10.32.11.0/28 10.32.11.0 - 10.32.11.15
GKE cluster public subnet 10.32.16.0/20 10.32.16.0 - 10.32.31.255
GKE cluster private subnet 10.32.32.0/20 10.32.32.0 - 10.32.47.255
GKE service CIDR range 10.32.64.0/19 10.32.64.0 - 10.32.95.255
GKE pod CIDR range 10.36.0.0/14 10.36.0.0 - 10.39.255.255