All Products
Search
Document Center

MaxCompute:Prepare a RAM user

Last Updated:Mar 26, 2026

Before working with MaxCompute, create a dedicated Resource Access Management (RAM) user and hand it over to the team member who will run jobs or manage projects. This keeps your Alibaba Cloud account credentials out of day-to-day workflows and gives you fine-grained control over what each team member can access.

RAM users belong to your Alibaba Cloud account — they don't own resources, and all costs they incur are billed to your account.

Prerequisites

Before you begin, ensure that you have an Alibaba Cloud account.

What you'll do

  1. Create a RAM user with a logon name and access mode

  2. Create an AccessKey for the RAM user

  3. (Optional) Grant the RAM user permissions to use DataWorks or the MaxCompute console

  4. Hand over the account and credentials to the intended user

Step 1: Create a RAM user

  1. Log on to the Resource Access Management (RAM) console.

  2. In the navigation pane, choose Identities > Users.

  3. Click Create User.

  4. In the User Account Information section, fill in the following fields: To create multiple users in a single operation, click Add User.

    Field Description
    Logon Name 1–128 characters. Allowed: letters, numbers, periods (.), underscores (_), hyphens (-).
    Display Name Up to 128 characters.
    Tag Optional. Attach tags to organize users.
  5. In the Access Mode section, select the access modes the user needs:

    Access mode When to select
    Console Access The user logs on to the Alibaba Cloud Management Console. Set a logon password, password reset policy, and multi-factor authentication (MFA) policy.
    Using permanent AccessKey to access The user calls APIs or uses developer tools. Generates a permanent AccessKey pair.
  6. Click OK.

  7. On the User Information page, click Download CSV File or click Copy in the Actions column to save the logon name and password.

Step 2: Create an AccessKey

An AccessKey is required for the RAM user to submit and run MaxCompute jobs programmatically. A RAM user can have a maximum of two AccessKeys.

The parent Alibaba Cloud account must allow RAM users to manage their own AccessKeys before these steps work.
  1. In the navigation pane, choose Identities > Users.

  2. Click the logon name of the target user to open the user details page.

  3. Click the Authentication tab.

  4. In the AccessKey section, click Create AccessKey.

  5. In the Confirm that the current accessKey creation is for rotation purposes dialog box, review the usage scenarios and recommendations for AccessKeys, and select a suitable credential plan. Then, select the I confirm that it is necessary to create an AccessKey. checkbox and click Continue.

  6. Complete the security verification, then save the AccessKey ID and AccessKey Secret.

For more information, see Manage the security settings of a RAM user.

(Optional) Step 3: Grant permissions to the RAM user

Grant permissions based on what the RAM user needs to do in MaxCompute.

To allow the RAM user to use DataWorks to create projects visually, the Alibaba Cloud account must grant the AliyunDataWorksFullAccess permission to the RAM user.

Choose the right policy

Scenario Policy to grant
Activate the MaxCompute service AliyunBSSOrderAccess
Activate the MaxCompute service or create/delete projects in the DataWorks console (legacy) AliyunDataWorksFullAccess
Manage projects and quotas in the MaxCompute console AliyunMaxComputeFullAccess or a custom policy

For the full list of permissions supported by the MaxCompute console, see RAM permissions.

The system automatically flags high-risk policies such as AdministratorAccess and AliyunRAMFullAccess. Do not grant these unless absolutely necessary.

Grant a policy

  1. In the navigation pane, choose Identities > Users.

  2. Find the target user and click Add Permissions in the Actions column.

  3. In the Grant Permission panel, configure the following:

  4. Click OK.

To grant permissions to multiple users at once, select them in the user list and click Add Permissions below the list.

Step 4: Hand over the RAM user account

Provide the following information to the intended user:

Account credentials

  • Logon name and password (saved in Step 1)

  • AccessKey ID and AccessKey Secret (created in Step 2)

Logon information

What's next

With the RAM user ready, activate MaxCompute and DataWorks. See Activate MaxCompute and DataWorks.