Finding Out the Public IP Address of an Instance

The public IP address of an Compute Classic instance is associated with the vcable of the instance. To find out the public IP address of an instance, you must identify the vcable ID of the instance and then find out the IP address associated with that vcable ID.

Task Procedure / CLI Command
1. Find out the vcable ID of the instance. instance get

In the response, note the value of the vcable_id parameter.

2. Get the IP association for the vcable ID that you noted in step 1. ip-association list --vcable vcable_id

In the CLI command, specify the value of vcable_id that you have retrieved in step 1.

In the response, note the value of the ip parameter. That is the public IP address of the instance.