VPC CIDR boundaries
A VPC is a logically isolated network with associated CIDR blocks. Subnets consume nonoverlapping portions of those blocks. RFC1918 private IPv4 space is commonly used, but choose a block that does not collide with connected VPCs, on-premises networks or VPN routes. Use 10.20.0.0/16 as a fictional parent and validate each child with ipaddress.ip_network before adding it to the plan. Address planning reduces later renumbering and connectivity problems when a learning VPC becomes connected to another network or organization environment. Selecting a familiar 10.0.0.0/16 without checking existing networks may create overlap and make future peering or VPN routing impossible as planned.
Use 10.20.0.0/16 as a fictional parent and validate each child with ipaddress.ip_network before adding it to the plan.
Address planning reduces later renumbering and connectivity problems when a learning VPC becomes connected to another network or organization environment.
Selecting a familiar 10.0.0.0/16 without checking existing networks may create overlap and make future peering or VPN routing impossible as planned.