Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Manually allocate a CIDR to a pool to reserve IP address space
Follow the steps in this section to manually allocate a CIDR to a pool. You might do this
in order to reserve a CIDR within an IPAM pool for later use. You can also reserve space in
your IPAM pool to represent an on-premises network. IPAM will manage that reservation for you and indicate if any CIDRs overlap with your on-premises IP space.
- Amazon Management Console
-
To manually allocate a CIDR
Open the IPAM console at
https://console.amazonaws.cn/ipam/.
-
In the navigation pane, choose Pools.
-
By default, the default private scope is selected. If you don’t want to use the default
private scope, from the dropdown menu at the top of the content pane, choose the scope you want to use. For more information about scopes, see How IPAM works.
-
In the content pane, choose a pool.
-
Choose Actions > Create custom
allocation.
-
Choose whether to add a specific CIDR to allocate (for example,
10.0.0.0/24
for IPv4 or 2001:db8::/52
for IPv6) or add a
CIDR by size by choosing the netmask length only (for example, /24
for
IPv4 or /52
for IPv6).
-
Choose Allocate.
You can view the allocation in IPAM by choosing Pools
in the navigation pane, choosing a pool, and viewing the Allocations tab for the pool.
- Command line
-
The commands in this section link to the Amazon CLI Reference documentation. The
documentation provides detailed descriptions of the options that you can use when you
run the commands.
Use the following Amazon CLI commands to manually allocate a CIDR to a pool:
To release a manually allocated CIDR, see Release an allocation.