Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP
addresses (BYOIP) and creates a corresponding address pool. After the address range is
provisioned, it is ready to be advertised using AdvertiseByoipCidr.
Amazon Web Services verifies that you own the address range and are authorized to advertise it.
You must ensure that the address range is registered to you and that you created an
RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range.
For more information, see Bring your own IP addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide.
Provisioning an address range is an asynchronous operation, so the call returns immediately,
but the address range is not ready to use until its status changes from pending-provision
to provisioned. To monitor the status of an address range, use DescribeByoipCidrs.
To allocate an Elastic IP address from your IPv4 address pool, use AllocateAddress
with either the specific address from the address pool or the ID of the address pool.
example
Use a bare-bones client and the command you need to make an API call.
Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr.
Amazon Web Services verifies that you own the address range and are authorized to advertise it. You must ensure that the address range is registered to you and that you created an RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range. For more information, see Bring your own IP addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide.
Provisioning an address range is an asynchronous operation, so the call returns immediately, but the address range is not ready to use until its status changes from
pending-provision
toprovisioned
. To monitor the status of an address range, use DescribeByoipCidrs. To allocate an Elastic IP address from your IPv4 address pool, use AllocateAddress with either the specific address from the address pool or the ID of the address pool.Use a bare-bones client and the command you need to make an API call.
import { EC2Client, ProvisionByoipCidrCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, ProvisionByoipCidrCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new ProvisionByoipCidrCommand(input); const response = await client.send(command);
ProvisionByoipCidrCommandInput for command's
input
shape.ProvisionByoipCidrCommandOutput for command's
response
shape.config for EC2Client's
config
shape.