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
posta 3 anni fa509 visualizzazioni
1 Risposta
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
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande