AWS, Elasticbeanstalk, Linux 2, Access to S3; 403, Access denied

0

I have elasticbeanstalk instances running under the "legacy" linux. For testing purposes I deployed the application to the "new" Linux 2 operation system. But I'm getting an "403; Access denied" error on this instance when I try to access S3. The legacy instances are able to put files to S3. Roles, policies, everything is the same (seems to be the same). Is Linux 2 somehow different? Do I miss something?

s.heitz
질문됨 3년 전509회 조회
1개 답변
0

From stackoverflow
Is IMDSv1 disabled? If you haven't ssh'd into the instance yet to run some aws cli commands to the s3 bucket that could help speed up debugging. If it's an IMDSv1 issue there's a setting to enable/disable it. IMDSv2 is adding a call to create a temp access token. Not positive if that's it but it's something –
MillerC
Oct 17 at 6:29
I enabled IMDSv1 and everything works.

s.heitz
답변함 3년 전

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

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

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

관련 콘텐츠