Deleting an Ephermal Public IP From an Instance

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

    1. Open the navigation menu and click Compute. Under Compute, click Instances.
    2. Click the instance to view its details.
    3. Under Resources, click Attached VNICs to display the primary VNIC and any secondary VNICs attached to the instance.
    4. Click the VNIC that you're interested in.
    5. Under Resources, click IP addresses to display the VNIC's primary private IP and any secondary private IPs.
    6. For the VNIC's primary private IP, click the Actions menu (Actions Menu), and then click Edit.
    7. In the Public IP address section, for Public IP type, select the radio button for No public IP.
    8. Click 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.