Enable log file rotation to s3


I have enabled this option.

enter image description here
Problem is:

enter image description here


If you are using default instance profile with Elastic Beanstalk, then AWS automatically creates permission to rotate the logs to S3.

If you are using custom instance profile, you have to grant Elastic Beanstalk permission to rotate logs to Amazon S3.

The logs are rotated every 15 minutes.

AWS Elastic Beanstalk: Working with Logs

Leave a Reply