Deleting an Ephemeral Public IP From an Instance
Deleting an ephemeral public IP automatically unassigns it from its private IP.
- Open the navigation menu and select Compute. Under Compute, select Instances.
- Select the instance to view its details.
- On the Networking tab, go to the Attached VNICs section and select the VNIC that you're interested in.
- Select the IP administration tab to display the VNICs primary private IP and any secondary private IPs.
- For the VNIC's primary private IP, select the , and then select Edit.
- Under Public IP type, select No public IP.
- 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.