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 .

preguntada hace un año4051 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas