Design an AWS 10.0.0.0/16 VPC across three AZs

Allocate three public and three private AWS subnets, include per-subnet reservations and export a Terraform address plan.

Try these inputs

Worked calculation

  1. Each private group needs 500 + 5 = 505 slots. A /23 provides 512 total and 507 usable, so place three /23s first.
  2. Each public group needs 120 + 5 = 125 slots. Use three /25s, starting at 10.0.6.0/25 after the private ranges.
  3. Allocated addresses total 3 × (512 + 128) = 1,920. The rest of the /16 holds 65,536 − 1,920 = 63,616 unassigned addresses.

Inputs

AWS availability zones. Azure and Google Cloud use regional subnets with logical group labels.
Usable IPs per group

Calculated in your browser

Results

Usable across subnets
1,890
Allocated subnets
6
Unassigned space
63,616

Cloud subnet placement map

Cloud subnet placement mapEach lane shows the relative block sizes within one placement group. The results table lists the exact address ranges.10.0.0.0/16640 addresses per groupAZ 110.0.0.0/23/2310.0.6.0/25/25AZ 210.0.2.0/23/2310.0.6.128/25/25AZ 310.0.4.0/23/2310.0.7.0/25/25
  • Private
  • Public
Each lane shows the relative block sizes within one placement group. The results table lists the exact address ranges.
Parent CIDR
10.0.0.0/16
Provider
AWS
Reserved per subnet
5
Allocated addresses
1,920
Placement
Availability zones
Subnet allocation
Tier / groupCIDRRequestedUsableUsable range
Private / 110.0.0.0/2350050710.0.0.4 – 10.0.1.254
Private / 210.0.2.0/2350050710.0.2.4 – 10.0.3.254
Private / 310.0.4.0/2350050710.0.4.4 – 10.0.5.254
Public / 110.0.6.0/2512012310.0.6.4 – 10.0.6.126
Public / 210.0.6.128/2512012310.0.6.132 – 10.0.6.254
Public / 310.0.7.0/2512012310.0.7.4 – 10.0.7.126

Questions

What is the private address capacity in one zone of this layout?

A /23 provides 512 slots. With five reserved, a single private subnet offers 507 assignable addresses.

Where does the first public /25 start in the exported layout?

It starts at 10.0.6.0. Three private /23s consume the addresses through 10.0.5.255 first.

References