Node Red 24x7 on VM in Cloud

I need to run Node Red 24x7 on VM in Cloud. I start it from PC terminal window with SSH command. When i close terminal window and switch off my PC Node Red in Cloud also stops. Is there any way around it?

What OS are you running on the VM ?

You need to setup NR to run as a System service - this will vary based on your OS - assuming it is something based on Ubuntu/Debian then you would use the systemctl command


I run Ubuntu 20.04. please provide link to NR

i understand as an option to run Node Red as a service i can use PM2.
Now experimenting with this

If you installed following this instructions, then you be able to run as a service as described further down the page.

Perfect, thanks.
it works

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.