Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Why SSH to VM is asking for zone when I already created a VM in specific zone?

I created myhappyvm after running ‘gcloud config set compute/zone us-west2-b’.

Then my cloud shell connection was lost and I reconnected. Now when I try ‘gcloud compute ssh myhappyvm’ I am getting below message:

Did you mean zone [us-west1-a] for instance: myhappyvm Y/n?

My understanding was cloud shell instance doesn’t have any set zone for new VMs. Why the above message when myhappyvm already has us-west2-b?

0 Answers

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?