Overview
Syllabus
Intro
Deploying to production is complex
PM2: Some figures
Installing PM2
Setup PM2 No setup required! But...
Launching a Node.js application
Launching any kind of application
Acting on processes
Cluster mode EPM2.
Most Node.js application...
Why using the cluster mode?
Starting an application cluster mode
Managing clustered applications Reload without downtime
Listing processes
Monitoring CPU & Mem
Inspecting logs
Organizing applications PM
Starting your micro service app...
Solution: JSON declaration
Using the JSON declaration Start
Extending the previous JSON
Deployment commands
What is a module?
Installing a module
Managing modules
Module #1: pm2-logrotate
Module #2: pm2-webshell
Write your own module!
Monitoring with Keymetrics
Taught by
JSConf