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
asked 3 years ago496 views
1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions