The data that is used for model training in AutoLearning is stored in Object Storage Service (OSS). Therefore, a RAM role must be created and authorized so that AutoLearning can use this RAM role to access OSS.

Step 1: Create a RAM role

  1. Log on to the RAM console.
  2. In the left-side navigation pane, click RAM Roles.
  3. On the RAM Roles page, click Create RAM Role.
  4. In the Create RAM Role panel, set the Trusted entity type parameter to Alibaba Cloud Service. Then, click Next.
  5. Set the RAM Role Name parameter to AutoLearningRole.
  6. From the Select Trusted Service drop-down list, select Media Transcoding Service.
  7. Click OK.

Step 2: Modify the trust policy of the RAM role

  1. On the RAM Roles page, click AutoLearningRole in the RAM Role Name column.
  2. On the basic information page of this RAM role, click the Trust Policy Management tab.
  3. Click Edit Trust Policy.
  4. In the Edit Trust Policy panel, modify the trust policy by using the following content. Then, click OK.
    {
    "Statement": [
     {
       "Action": "sts:AssumeRole",
       "Effect": "Allow",
       "Principal": {
         "Service": [
           "1276057991250096@odps.aliyuncs.com"
         ]
       }
     }
    ],
    "Version": "1"
    }

Step 3: Authorize the RAM role

  1. On the RAM Roles page, click AutoLearningRole in the RAM Role Name column.
  2. On the basic information page of this RAM role, click the Permissions tab and then Add Permissions.
  3. In the Add Permissions panel, select the AliyunOSSFullAccess permission policy from the list of system policies in the Select Policy section.
  4. Click OK.