1. How to Install Node.js on Ubuntu 22.04

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-22-04

2. How to Install PM2 on vm

https://pm2.keymetrics.io/docs/usage/quick-start/

3. How to Install git on vm

    commands:-

        sudo apt update,

        sudo apt install git

        git version

4. How to configure pm2 on nodejs project

https://pm2.keymetrics.io/docs/usage/application-declaration/

5. Pull the project code from git to new vm on specific branch

6. Install all dependencies

7. How To Install Nginx on Ubuntu

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04

8. How To Set Up a Nextjs Application for Production on Ubuntu

https://dykraf.com/blog/deploying-nextjs-web-application-with-pm2