Viewing Public IP Addresses
On Compute Cloud@Customer, you can use the Compute Cloud@Customer Console, CLI, and API to view the IP addresses assigned to instances.
- In the Compute Cloud@Customer Console navigation menu, click Compute, then click Instances.
- At the top of the page, select the compartment that contains the instance for which you want to view the private IP address.
-
Click the name of the instance.
The instance details page is displayed.
-
View networking information or VNIC information:
-
Click the Networking tab. The primary private IP address and any attached public IP address are shown in the Instance Access column.
-
Under Resources, click Attached VNICs. Click the name of the VNIC for which you want to view IP addresses.
On the VNIC details page, under Resources, click IP Addresses. The primary private IP address and any secondary private IP addresses, and any attached public IP addresses, are shown in the table.
-
Use the oci network public-ip list command and required parameters to list the PublicIp objects in the specified compartment.
oci network public-ip list [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the ListPublicIps operation to list the PublicIp objects in the specified compartment.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.