IP Pools

A public IP pool is simply a set of CIDR blocks allocated to a tenancy. These CIDR blocks can be all or part of a BYOIP CIDR block. Public IP CIDR blocks assigned to a pool are only available for your tenancy. Public IP pools are available as a source for IP allocation when launching a NAT gateway, load balancer, or compute instance. You can add more IP CIDR blocks to a public IP pool at any time. You can also:

  • Create a Reserved IP: You can reserve individual IPs from your public IP pools. These reserved IP addresses can be attached to your resources.
  • Direct launch from pool: You can launch resources with an IP directly allocated from a public IP pool without previously creating a reserved IP for that resource.
  • Delete CIDR blocks and pools: You can delete the entire public IP pool or certain IP CIDR blocks within the pool, provided none of the IP addresses are currently attached or reserved.

Requirements and Preparation

  • To use public IP pools with BYOIP addresses, you need to import your addresses.
  • To reserve Oracle-supplied public IP addresses, select "Oracle" as the public IP pool when creating the reserved public IP address.

Limits and quotas

  • You can create one or up to 10 public IP pools in a compartment.
  • A public IP pool can have zero or more IP CIDR ranges assigned to it, with a minimum size of /28 to a maximum size of /24.

Required IAM Policy

To use Oracle Cloud Infrastructure, you must be granted security access in a policy  by an administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don’t have permission or are unauthorized, verify with your administrator what type of access you have and which compartment  you should work in.

For administrators: see IAM Policies for Networking.

Limits on IAM Resources

See Service Limits for a list of applicable limits and instructions for requesting a limit increase. To set compartment-specific limits on a resource or resource family, administrators can use compartment quotas.

Managing IP pools using the console

To view your public IP pools
  1. Confirm you're viewing the region and compartment you're interested in.
  2. Open the navigation menu. Under Core Infrastructure, go to Networking , go to IP Management, and click Public IP Pools.
To create a public IP pool
  1. From the Public IP Pools list view, click Create Public IP Pool. The Create Public IP Pool screen appears.
  2. Give the pool a name. Avoid entering confidential information.
  3. Assign the Public IP pool to a compartment.
  4. Click Create Public IP Pool.
To delete a public IP pool
  1. From the Public IP Pools list view, select a public IP pool from the list and click Delete Public IP Pool. The Delete Public IP Pool verification screen appears.
  2. If there are no warnings or errors, click Delete Public IP Pool. If this public IP pool contains reserved public IP addresses currently in use, you can't delete the public IP pool.
To rename a public IP pool
  1. From the details view for a public IP pool, click Rename Public IP Pool.
  2. Enter a new name for the public IP pool. Avoid entering confidential information.
  3. Click Save Changes.
To add CIDR blocks to a public IP pool
  1. From the details view for a public IP pool, click Add CIDR Blocks.
  2. Choose a named BYOIP CIDR block.
  3. Click Add CIDR Blocks.
To remove CIDR blocks from an IP pool
Note

To successfully remove a BYOIP CIDR block from a public IP pool, there must be no reserved public IP addresses from that address range. You may have to terminate one or more reserved public IP addresses.
  1. In the details page for your BYOIP CIDR block, click the Action Icon corresponding to the subrange you want to remove from a public IP pool, and then click Remove from Public IP Pool . A confirmation window appears.
  2. If you are sure you want to delete the BYOIP CIDR block, click Remove CIDR Block.
To reserve a public IP
  1. In the details page for a public IP pool, click the Create Reserved Public IP button.
  2. Enter a name and specify the compartment for the new reserved public IP address. Avoid entering confidential information.
  3. When finished, click Create Reserved Public IP.
To move a public IP pool to another compartment
  1. From the details view for an IP pool, click the Move Public IP Pool button. An input screen appears.
  2. Choose a new compartment for the public IP pool.
  3. Click Move Public IP Pool.