0
votes

I have built GPU instance on google cloud compute engine two weeks ago. When I reconnect today, it says:

ERROR: (gcloud.compute.ssh) Instance [nndial-1] in zone [asia-east1-b] has not been allocated an external IP address yet. Try rerunning this command later.

I tried several times, but still can't use.

I have allocated an external IP last time, why it does relate with the zone?

2
I assume you've allocated an external IP address from VPC Network > External IP addresses to the GCE instance. Does it say that it is in use by instance 'nndial-1'? - Maxim
thanks for your answering, I know what's the problem with me - andy
You've managed to resolve the issue? Would you mind telling how? - Maxim
'nndial-1' is another instance, I make mistake with the name. The problem is I wanted to connect one instance without external IP addresses and which is not running. But the prompt is not accurate. - andy
@andy Would you be able to post this comment as an answer for the benefit of the community? This is in case another member faces the same issue. - hachemon

2 Answers

1
votes

Another possibility is that the user has simply failed to start the VM instance from within the Compute Engine console on GCP. To make sure that the instance is actually running, logon to your GCP console, then select VM instances under Compute Engine on the left-hand tab of the GCP console. If your instance is running, you will see a green check mark.

If the instance is not running, you can click on the vertical ellipsis at the far right side of the instance's data table and click Start to start the VM.

0
votes

'nndial-1' is another instance, I make mistake with the name. The problem is I wanted to connect one instance without external IP addresses and which is not running. But the prompt is not accurate.