Can’t setup S3 For CDN
-
Can’t use S3 for a CDN with W3 Total Cache.
General Settings have CDN Enabled for Amazon Simple Storage Services (S3). I’ve created a User and set access in the CDN tab with access,secret key and bucket name. Setup IAM user with keys that worked fine when I use it with ‘s3cmd’ to copy files to S3. Here’s the JSON:{ "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1339423675421", "Action": [ "s3:DeleteObject", "s3:Get*", "s3:Put*" ], "Effect": "Allow", "Resource": [ "arn:aws:s3:::hellhippie", "arn:aws:s3:::hellhippie/*" ] }, { "Sid": "Stmt1339423675422", "Action": "s3:List*", "Effect": "Allow", "Resource": "*" } ] }
However, when I try the Test S3 Upload, I get the error below. It looks like it is trying to set an ACL on the uploaded file however this should be enabled in the Put* allow in the JSON.
Error: Error executing "PutObject" on "https://hellhippie.s3.us-west-1.amazonaws.com/test_s3_b75769090c596cc8e12d048908673bd6"; AWS HTTP error: Client error:
PUT https://hellhippie.s3.us-west-1.amazonaws.com/test_s3_b75769090c596cc8e12d048908673bd6resulted in a
400 Bad Request` response: AccessControlListNotSupportedThe bucket does not all (truncated…) AccessControlListNotSupported (client): The bucket does not allow ACLs – AccessControlListNotSupportedThe page I need help with: [log in to see the link]
- The topic ‘Can’t setup S3 For CDN’ is closed to new replies.