Just created S3 bucket, getting a bunch of access denied logs

amazon s3amazon-web-services

I've created an AWS S3 bucket to backup my Postgres DB. It was all going well but then I enabled Logging and started to get a bunch of Access Denied logs.

I thought I had messed something up in my backup routine, so I created a brand new bucket under a new name and just enabled the logging, but did nothing else. And now I'm getting the Access Denied logs again.

They read:

<Error>
  <Code>AccessDenied</Code>
  <Message>Access Denied</Message>
  <RequestId>...</RequestId>
  <HostId>
    ...
  </HostId>
</Error>

Under Permissions, I am the only authorized user, with full access, and there's also the S3 log delivery group with write and read permissions.

Any ideas on what's causing these access denied requests? I have to stress that I haven't tried to do anything with this bucket, I just created it and enabled logging. (I am new to AWS S3 so I might be missing something very simple.)

Best Answer

As Michael says in the comments, this is message telling YOU that YOU'RE denied access to this log file as it's trying to load in the browser.

Try clicking the "Download" button for this object in the S3 interface. You should get a text file with the actual log in it.