Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to SSH to VM instance on Compute Engine (previously worked fine)

I'm trying to SSH to my VM on Compute Engine, for a specific VM I've used for months. When attempting to connect to the VM from terminal I get a timeout error. When trying to connect via SSH-in-browser I get error code 4003 (Reason: failed to connect to backend).

The SSH-in-browser message further goes to say:

 

Please ensure that:
- your user account has iap.tunnelInstances.accessViaIAP permission
- VM has a firewall rule that allows TCP ingress traffic from the IP range 35.235.240.0/20, port: 22

 

However all this is enabled. Furthermore, I changed nothing in my account or VM settings, and all the sudden it stopped working.

How can I fix this?

1 3 1,154