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 .

asked a year ago3942 views
1 Answer
1

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
EXPERT
answered a year 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