Title: S3 + Cloudfront Error
Last modified: September 17, 2018

---

# S3 + Cloudfront Error

 *  Resolved [proteusbr](https://wordpress.org/support/users/proteusbr/)
 * (@proteusbr)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/s3-cloudfront-error/)
 * I made a IAM permition using policies: AmazonS3FullAccess and CloudFrontFullAccess
   
   Made a S3 using not plubic and static web hosting enable Made a secound S3 defout
   configuration and public Made a Cloudfront origem in from de S3
 * When I put only access Key, secret, bucket, region automatic and no CDN. I recive
   a error: Your AWS S3 settings are incorrect or the bucket does not exist. Please
   verify your settings and update them.
 * If I put everything again, many times, the error random get out.
 * When there is no error, if I save again, I get the same error.
 * I have turn on debug. Where I can see the log?
    Do you have any sugestion?

Viewing 1 replies (of 1 total)

 *  Plugin Author [interfacelab](https://wordpress.org/support/users/interfacelab/)
 * (@interfacelab)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/s3-cloudfront-error/#post-10829807)
 * This is the minimum IAM policy you need to have:
 *     ```
       {
           "Version": "2012-10-17",
           "Statement": [
               {
                   "Effect": "Allow",
                   "Action": [
                       "s3:DeleteObjectTagging",
                       "s3:ListBucketMultipartUploads",
                       "s3:DeleteObjectVersion",
                       "s3:ListBucket",
                       "s3:DeleteObjectVersionTagging",
                       "s3:GetBucketAcl",
                       "s3:ListMultipartUploadParts",
                       "s3:PutObject",
                       "s3:GetObjectAcl",
                       "s3:GetObject",
                       "s3:AbortMultipartUpload",
                       "s3:DeleteObject",
                       "s3:GetBucketLocation",
                       "s3:PutObjectAcl"
                   ],
                   "Resource": [
                       "arn:aws:s3:::YOURBUCKET/*",
                       "arn:aws:s3:::YOURBUCKET"
                   ]
               },
               {
                   "Effect": "Allow",
                   "Action": "s3:HeadBucket",
                   "Resource": "*"
               }
           ]
       }
       ```
   
 * Is your AmazonS3FullAccess tied to a specific bucket or resource?
 * This is what I would do:
 * – Create a new bucket (use default settings)
    – Create a new IAM user – Attach
   the above policy to the new user (replace YOURBUCKET in the policy with the name
   of the bucket you want to use). – Plug the new info into the media cloud plugin
   and see if you still get the error.
 * If you still get the error, try the WP Offload S3 plugin and see if you still
   have problems. If you do, then there is something else going on. If not, there
   is an issue with Media Cloud, but I doubt it.

Viewing 1 replies (of 1 total)

The topic ‘S3 + Cloudfront Error’ is closed to new replies.

 * ![](https://ps.w.org/ilab-media-tools/assets/icon.svg?rev=2795439)
 * [Media Cloud for Bunny CDN, Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean and more](https://wordpress.org/plugins/ilab-media-tools/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ilab-media-tools/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ilab-media-tools/)
 * [Active Topics](https://wordpress.org/support/plugin/ilab-media-tools/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ilab-media-tools/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ilab-media-tools/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [interfacelab](https://wordpress.org/support/users/interfacelab/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/s3-cloudfront-error/#post-10829807)
 * Status: resolved