All Products
Search
Document Center

Authorization of OSS

Last Updated: Mar 18, 2020

Auto Learning of Alibaba Cloud Machine Learning Platform for AI retrieves training data from Object Storage Service (OSS). Before you create an Auto Learning instance, you must authorize Alibaba Cloud Machine Learning Platform for AI to access OSS data.

Create a RAM role

Go to the RAM Roles page in the Resource Access Management (RAM) console, and create a RAM role.

  1. Note: Currently the RAM console has two versions. Before you create a RAM role, switch the console to the new version, as shown in the following figure.

  1. Click Create RAM Role. In the dialog box that appears, select Alibaba Cloud Service, and then click Next, as shown in the following figure.

  2. Enter AutoLearningRole into the RAM Role Name field, select Media Transcoding Service as the trusted service, and then click OK.

Modify basic RAM role information

  1. After the RAM role is created, close the message box. Find the AutoLearningRole role in the roles list, click the role name, and then click the Trust Policy Management tab.

    Find the AutoLearningRole role:

    Click the Trust Policy Management tab:

  2. Click Edit Trust Policy, modify the information in the dialog box as follows, and then click OK.

  1. {
  2. "Statement": [
  3. {
  4. "Action": "sts:AssumeRole",
  5. "Effect": "Allow",
  6. "Principal": {
  7. "Service": [
  8. "1276057991250096@odps.aliyuncs.com"
  9. ]
  10. }
  11. }
  12. ],
  13. "Version": "1"
  14. }

Authorize the RAM role

After you modify the trust policy, click the Permissions tab, and then click Add Permissions. In the Add Permissions dialog box, search for the aliyunossfullaccess policy. Click the policy to add it to the list on the right side, and then click OK.

After you click OK, your RAM role is authorized.