Nothing stalls a Terraform apply or an EKS cluster rollout faster than running out of IPs in a /24 subnet — or discovering too late that your Kubernetes Pod CIDR overlaps with your company VPN or another VPC you need to peer.

Here are the 4 subnetting mistakes that bite AWS and Kubernetes infrastructure teams most often, along with a 100% browser-local CIDR & Terraform subnet calculator that runs offline with zero telemetry.

1. Sizing EKS Subnets Like Static EC2 Subnets

By default, the Amazon VPC CNI plugin allocates warm ENIs and secondary private IPs per node — meaning every Pod consumes a real IP address inside your VPC subnet.

A /26 subnet only gives 59 usable IPs (64 - 5 reserved by AWS: network, VPC router, DNS, future use, broadcast). Put 3 worker nodes with 20 Pods each into one AZ subnet and you will hit InsufficientFreeAddressesInSubnet right when autoscaling kicks in.

  • Rule of thumb: Reserve at least /22 (1,019 usable AWS IPs) or /21 (2,043 usable AWS IPs) per AZ private subnet for active Kubernetes node groups, or enable prefix delegation (/28 blocks per ENI).

2. Overlapping 10.0.0.0/16 Across Dev, Staging, and Prod VPCs

Every starter Terraform template defaults to 10.0.0.0/16. If you spin up dev, staging, and prod with identical CIDRs, you cannot cleanly connect them later with VPC Peering or AWS Transit Gateway without complex NAT or full cluster rebuilds.

Allocate non-overlapping /16 blocks upfront:

  • prod: 10.10.0.0/16
  • staging: 10.20.0.0/16
  • dev: 10.30.0.0/16
  • Corporate / Tailscale / VPN ranges: keep completely outside 10.10–10.39.0.0/16

3. Splitting a VPC Evenly When Public & Private Tiers Need Asymmetric Space

Public subnets usually only hold NAT Gateways and Application Load Balancers — a /26 or /25 per AZ is plenty. Private application/EKS subnets hold Pods, RDS instances, ElastiCache nodes, and internal ECS tasks.

Instead of splitting a /20 into equal /22 slices, carve large private blocks first (cidrsubnet in Terraform) and keep public/database tiers right-sized from the remaining prefix space.

4. Forgetting AWS's 5 Reserved Addresses per Subnet

Standard IPv4 math tells you a /24 has 254 usable hosts (256 - 2). Inside AWS VPC, 5 addresses are reserved in every subnet (.0, .1, .2, .3, and .255 on a /24), leaving 251 usable IPs — and a /28 leaves only 11 usable IPs (16 - 5).

Free 100% Browser-Local DevOps & Cloud Calculators (Zero Uploads)

Inspect your internal RFC 1918 network plans directly in your browser without sending topology CIDRs to external backends:

Production Terraform + GitOps Starter Pack (20% Off with Code PH20)

If you want pre-built AWS VPC/EKS Terraform modules, hardened Docker + Nginx configs, Kustomize/Helm overlays, and Prometheus SLO alerts in one package (use code PH20 for 20% off):

What's the smallest AWS subnet size you still trust for production EKS?``