• aerial photography of water beside forest during golden hour
    General

    Install PM2 in AWS LightSail, EC2

    Install PM2 globally. This is the first step. Execute below commands in AWS terminal. Make PM2 run during startup. This will daemonize pm2 and initialize it on system reboots. This step is very important. This will automatically start pm2 in case we restart our server instance. PM2 commands