Costa Michailidis
Costa Michailidis

Reputation: 8178

How to set up AWS EC2 for multiple node.js apps?

I'm experimenting with switching from PaaS (nodejitsu) to IaaS (AWS). I'd like to make use of node.js, couchdb, express, npm, git and websockets. Now here's the tricky part. I'd like to be able to update my apps without downtime, and I'd like to be able to update node and couchdb without downtime. Any ideas? Have any of the node.js PaaSs open sourced their software?

I know I'm asking for a lot here, any help at all would rock!

Upvotes: 2

Views: 884

Answers (1)

Daniel
Daniel

Reputation: 38771

If you combine Nginx with your Node.js application server then you can achieve zero downtime restarts of your application.

More info at Zero Downtime Deployments with Nginx.

Upvotes: 1

Related Questions