https://catalogartifact.azureedge.net/publicartifacts/alsourillc.nodejs-on-ubuntu-2404-lts-minimal-16b066bc-6c01-4aba-8abd-f8010b3c213c/6a997256-87e2-4aa9-b625-9632061edbdf_alsouri_Azure_Marketplace_logo_280x280.png

Node.js on Ubuntu 24.04 LTS minimal

di ALSOURI LLC

Node.js 22 LTS with PM2 on Ubuntu 24.04 minimal – production runtime with automatic restarts and clustering.

🚀 Node.js 22 LTS + PM2 on Ubuntu 24.04 LTS minimal

Production‑ready Node.js runtime with enterprise‑grade process management. Pre‑installed on a lightweight, secure Ubuntu 24.04 minimal base – ideal for hosting scalable Node.js applications.

✨ Key Features

Node.js 22 LTS PM2 process manager Ubuntu 24.04 minimal Automatic restarts Clustering support Log management Startup scripts SSH access

⚡ Why Node.js 22 + PM2?

  • Node.js 22 LTS – long‑term support until April 2027, stable and widely adopted.
  • PM2 – keeps your app alive with automatic restarts, enables zero‑downtime deployments, and provides built‑in load balancing (clustering).
  • Ubuntu 24.04 minimal – reduced attack surface, fewer packages, automatic security updates, and lower resource usage.
  • Pre‑configured systemd service – PM2 startup script integrated, so your app restarts on VM reboot.

📦 Common Use Cases

  • Hosting REST APIs and microservices
  • Running web applications (Express, Fastify, NestJS)
  • Background job processors and workers
  • Real‑time applications (Socket.io, WebSockets)
  • Development/staging environments that mirror production

🔧 Getting Started

After deployment, SSH into your VM. Your Node.js environment is ready:

node -v   # v22.x.x
npm -v    # 10.x.x
pm2 -v    # latest

Create a sample app:

mkdir myapp && cd myapp
echo 'const http = require("http");
http.createServer((req, res) => {
  res.end("Hello from Node.js 22 on Azure!\n");
}).listen(3000);' > app.js
pm2 start app.js --name myapp
pm2 save
pm2 startup systemd   # enables restart on boot

Your app is now running on port 3000. (Open that port in your NSG if needed.)

ALSOURI LLC 📧 info@alsouri.org

In uno sguardo

https://catalogartifact.azureedge.net/publicartifacts/alsourillc.nodejs-on-ubuntu-2404-lts-minimal-16b066bc-6c01-4aba-8abd-f8010b3c213c/4e3d5ebc-a1b9-407c-859f-40e8d0d30848_Ubuntu_25.04_1280x720.png
https://catalogartifact.azureedge.net/publicartifacts/alsourillc.nodejs-on-ubuntu-2404-lts-minimal-16b066bc-6c01-4aba-8abd-f8010b3c213c/d081e2fa-e874-4c37-8006-12edddb6d3eb_nodejs.png