All Products
Search
Document Center

Platform For AI:Grant required permissions to use Machine Learning Designer

Last Updated:Aug 28, 2026

Before using Machine Learning Designer, grant permissions to two types of accounts: the operating account (root account or RAM user) that runs workloads, and the PAI service account that accesses dependent cloud services on your behalf.

Designer depends on Object Storage Service (OSS) to store intermediate data and trained models. Depending on which features you use, it may also depend on MaxCompute, Flink, or general training resources.

To view the full list of cloud product dependencies and their authorization status, log on to the PAI consolePAI console and go to Activation & Authorization > Dependent Services.

Prerequisites

Before you begin, ensure that you have:

  • An Alibaba Cloud account (root account)

  • Access to the PAI console and RAM console

  • A PAI workspace (required to assign RAM users to workspace roles)

Permissions by scenario

The permissions you need depend on which Designer features you use. Use the following table to identify what to authorize.

If you use...

Services to authorize

Basic Designer features only

Designer + OSS

Deep learning algorithm components

Designer + OSS

MaxCompute built-in algorithm components

Designer + OSS + MaxCompute

Flink algorithm components (e.g., PyAlink Script)

Designer + OSS + Flink

Custom Python Script component or general training

Designer + OSS + General computing resources

All Designer features

Designer + OSS + MaxCompute + Flink + General computing resources

Grant operating account permissions

Designer

Designer provides a visual development environment for the machine learning lifecycle, including built-in algorithms.

Account type

What to do

Root account

No additional authorization required. Root accounts have full access to Designer by default.

RAM user (recommended)

Add the RAM user as a workspace member and assign an appropriate role. For details on role permissions, see Appendix: Roles and permissions. For steps to add members, see Manage workspace members.

General computing resources

Designer uses PAI general computing resources to run AI training workloads. Grant permissions before submitting training tasks.

  • Root account: Purchase general computing resources directly — no additional authorization needed.

  • RAM user: Grant the AliyunPAIFullAccess permission. For details, see Permission management.

To let a RAM user submit training tasks to computing resources associated with a workspace, add the RAM user to the workspace and assign the Developer, Algorithm O&M Engineer, or Administrator role.

OSS

Designer stores intermediate data and trained models in OSS buckets. Activate OSS and grant permissions before using deep learning algorithm components.

Activate OSS

Account type

What to do

Root account

Activate OSS — no additional authorization needed.

RAM user

Grant the AliyunOSSFullAccess permission. See RAM Policy for details.

For activation steps, see Activate OSS. To create a bucket after activation, see Create a bucket in the console.

Grant a RAM user access to OSS data in the PAI console

Operations in the PAI console — such as listing buckets, reading data, and writing data — require a custom OSS policy scoped to your bucket. Use the following steps to create the policy.

Important

Define the access policy based on the actual permissions the RAM user needs. Avoid granting broader access than required.

  1. Log on to the RAM console.

  2. In the left navigation pane, choose Permissions > Policies.

  3. Click Create Policy.

  4. On the Create Policy page, click the JSON Editor tab, then enter the following policy document:

    {
      "Version": "1",
      "Statement": [
        {
          "Action": [
            "oss:GetObject",
            "oss:ListObjects",
            "oss:DeleteObject",
            "oss:ListParts",
            "oss:PutObject",
            "oss:AbortMultipartUpload",
            "oss:GetBucketCors",
            "oss:GetBucketCors",
            "oss:DeleteBucketCors"
          ],
          "Resource": [
            "acs:oss:*:*:<yourBucketName>",
            "acs:oss:*:*:<yourBucketName>/*"
          ],
          "Effect": "Allow"
        },
        {
          "Action": [
            "oss:ListBuckets"
          ],
          "Resource": "*",
          "Effect": "Allow"
        }
      ]
    }

    Replace <yourBucketName> with the name of the bucket to grant access to.

  5. Enter a Name and Note for the policy, then click OK.

For a full reference on OSS authorization policies, see RAM Policy.

MaxCompute

Designer includes hundreds of proprietary algorithms built on MaxCompute. To use these algorithm components, activate MaxCompute and grant the necessary permissions.

For activation and authorization steps, go to Activation & Authorization > Dependent Services in the PAI console and locate the MaxCompute section.

Flink

Designer provides algorithm components that run on Flink, such as the PyAlink Script component. To use these components, activate Flink and grant the necessary permissions.

For activation and authorization steps, go to Activation & Authorization > Dependent Services in the PAI console and locate the Flink section.

Grant PAI service account permissions

Authorization is usually completed when activating PAI. If authorization was not completed during activation, complete it as follows:

  1. Log on to the PAI console.

  2. In the left navigation pane, click Activation & Authorization > Dependent Services. In the Designer section, locate OSS.

  3. Check the authorization status in the Actions column:

    • If OSS is not authorized, click Authorize Now and follow the on-screen instructions.

    • If OSS is already authorized, click View Authorization to review the details.