Access Denied for bucket: Please check S3bucket permission. When I tried to get access logs in my ELB , it is showing Access denied

0

I have created an s3 Bucket and add permission to putobjects in this bucket . Then I edit my load balancer to get access logs and add that s3 bucket , but it is showing that access denied for this bucket .

posta un anno fa4050 visualizzazioni
1 Risposta
2

There may be a problem with the S3 bucket policy for storing access logs.
Since the bucket policy changes between ALB and NLB, set a policy that matches the one you are using for each.
The following documents contain examples of each bucket policy.

ALB
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html#attach-bucket-policy

NLB
https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-access-logs.html#access-logging-bucket-requirements

profile picture
ESPERTO
con risposta un anno 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