Updated on 2024-04-19 GMT+08:00

Preparations

(Optional) Creating the rf_admin_trust Agency

  1. Access the Huawei Cloud official website, log in to the console, hover your mouse over the account name in the upper right corner, and choose Identity and Access Management.

    Figure 1 Huawei Cloud console
    Figure 2 Identity and Access Management

  2. Choose Agencies in the left navigation pane and search for the rf_admin_trust agency.

    Figure 3 Agency list
    • If the agency is found, skip the following steps.
    • If the agency is not found, perform the following steps.

  3. Click Create Agency in the upper right corner of the page. On the displayed page, set Agency Name to rf_admin_trust, Agency Type to Cloud service, Cloud Service to RFS, and click Next.

    Figure 4 Creating an agency

  4. Search for Tenant Administrator, select it in the search results, and click Next.

    Figure 5 Selecting a policy

  5. Select All resources and click OK.

    Figure 6 Setting the authorization scope

  6. Check that the rf_admin_trust agency is displayed in the agency list.

    Figure 7 Agency list

Creating an AK/SK Pair

Before deploying this solution, you need to configure an AK/SK pair on the Huawei Cloud console and create an account key pair for logging in to ECSs.

  1. Follow the instructions in the official documentation to create an AK on the Access Keys page and download the SK. The AK/SK pair will be used as configuration items for starting Gearbox. (After this solution is successfully deployed, you need to delete the AK/SK pair and create a new pair.)

    Figure 8 Creating an AK/SK pair

  2. Follow the instructions in the official documentation to create an account key pair on the Kay Pair Service page. The account key pair will be used as the login key of the added ECS in subsequent quick deployment.

    Figure 9 Creating a key pair
    Figure 10 Key pair created