google-cloud-platformsshgcloudgoogle-dl-platform

Unable to SSH/gcloud into default Google Deep Learning VM


I created a new Google Deep Learning VM keeping all the defaults except for asking no GPU:

enter image description here

The VM instance was successfully launched:

enter image description here

But I cannot SSH into it:

enter image description here

Same issue when attempting to use with gcloud (using the command provided when clicking on the instance's arrow down button at the right of SSH):

enter image description here

ssh: connect to host 34.105.108.43 port 22: Connection timed out
ERROR: (gcloud.beta.compute.ssh) [/usr/bin/ssh] exited with return code [255].

enter image description here

Why?


VM instance details:

enter image description here


Solution

  • In order to connect to the VM Instance you will have to follow the guide from GCP and then set up the role with the necessary authorization under IAM & Admin.