Skip to content

9️⃣ Conclusion

Deployment Summary

You now have a fully operational dual-instance Gunbot VPS, featuring: - Secure HTTPS reverse proxy with unique subdomains
- Automated SSL certificate renewal
- PM2 process management with systemd integration
- Hardened SSH and UFW firewall configuration
- Automated 7‑day rotating backups and log management

Monitoring and Maintenance

Check the current service status:

pm2 list
sudo systemctl status pm2-gunbot
sudo nginx -t
sudo ufw status

Future Upgrades

When updating Gunbot:

pm2 stop all
# Replace Gunbot binaries
pm2 start all
pm2 save

Note:
Always test upgrades on your simulator instance first to confirm compatibility before applying changes to your live bot.