Why AWS VPC Subnets Reserve 5 IPs and How to Size EKS/Terraform CIDRs
In every Amazon VPC subnet, AWS permanently reserves five IPv4 addresses that cannot be assigned to EC2 instances, NAT gateways, RDS endpoints, or EKS pods: the network base address (+0), the VPC router (+1), the Amazon-provided Route 53 DNS resolver (+2, which is also base+2 of the VPC CIDR), a reserved address for future AWS use (+3), and the subnet broadcast address (last IP). Thus a /28 subnet provides only 16 - 5 = 11 usable IPs, and a /24 provides 251 usable IPs.
Under-sizing private subnets is one of the costliest mistakes in AWS Terraform architectures because subnet CIDR blocks are immutable once created. For Amazon EKS clusters running the default AWS VPC CNI plugin, allocate at least /20 (4,091 usable IPs) or /19 subnets per Availability Zone so rolling deployments and ALB scaling never exhaust IP space.
- AWS 5 Reserved IPsFirst 4 IPs (+0 Network, +1 VPC Router, +2 Amazon DNS, +3 Future Use) + Last IP (Broadcast) per subnet.
- AWS VPC Prefix LimitsIPv4 VPC CIDR blocks must be between /16 (65,536 IPs) and /28 (16 IPs); subnets follow the same /16–/28 bounds.
- EKS / ALB Sizing NoteAWS Application Load Balancers require at least 8 free IPs per AZ subnet; EKS VPC CNI consumes 1 IP per pod.
Which exact 5 IP addresses does AWS reserve in 10.0.1.0/24?
10.0.1.0 (Network), 10.0.1.1 (AWS VPC Router), 10.0.1.2 (AWS DNS Server), 10.0.1.3 (Reserved for future use), and 10.0.1.255 (Network Broadcast). Assignable IPs run from 10.0.1.4 to 10.0.1.254.
What is the smallest and largest IPv4 CIDR block allowed in AWS VPC?
The largest AWS VPC IPv4 CIDR block is /16 (65,536 IPs) and the smallest allowed VPC or subnet block is /28 (16 total IPs, 11 usable).
Does Azure VNet also reserve 5 IPs per subnet?
Yes. Azure reserves the exact same 5 addresses per subnet (+0, +1 default gateway, +2/+3 Azure DNS mapping, and broadcast), while GCP reserves 4 IPs (+0, +1 default gateway, second-to-last, and last).