Where does elastic beanstalk t2 server store my no

2020-05-11 10:55发布

From an architecture perspective I'm trying to get a better understand of how and where files deployed to eb (t2) server are stored.

I see some .zip files in s3 that show when I upload something via the eb interface, though how/where exactly does this get end up on my ec2(t2) server?

2条回答
▲ chillily
2楼-- · 2020-05-11 11:34

/var/app/current may be outdated. It doesn't exist on my instance.
As said there I can't find my Web app when I SSH to my AWS Elastic Beanstalk instance, for python the app is in /opt/python/bundle/2/app/
Otherwise use find to search for the location (look at the link).

查看更多
聊天终结者
3楼-- · 2020-05-11 11:44

It's in the /tmp/deployment/application folder during deployment and the moved to /var/app/current afterward.

In case you search them, the node logs are in /var/log/nodejs/nodejs.log and the application will bind to 8081 no matter what PORT environment variable you set in the Environment Variables in the console.

查看更多
登录 后发表回答