RANIARANIA Academy

Deploying & Scaling Node in Production

Take a working Node.js application from your laptop to a resilient production deployment. You will configure it with environment variables, keep it alive with PM2, scale it across CPU cores, containerise it with Docker, and ship it to a VPS or PaaS with logging, health checks and zero-downtime reloads.

Watch the free preview

Twelve-factor config with environment variables — free to watch, no account needed.

Node.js ADVANCED · 150 min · Certificate on completion · 3 CPD points

What you'll learn

  • Deploy a Node app to production on a VPS or PaaS with confidence
  • Configure applications cleanly with environment variables and never commit secrets
  • Keep processes alive and scaled with PM2 and the cluster module
  • Containerise a Node service with a small, secure Docker image
  • Add logging, health checks and zero-downtime reloads for safe releases

Syllabus

Configuration & Process Management
Twelve-factor config with environment variablesFree preview15 min
Keeping processes alive with PM215 min
Scaling Node on One Machine
Scaling across cores with the cluster module15 min
Offloading CPU work with worker threads15 min
Containerising & Shipping
Dockerising a Node app with a small, secure image15 min
Deploying to a VPS or a PaaS15 min
Operating in Production
Logging and health checks15 min
Zero-downtime deploys and graceful shutdown15 min
Lab — 10 Exercises & Solutions
Exercises 1–515 min
Exercises 6–1015 min