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