Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access files deployed in aws elasticbeanstalk

I have deployed node.js code on aws elasticbeanstalk creating a new environment. The app is successfully deployed. I want to access the files. I used ssh to the remote machine but the I can't find the code

like image 738
Ankit Avatar asked Jan 04 '17 14:01

Ankit


2 Answers

Elastic Beanstalk places the deployed code in /var/app/current

Note that you shouldn't be making changes on the Elastic Beanstalk server directly.

like image 196
Mark B Avatar answered Sep 24 '22 03:09

Mark B


Adding to the last answer, remember that you need to select enable SSH to your instances when launching application. Else, you won't be able to SSH into any AWS Elastic Beanstalk instance.

like image 33
Ranvijay Jamwal Avatar answered Sep 21 '22 03:09

Ranvijay Jamwal