Monday, 5 August 2019

Problems deploying/running my node app on AWS Elastic Beanstalk

Just wondering if anyone else has had similar problems. I'm using the EB CLI tools, and I've created a simple instance and deployed to it. But the node server seems to not start, and the nginx front-end answers every request with a 502. Thus, the instance's health quickly downgrades to "severe". It's not a complex application, either.I'm also unsure of how to get my .env.production file into the right place for node to see it. I'm using a dotenv-driven configuration for Sequelize, and obviously can't commit that file to my git repo.Any tips or help appreciated...-Randy

Submitted August 05, 2019 at 07:10AM by rjray

No comments:

Post a Comment