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.
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 preview
Keeping processes alive with PM2
Scaling Node on One Machine
Scaling across cores with the cluster module
Offloading CPU work with worker threads
Containerising & Shipping
Dockerising a Node app with a small, secure image
Deploying to a VPS or a PaaS
Operating in Production
Logging and health checks
Zero-downtime deploys and graceful shutdown
Lab — 10 Exercises & Solutions
Exercises 1–5
Exercises 6–10