Help Center/ MapReduce Service/ User Guide/ Preparations/ Configuring MRS Cloud Service Authorization
Updated on 2024-10-25 GMT+08:00

Configuring MRS Cloud Service Authorization

You can interact with MRS clusters on the MRS console, monitor their status, and perform management operations. However, you need to obtain service authorization before using MRS for the first time.

After permission assignment, MRS creates an agency named mrs_admin_agency in Identity and Access Management (IAM). After the agency is created, do not modify or delete it. Deleting the agency or the Tenant Administrator role in the agency will automatically cancel the permission assignment. If permission assignment is canceled, functions such as cluster creation, cluster scale-in/out, Master node specification upgrade, auto scaling, cluster name modification, and IAM user synchronization will be affected, and the cluster running status cannot be monitored.

Registering with Huawei Cloud

If you have registered with Huawei Cloud, log in to the management console and access your MRS. If you do not have an account, register one with Huawei Cloud. After the registration, your account can be used to access all public cloud services, including your MRS.

  1. Visit Huawei Cloud.
  2. Click Register and complete the registration as instructed.

    After you have registered, the system automatically redirects you to your personal information page.

Authorizing MRS

  1. Log in to the management console as a user who has the operation permission on IAM agents.
  2. Choose Analytics > MapReduce Service in the service list. The MRS Permissions page is displayed.

    Figure 1 Authorizing

  3. Click Modify Agency and click in the pane on the right to enable an agency or permission policy.
  4. After selecting agencies and policies, click Authorize.

    After you agree to authorization, the system creates mrs_service_agency, mrs_cluster_agency, or mrs_admin_agency and authorizes the agencies. After an agency is created, do not modify or delete it. After authorization, you can use the MRS service.

    • The mrs_admin_agency agency is not available in versions later than MRS 3.3.0-LTS.1.
    • If an agency fails to be created, the number of agencies may exceed the upper limit or you do not have the agency-related permissions.

      To delete unnecessary agencies, log in to the IAM management console, or contact the administrator to increase the upper limit.

      To obtain agency-related permission, perform operations as prompted or contact the administrator.

Canceling MRS Authorization

If you do not need to use the MRS clusters anymore, perform the following steps to cancel MRS authorization.

  1. Log in to the management console as a user who has the operation permission on IAM agents.
  2. Choose Analytics > MapReduce Service in the service list. The MRS Permissions page is displayed.
  3. Click Modify Agency and click in the pane on the right to disable an agency or permission policy.

    • Enabled agencies authorized in another region cannot be deleted, and you can only cancel the policy of the agency. If the agency is authorized only in the current region, you can cancel the policy and delete the agency.
    • Check the agency description and confirm possible service impacts before you cancel authorization.

  4. Click Authorize to apply the changes.