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 .

질문됨 일 년 전4059회 조회
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
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠