Rutagon gives each new VPC a CIDR from one shared IPAM pool so the address does not overlap another account, for a team that still picks CIDRs by hand and finds the collision when the peering fails. AWS VPC IPAM multi-account is that pool, shared to the accounts that create VPCs, and the next VPC takes the next non-overlapping block.
AWS VPC IPAM multi-account
The failure this removes is two VPCs with the same private range. Peering, a shared services path, and a later merger of networks all assume the ranges do not overlap. A spreadsheet of CIDRs drifts the day someone creates a VPC in a new account without opening the sheet. IPAM is the allocation record. A regional pool holds the space you dedicate. A new VPC is created from that pool with a netmask, and IPAM assigns a free block. The person does not type the CIDR.
The service is described in the VPC IPAM documentation. We create the IPAM in the account you choose as the network account, or we use the IPAM you already started if its pools match the space you still have free. We do not stand up a second IPAM beside the first and allocate from both. Two allocators is how overlaps return.
Pools are shared to the member accounts that may create VPCs. Sharing uses the resource share you already have available in the organization, so the workload account can allocate without being an IPAM administrator. The workload account does not get a standing key to the network account. It gets permission to draw a CIDR. Multi-account setup is the neighboring baseline when the accounts themselves are not in one organization yet. This engagement assumes the accounts exist and fixes the address plan. Shared VPC patterns are a different share: the VPC itself, not the pool the next VPC draws from. AWS cloud infrastructure is the lane.
Rutagon builds the pools from Alaska. The top of the private space is a pool you name, large enough for the regions you actually use. Regional pools sit under it. A VPC in one region draws from that region's pool. We do not allocate a block in the wrong region and call the plan done.
How a new VPC gets its CIDR
The VPC resource asks the pool for a netmask. It does not also set a CIDR literal. Setting both is a mistake we do not ship. The pool id and the netmask are the inputs. IPAM returns the block and records the allocation against the VPC.
resource "aws_vpc" "app" {
ipv4_ipam_pool_id = var.regional_pool_id
ipv4_netmask_length = 24
} That example is the whole request. The pool id is the regional pool shared into the account. The netmask is the size you standardized for an application VPC. A larger or smaller mask is a named exception, not a one-off in a pull request that bypasses the pool. If a team needs a bigger block, the pool must have one free. If it does not, we widen the regional pool from space the parent pool still holds, or we stop and tell you the parent is exhausted. We do not pick an overlapping range from outside the pool to unblock a deploy.
Existing VPCs are inventoried. Ones that already overlap are a finding, not a silent renumber. Renumbering a live VPC is a migration of every address-dependent rule, and it is not the first change. The first change is that new VPCs cannot make the overlap worse. The finding lists the overlapping pairs, the accounts, and whether traffic between them is even possible today. You decide whether a later project renumbers. We do not start that renumber inside the pool rollout and surprise a production subnet.
Allocations that point at VPCs you deleted are released so the space returns to the pool. An allocation whose VPC is gone and whose share still holds the block is wasted space, and it will push you to widen a pool you do not need to widen. We release those after a read shows the VPC is gone. We do not release an allocation for a VPC that still exists.
What the pool does not do
The pool does not choose your security groups, your routes, or your connectivity. A non-overlapping CIDR is necessary for the networks to meet. It is not the peering, the transit attachment, or the firewall. We will attach a new VPC to a path you already operate if that attachment is a few lines in the same change and you want it. We will not design a new network core as the IPAM project.
The pool does not allocate public addresses. Elastic IP and public IPv4 billing are a different meter. If the pool you need is private space, we build a private pool. A public IPv6 or public IPv4 pool is included only when you already have that space and you want new VPCs to draw it the same way. We do not buy address space inside this engagement.
The pool does not replace an account boundary. Workload accounts remain workload accounts. The network account administers IPAM. Administrators of IPAM are few, and they are named. A workload role that can create a VPC from the shared pool cannot edit the parent pool and hand itself the rest of the address space. That split is part of the delivery. A single role that can do both is the spreadsheet problem with extra steps.
We will not import every historical CIDR into the pool on day one if the import would mark overlapping space as allocated twice. Imports that fit are recorded so IPAM knows the space is taken. Imports that collide are the finding, left outside the "allocated and healthy" list until you renumber or accept the isolation. Pretending the import succeeded is how the next draw overlaps in the console even though the plan looked clean.
Handover is the IPAM, the regional pools, the shares, one new VPC you watch draw a CIDR, the overlap findings, and the released dead allocations. The next VPC in a shared account uses the pool. A pull request that hard-codes a CIDR is a miss, and we point the module at the pool before we call it done. On a production SaaS platform new accounts were not given a copied address block from a wiki page. The pool is that discipline.
How the next account stays on the pool
Account creation, if you already automate it, gains the share and the pool id as part of the same automation. An account that can create a VPC and was not given the pool will hard-code a CIDR the first time someone is in a hurry. We close that hole in the template you authorize. An account factory we cannot edit is named. The scorecard shows which accounts can draw from the pool and which cannot.
Monitoring is a simple allocation check, not a new product. A VPC created in a member account without an IPAM allocation is the alert. We wire that check to the channel you already read. We do not build a second inventory site. The IPAM console and the allocation list are the inventory.
Documentation for the module is a few lines: which pool, which netmask, and the instruction not to set a CIDR literal. It lives next to the module. It does not live as a spreadsheet only one person can find.
Frequently Asked Questions
Will IPAM renumber VPCs that already overlap?
No. Existing overlaps are a finding. New VPCs draw from the pool so they do not add another overlap. Renumbering a live VPC is a later migration you would have to ask for, and it is not the first change.
Can a workload account pick any CIDR it wants?
A workload account that uses the shared pool gets a free block of the netmask you set. It does not type an arbitrary range, and it does not administer the parent pool. A hard-coded CIDR in the module is a miss we remove.
What if the regional pool has no space left?
We widen it from the parent pool when the parent still has room. If the parent is exhausted, we stop and say so. We do not allocate an overlapping range from outside IPAM to unblock the deploy.
Do you also build the transit network?
Only an attachment you already use, when it is a small part of the same change and you ask for it. A new network core is not this engagement. The delivery is non-overlapping CIDRs from the shared pool.
What happens to allocations for deleted VPCs?
They are released after a read shows the VPC is gone, so the space returns to the pool. Allocations for VPCs that still exist stay. We do not free a block that a live subnet is using.
Book a technical call. 907-841-8407. contact@rutagon.com.