Subnet planning in Azure and AWS: the five reserved IPs nobody budgets for

Both Azure and AWS keep five addresses in every subnet. On small subnets that is a big share of your space. Here is how to size subnets so you don’t have to rebuild them later.

Key takeaways

  • Azure and AWS both reserve 5 IP addresses in every subnet.
  • A /28 gives 11 usable addresses in either cloud, not 14.
  • Size for growth: re-addressing a subnet in use usually means redeploying what is in it.

Classic subnetting loses two addresses per subnet, for the network and broadcast addresses. In the public cloud you lose five, and on small subnets that difference matters.

What Azure reserves

Azure keeps the network address, the default gateway, two addresses that map to Azure DNS, and the broadcast address. The smallest subnet is a /29.

What AWS reserves

AWS keeps the network address, the VPC router, the DNS server, one address reserved for future use, and the broadcast address. The smallest subnet is a /28.

usable addresses
/29  →  8 total  →  3 usable (Azure only)
/28  → 16 total  → 11 usable
/27  → 32 total  → 27 usable
/24  → 256 total → 251 usable

Plan for growth

Moving a subnet that is in use usually means redeploying everything in it. Leave room, and keep unallocated space contiguous at the end of your range.

Allen White

Lead Solutions Architect

Solutions architect with a background as an IT engineer and consultant on Microsoft, VMware and cloud platforms. Builds the tools on Techies Help and writes about what’s changing in tech.

Your product here. Reach IT engineers and architects who use these tools.Advertise →