I started to work with Elastic Beanstalk on AWS recently and ran into an issue when trying to deploy a Node.js app that I thought might be worth sharing. I created a test Node.js and Express application locally that worked fine and I then tried deploying using the Elastic Beanstalk console. Everything appeared to deploy correctly but when I tried accessing my url I received the following error '502 Bad Gateway on nginx/1.2.6'... Read more