How to add default transcoder role

In order to use AWS Transcoder to transcode your videos you will need to do one of two things.

The first and easiest option is to simply use the AWS Root Access keys when you setup and configure S3 Media Maestro. If you are using Root Access Keys, then the steps in this article aren't necessary.

If you don't plan on using the AWS Root Access Keys, and you plan on using an IAM user, you will then need to manually setup the transcoder role and apply a policy.

  1. First, you will need to login to the AWS Console with your root user account.
  2. Once logged in, navigate to IAM ( Identity and Access Management ).
  3. Next, click on Policies and Create policy
  4. Select the JSON tab and replace the entire block of JSON with the following and click Next

{

"Version": "2012-10-17",

"Statement": [

{

"Sid": "1",

"Effect": "Allow",

"Action": [

"s3:Put*",

"s3:ListBucket",

"s3:*MultipartUpload*",

"s3:Get*"

],

"Resource": "*"

},

{

"Sid": "2",

"Effect": "Allow",

"Action": "sns:Publish",

"Resource": "*"

},

{

"Sid": "3",

"Effect": "Deny",

"Action": [

"s3:*Delete*",

"s3:*Policy*",

"sns:*Remove*",

"sns:*Delete*",

"sns:*Permission*"

],

"Resource": "*"

}

]

}

  1. For the Policy name use: S3MMAmazonElasticTranscoderRole
  2. Click Create policy
  3. Next, click on Roles and then click Create Role
  4. Select Custom trust policy
  5. In the Custom trust policy box, replace the entire block of JSON with the following and click Next

{

"Version": "2012-10-17",

"Statement": [

{

"Sid": "1",

"Effect": "Allow",

"Principal": {

"Service": "elastictranscoder.amazonaws.com"

},

"Action": "sts:AssumeRole"

}

]

}


  1. Select the S3MMAmazonElasticTranscoderRole and click Next
  2. For the Role name use: Elastic_Transcoder_Default_Role_s3mm and give it a description (description optional)
  3. Click Create role