Score:0

GCP Compute Instance cannot be accessed

cn flag

I have a compute instance which hosts our database.

This has been working fine for the past few months.

suddenly now i cannot connect to the server via ssh (through gcp cloud shell) nor can i access the database which hosted on this instance, running ubuntu 20.04 LTS

Score:1
mc flag

This might happen for various reasons like deleted firewall or change of IAM permissions or corruption of SSH keys. Have you checked the firewall rule?

You can use this Toubleshooting document. This document explains common errors, how to fix them, and how to diagnose the failed SSH connections while connecting to the VM.

Here are some similar SO links SO1, SO2, in case if it is due to IAP proxy you can check this tutorial to fix the firewall issue.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.