0

I'm transitioning from a dedicated server to a VPC in AWS. It's a NodeJS application baed on ExpressJS. In the current implementation, I have NGINX + Passenger in front of the NodeJS application for static assets.

In AWS, I'm creating a VPC. I will have a load balancer as the entry point, then EC2 instances, with the NodeJS application. What I'm not sure is if I will need an instance with NGINX as well in front of NodeJS instances. Would be a real benefit? I would also have to create multiple instances of NGINX to make it highly available.

2
  • No, you can have the instance running both nginx and node. Aside from that I suspect your question is a duplicate of this one. May 25, 2014 at 2:06
  • can that be setup with OpsWorks without a custom Chef recipe?
    – oscarm
    May 25, 2014 at 2:42

1 Answer 1

0

I followed Michael's advice and created a custom recipe that sets up Nginx on all instances where I run NodeJS.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .