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 .

已提問 1 年前檢視次數 4061 次
1 個回答
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
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南