Steps to deploy a Node.js app to Ubuntu Server VM using PM2, NGINX and an SSL from LetsEncrypt
*Update apt packages*
sudo apt update
sudo apt upgrade
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
npm install -g pm2
git clone https://github.com/.../...