Creating a Reserved Public IP

Create a reserved public IP object in a pool of reserved public IP addresses in Oracle Cloud Infrastructure.

    1. Open the navigation menu and click Networking. Under IP management, click Reserved public IPs.
    2. Click Reserve public IP Address.
    3. Enter the information for the reserved public IP object:
      • Reserved public IP address name: An descriptive name for the reserved public IP. The name doesn't have to be unique, and you can change it later. Avoid entering confidential information.
      • Create in Compartment: The compartment in which you want to create the reserved public IP, which could be different from the compartment you're currently working in.
      • IP address source in <compartment>: (optional) The IP pool that the reserved public IP address is drawn from. If you don't select a pool that you've created, the default Oracle pool is used.
    4. Click Show advanced options and specify tags for the reserved public IP object.
      If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
    5. Click Reserve Public IP address.

      The new reserved public IP is created and displayed on the page. You can now assign it to an existing private IP.

  • Use the network public-ip create command and required parameters to create a reserved public IP address:

    oci network public-ip create --compartment-id compartment_ID --lifetime RESERVED ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreatePublicIp operation to create a reserved public IP.