If you want to use a Resource Access Management (RAM) user account to manage instances and train models, you must first use your Alibaba Cloud account to log on to the RAM console and authorize the RAM user account. Log on to the RAM console
Note: Currently two RAM console versions are available. Before you create a RAM role, switch the console to the new version, as shown in the following figure.
Log on to the RAM console. In the left-side navigation pane, click Policies under Permissions, and then click Create Policy.
On the Create Custom Policy page, enter the policy name autolearningfullaccess, set the configuration mode to Script, and then enter the script content, as shown in the following figure.
- Add the following permissions:
|CreateInstance||The permission to create and delete instances.|
|EditInstance||The permission to edit instances.|
|LabelInstance||The permission to create, delete, and modify labels, and add labels to images.|
|TrainInstance||The permission to train models.|
|ListInstance||The permission to query instance information.|
- The authorization policy script is as follows:
In the left-side navigation pane, click Users, select your RAM user account, and then click Add Permission in the Action column, as shown in the following figure.
On the Add Permissions page, select Custom Policy, enter the policy name autolearningfullaccess, and then click the policy to add it to the right-side list.
After you click OK, your RAM user account is authorized to manage instances in Auto Learning.