To allow a RAM user to use features in the EMR Serverless StarRocks console, log on to the Resource Access Management (RAM) console with your Alibaba Cloud account and grant the necessary permissions to the user.
Background information
Resource Access Management (RAM) is an Alibaba Cloud service that controls access to your resources. For more information, see What is Resource Access Management?. Common use cases for RAM in EMR Serverless StarRocks include:
-
User: If you purchase EMR Serverless StarRocks instances and have multiple users in your organization, such as operations engineers, developers, or data analysts, who need to use these instances, you can create a policy to grant them specific permissions. This practice avoids sharing a single AccessKey among multiple people.
-
User group: You can create multiple user groups and attach different permission policies to them to manage user permissions in batches. The procedure for granting permissions to a user group is the same as for a user.
Policies and roles
-
System policies and roles
-
EMR Serverless StarRocks uses the following policies.
Policy name
Description
AliyunEMRStarRocksFullAccess
Grants administrator permissions on EMR Serverless StarRocks, including access to all its operations and features.
AliyunEMRStarRocksReadOnlyAccess
This policy allows users to view the instance list and query instance details but prevents them from creating, updating, or modifying instances.
AliyunBSSOrderAccess
Grants permissions to view, pay for, and cancel orders in the Billing Center (BSS). This policy is required to upgrade or downgrade instance configurations and renew instances in the console.
AliyunSLBFullAccess
Grants permissions to manage Server Load Balancer (SLB), which allows you to configure public or private network whitelists for an EMR Serverless StarRocks instance.
-
EMR Serverless StarRocks uses the following role.
Role name
Description
AliyunEMRStarRocksAccessingOSSRole
EMR Serverless StarRocks uses this role to access your data in Object Storage Service (OSS).
-
-
Custom policy
If you are familiar with Alibaba Cloud service APIs and require fine-grained permission control, you can create a custom policy. For more information, see Policy structure and syntax. When creating the policy, you must carefully design its script.
Procedure
-
Log on to the RAM console as a RAM administrator.
-
In the left-side navigation pane, choose .
-
On the Users page, find the required RAM user, and click Add Permissions in the Actions column.
You can also select multiple RAM users and click Add Permissions in the lower part of the page to grant permissions to the RAM users at a time.
-
In the Add Authorization panel, select a scope, principal, and policy.
Parameter
Description
Resource scope
-
Account: The permissions apply to the current Alibaba Cloud account.
-
ResourceGroup: The permissions apply only to the specified resource group.
Principal
The RAM user to authorize.
Policy
Under System Policy, enter StarRocks to search for policies related to EMR Serverless StarRocks. Click the policy you want to attach. For details about each policy, see Policies and roles.
-
-
Click Confirm.
The permissions take effect immediately. You can then use the authorized RAM user to log on to the EMR Serverless console and perform the related operations.