Accessing Elastic Beanstalk Application files from FTP Client

0

Hi everyone,
Is there a possibility to access and modify application files deployed using Elastic Beanstalk service, through FTP client? I can connect with the application but every time I try to modify even a single text file inside the app, I get 'permission denied' error.
Best regards

질문됨 6년 전725회 조회
1개 답변
0

Generally, it is not a best practice to directly modify the already deployed files, this is because when you make an environment update either from console or EB CLI all the files will be replaced again from the new application version source bundle downloaded from S3. In order to make persistent changes, you would need to deploy a new version to the environment[1][2]. The easiest way should be using eb cli which will allow you to deploy from your local machine's directory. Regarding your question, the permission denied error is either due to access limitation for the FTP user to write to the files under /var/app/current or the FTP configuration does not allow file modification. You can login into the instance and switch as ftp user and check if the user can make changes to the files as expected.

[1] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deploy-existing-version.html
[2] https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb3-deploy.html

AWS
답변함 6년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠