2 Answers
Make sure you executed npm install, then zipped the v1 directory. You should upload the zip file.
Also you can examine the logs files by selecting your environment -> on the left sidebar should be a menu option called logs. There you can reqest the log and download it.
Thank you Balogh. It helped. I got it working now. I uploaded 7 zip instead of regular zip file. I found this in the logs showing invalid zip. I am looking into architecture behind elastic bean stalk to dig in further. Where would our node.js zip file go in elasticbeanstalk host ? How does nginx routes to custom port 8080 ?
It didn’t work for me, it was up to date :/ So I did the lab with sample app from AWS in order to save time (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/GettingStarted.DeployApp.html ) so I can recommend that. PS: I had some issues with deploying zip file created on MacOS because OS is adding some folder that AWS doesn’t like – fixed by this https://stackoverflow.com/questions/10924236/mac-zip-compress-without-macosx-folder