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

Unable to connect to SSH or serial console

I was following this guide https://www.youtube.com/watch?v=UYLA_fFdciA up until 8:41 where they rebooted the ssh and now I cannot access the SSH or serial console at all. The serial port 1 logs says 

M [K[     *] Job systemd-networkd-wait-online.se…tart running (5min 12s / no limit)

These are my firewall rules

 
 Ingress
Apply to all
IP ranges: 35.235.240.0/20
tcp:22, 3389
Allow
1000
Off
 
 
 Ingress
minecraft-server
IP ranges: 0.0.0.0/0
tcp:25565
Allow
1000
Off
 
 
 Ingress
nomachine
IP ranges: 0.0.0.0/0
tcp:4000
Allow
1000
Off
 
 
 Ingress
Apply to all
IP ranges: 0.0.0.0/0
icmp
Allow
65534
Off
 
 
 Ingress
Apply to all
IP ranges: 10.128.0.0/9
tcp:0-65535
udp:0-65535
icmp
Allow
65534
Off
 
 
 Ingress
Apply to all
IP ranges: 0.0.0.0/0
tcp:3389
Allow
65534
Off
 
 
 Ingress
Apply to all
IP ranges: 0.0.0.0/0
tcp:22
Allow
65534
Off

Please help!

 

 

1 1 301
1 REPLY 1

Hello @leafionash  ,Welcome on Google Cloud Community.

I'm assuming that you've did all steps for systemd, in terms of serial port, right ? https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console#gcloud_2 
Apart from serial console. I went trough entire YT video. What I've did additionally was two commands:

As root:
apt update
apt upgrade
shutdown -r now
Force your shutdown by "STOP" button. Then try boot it again. Might be possible, that during update, something went wrong. BTW, which distro version are you using? Ubuntu 20 LTS ?

DamianS_0-1729143199239.png

IF this does not gonna work, I would suggest to create new VM ( of course if your "nomachine" VM was empty ). Grab documentation https://cloud.google.com/compute/docs/instances/create-start-instance.
In fact, you should :
1. Create VM
2. Update VM
3. Upgrade VM
4. Reboot
5. Create FW rule with port TCP:4000 for tag OR all instances 
6. IF tag rule, then assign this tag into VM.
7. Install nomachine by following this YT tutorial. 
I've used for testing Ubuntu 20 LTS with 30 GB of disk. 
--
cheers,
Damian Sztankowski
LinkedIn medium.com Cloudskillsboost Sessionize Youtube