According to this page I should be able to add this Policy to Amazon S3 bucket:

{
  "Id": "ZencoderBucketPolicy",
  "Statement": [
    {
      "Sid": "Stmt1295042087538",
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::395540211253:root"
        },
      "Action": ["s3:PutObject", "s3:GetObject", "s3:PutObjectAcl", "s3:GetBucketLocation", "s3:ListBucketMultipartUploads", "s3:ListMultipartUploadParts"],
      "Resource": "arn:aws:s3:::QUINNGUITAR/*”
    }
  ]
}

However when I do so Amazon shows this error:

This policy contains invalid Json

So what's the deal?

    vincebodie
    Hi
    To setup the AWS you need to create a bucked in the s3 account with correct location. And then need to add the keys on Jomsocial backend.
    Here is the location list. You may choose create bucket at region us-east-1 (US East (N. Virginia)). that most compatible bucket.
    For zencoder please follow the instruction given here

    Hope it helps.

    Regards

      Ninja
      Thank you. I was able to enter the bucket policy that was shown in your second link.
      One thing I noticed was that the "MY-BUCKET" string shown in the example (which needs to be replaced with the actual bucket name) is case sensitive, and it needs to be lower case. I don't know why both of the sample bucket policies (yours and the one in the link) showed the "MY-BUCKET" string in UPPER CASE when it will only work in lower case.
      Anyhow it seems to be working now, thanks!

        Ninja locked the discussion.
        Write a Reply...
        You need to Login to view replies.