Deleting an Ephemeral Public IP From an Instance

Deleting an ephemeral public IP automatically unassigns it from its private IP.

    1. Open the navigation menu  and select Compute. Under Compute, select Instances.
    2. Select the instance to view its details.
    3. On the Networking tab, go to the Attached VNICs section and select the VNIC that you're interested in.
    4. Select the IP administration tab to display the VNICs primary private IP and any secondary private IPs.
    5. For the VNIC's primary private IP, select the Actions menu (three dots), and then select Edit.
    6. Under Public IP type, select No public IP.
    7. Select Update.
  • Use the network public-ip delete command and required parameters to delete an ephemeral public IP:

    oci network public-ip delete --public-ip-id Public_IP_OCID ... [OPTIONS]

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

  • Run the DeletePublicIp operation to delete a public IP.