Blog/network

AWS VPC Subnet Planning: Best Practices for /24 to /28 Networks

By Yurlie Architecture TeamAugust 3, 20267 min read

Understanding AWS IP Address Reservations

When you provision a subnet in AWS, the platform automatically reserves five IP addresses within every CIDR block. You cannot assign these reserved addresses to Amazon EC2 instances, Application Load Balancers, or container tasks.

For a standard /24 subnet containing 256 total IP addresses (from 10.0.1.0 to 10.0.1.255), AWS reserves the following:

  1. 10.0.1.0: Network address.
  2. 10.0.1.1: Reserved by AWS for the VPC router.
  3. 10.0.1.2: Reserved by AWS for Domain Name System (DNS) resolution.
  4. 10.0.1.3: Reserved by AWS for future functionality.
  5. 10.0.1.255: Network broadcast address.

Consequently, a /24 CIDR block yields exactly 251 usable IP addresses rather than the theoretical 254.

---

Subnet Size Allocation Reference Table

CIDR PrefixSubnet MaskTotal IP CountUsable AWS HostsRecommended Deployment Role
/16255.255.0.065,53665,531Primary VPC Network CIDR
/20255.255.240.04,0964,091Large Container / Kubernetes Node Pools
/24255.255.255.0256251Public Web Tier / Application Load Balancers
/26255.255.255.1926459Database Tier / Private Subnet Group
/28255.255.255.2401611Isolated Management / Bastion Tier

---

Calculate CIDR Ranges Instantly with Yurlie

Calculate netmasks, broadcast boundaries, usable host counts, and binary structures instantly using the free Yurlie CIDR Subnet Calculator.

Try Yurlie Online Developer Tools

Run CIDR calculations, JSON formatting, Base64 encoding, and UUID generation instantly in your browser.

Explore Tools →