Fit AWS isolated and database subnets across four AZs
Reserve 27 isolated and 11 database addresses per zone in 10.20.0.0/24, leaving a contiguous block for a future tier.
Try these inputsWorked calculation
- The isolated tier needs 27 + 5 = 32 addresses per zone and therefore uses /27.
- The database tier needs 11 + 5 = 16 per zone. That fits /28, the smallest AWS IPv4 subnet in this planner.
- The four copies of each tier consume 4 × (32 + 16) = 192 addresses. The final .192/26 remains unassigned.
Results
- Usable across subnets
- 152
- Allocated subnets
- 8
- Unassigned space
- 64
Cloud subnet placement map
- Isolated
- Database
- Parent CIDR
- 10.20.0.0/24
- Provider
- AWS
- Reserved per subnet
- 5
- Allocated addresses
- 192
- Placement
- Availability zones
| Tier / group | CIDR | Requested | Usable | Usable range |
|---|---|---|---|---|
| Isolated / 1 | 10.20.0.0/27 | 27 | 27 | 10.20.0.4 – 10.20.0.30 |
| Isolated / 2 | 10.20.0.32/27 | 27 | 27 | 10.20.0.36 – 10.20.0.62 |
| Isolated / 3 | 10.20.0.64/27 | 27 | 27 | 10.20.0.68 – 10.20.0.94 |
| Isolated / 4 | 10.20.0.96/27 | 27 | 27 | 10.20.0.100 – 10.20.0.126 |
| Database / 1 | 10.20.0.128/28 | 11 | 11 | 10.20.0.132 – 10.20.0.142 |
| Database / 2 | 10.20.0.144/28 | 11 | 11 | 10.20.0.148 – 10.20.0.158 |
| Database / 3 | 10.20.0.160/28 | 11 | 11 | 10.20.0.164 – 10.20.0.174 |
| Database / 4 | 10.20.0.176/28 | 11 | 11 | 10.20.0.180 – 10.20.0.190 |
Questions
Can the 11-address AWS database tier use a /29?
AWS uses /28 as the smallest standard IPv4 subnet. A /29 would also be too small for 11 assignable addresses.
How many AWS reservations does this eight-subnet design incur?
Five per subnet times eight subnets equals 40 reserved addresses.