Chapter 12. Node in production: Deploying applications safely

This chapter covers

  • Deploying Node applications to your own server
  • Deploying Node applications to cloud providers
  • Managing packages for production
  • Logging
  • Scaling with proxies and cluster

Once you’ve built and tested a Node application, you’ll want to release it. Popular PaaS (platform as a service) providers like Heroku and Nodejitsu make deployment simple, but you can also deploy to private servers. Once your code is out there, you’ll need to cope with unexpected errors, service outages, and bugs, and monitor performance.

This chapter shows you how to safely release and maintain Node programs. It covers privately hosted servers that use Apache and nginx, WebSockets, horizontal ...

Get Node.js in Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.