• Resolved bbaronas

    (@bbaronas)


    I am trying to use W3 Total Cache CloudFront CDN for my site. I have created an AWS user and provided them with all the permissions as described in the WordPress: Best Practices on AWS guide provided by AWS. Further, I have reviewed several other documents on this process including the link in the FAQs. The user definitely has s3:PutObject and S3:PutObjectAcl permissions. I have tested this in the policy tester in AWS, I have used AWSCLI to test this as well, and there are no problems with the permissions of the user. However, in my wordpress site, after I add the user access key and secret, etc. and click on the “Test S3 upload & CloudFront distribution” button, I invariably get Error: Unable to put object (S3::putObject(): [AccessDenied] Access Denied).

    I am at a loss. Why do I still get a putObject error when the user has that permission?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @bbaronas,

    can you please make sure that S3 Bucket is actually created? There is a guide on how to create an Amazon S3 Bucket which you can find in AWS docs here.

    Thread Starter bbaronas

    (@bbaronas)

    The bucket was already created. I tested using the bucket.

    I figured it out. It turns out S3 now has four default public access settings on buckets that are enabled by default. These settings prevent user even with put permissions to make items public by default.

    You have to disable those defaults, then the tests work.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Glad to know that you’ve managed to resolve the issue. And thank you for sharing the solution.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error: Unable to put object (S3::putObject(): [AccessDenied] Access Denied)’ is closed to new replies.