nodemethod
FoundationsFoundational

IP address planning for multi-account clouds

A non-overlapping CIDR plan that leaves room for growth, peering and on-premises connectivity.

Overlapping address ranges are the most expensive networking mistake to fix later: two VPCs that share a range can never be routed to each other without NAT. A good plan assigns a large supernet per region and environment, carves VPCs out of it in fixed sizes, and records every allocation in one place, ideally an IP address manager.

ORGANISATION SUPERNET 10.0.0.0/8US-WEST-2 · 10.16.0.0/12EU-WEST-1 · 10.32.0.0/12VPNNMIP address managerallocationsNETprod-payments10.16.0.0/16NETprod-web10.17.0.0/16NETstaging10.20.0.0/16NETdev10.24.0.0/16NETshared services10.31.0.0/16NETprod-web10.32.0.0/16NETprod-data10.33.0.0/16NETstaging10.36.0.0/16DCOffice / DC172.16.0.0/12
traffictunnel / replicationblocked

When to use it

  • Before creating the second VPC in an organisation
  • Before connecting cloud networks to an office or data centre
  • When adopting a landing zone with many accounts or subscriptions

When to avoid it

  • Reusing 10.0.0.0/16 in every account because it is the console default

How traffic flows

  1. Reserve one supernet for all cloud networks and keep on-premises ranges outside it (here 172.16.0.0/12).
  2. Give each region a /12 and each environment a fixed block inside the region, so a VPC range tells you where it lives.
  3. Allocate VPCs in a single size (a /16, or /20 for smaller estates) from the manager, never by hand.
  4. Leave at least half of every block unallocated. Growth always arrives sooner than planned.

Configuration examples

resource "aws_vpc_ipam" "main" {
  operating_regions { region_name = "us-west-2" }
  operating_regions { region_name = "eu-west-1" }
}

resource "aws_vpc_ipam_pool" "usw2" {
  address_family = "ipv4"
  ipam_scope_id  = aws_vpc_ipam.main.private_default_scope_id
  locale         = "us-west-2"
  allocation_default_netmask_length = 16
}

resource "aws_vpc_ipam_pool_cidr" "usw2" {
  ipam_pool_id = aws_vpc_ipam_pool.usw2.id
  cidr         = "10.16.0.0/12"
}

resource "aws_vpc" "payments" {
  ipv4_ipam_pool_id   = aws_vpc_ipam_pool.usw2.id
  ipv4_netmask_length = 16          # IPAM picks the next free /16
}

Examples are starting points. Review provider limits, names and versions for your environment before applying.

What to monitor

SignalWhy it matters
Free addresses per subnetAutoscaling and EKS pods fail to launch when a subnet runs out of IPs.
Overlapping CIDRs across accountsAny overlap blocks future peering or transit routing.
Allocations made outside the IP managerA hand-picked range is the usual source of overlaps.

Common failure modes

Subnet exhaustion during scale-out

Kubernetes assigns a VPC address to every pod, so a /24 fills up fast.

Tune forecasts IP consumption and warns days before a subnet fills.

Overlap discovered at connection time

A partner VPN or acquisition brings a range you already use.

Sentinel inventories every range and reports overlaps before you build the link.

Checklist

0 of 5 done
Was this pattern useful?

Run this pattern with NodeMethod watching it.

NodeMethod is onboarding early-access teams now. Tell us about your environment and we will be in touch.

esc
↑↓ to move↵ to open