0
I must not be understanding how to use GCE. I thought I could spin up my VM, then spin up my nodejs server like
>$ node index.js &
Now, I've created a firewall rule to allow a certain port and I'm able to hit that endpoint successfully but the moment that I exit out the SSH shell the server stops working. My understanding is that running it in the background meant that it would be up as long as the VM instance was up.
What am I doing wrong?
Thanks in advance.