Making Preparations

Before using the BMS service, you need to make the following preparations:

Register with HUAWEI CLOUD and Complete Real-Name Authentication

If you already have a HUAWEI CLOUD account, skip this part. If you do not have a HUAWEI CLOUD account, perform the following steps to create one:

  1. Visit https://www.huaweicloud.com/ and click Register.
  2. On the displayed Register page, register an account as prompted. For details, see Registering on the HUAWEI CLOUD Management Console.

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

  3. Complete real-name authentication by following the instructions in Real-Name Authentication.

Top Up an Account

Ensure that your account has sufficient balance.

Create an IAM User

If you want to allow multiple users to manage your resources without sharing your password or private key, you can create users using IAM and grant permissions to the users. These users can use specified login links and their own accounts to access the public cloud and help you efficiently manage resources. You can also set account security policies to ensure the security of these accounts and reduce enterprise information security risks.

If you have registered on the public cloud platform but have no IAM user, you can create one on the IAM console. For example, to create a BMS administrator, perform the following steps:

  1. Enter your username and password to log in to the management console.
  2. In the upper right corner of the page, click the username and select Identity and Access Management.
  3. In the navigation pane, choose Users. In the right pane, click Create User.
  4. Enter the user information on the Create User page.
    • Username: Enter a username, for example, bms_administrator.
    • Email Address: Email address bound to the IAM user. This parameter is mandatory if the access type is specified as Set by user.
    • (Optional) Mobile Number: Mobile number bound to the IAM user.
    • (Optional) Description: Enter description of the user, for example, BMS administrator.
  5. In the Access Type area on the Create User page, select Management console access, select Set now for Console Password, enter the password, and click Next.
    Figure 1 Selecting the access type

    A BMS administrator can log in to the management console and manage users. You are advised to select Set now for Console Password when you create a BMS administrator for your domain. If you create a BMS administrator for another user, you are advised to select Set by user for Console Password instead so that the user can set their own password.

  6. (Optional) Click Next to add the user to the admin user group.

    User group admin has all the operation permissions. If you want to grant fine-grained permissions to IAM users, see Creating a User and Granting Permissions.

    After being created successfully, the IAM user is displayed in the user list. You can click the IAM user login link above the list and use the created user to log in to the console.

(Optional) Create a Key Pair

The cloud platform uses the public key cryptography to protect the login information of your BMS. You need to specify the key pair name and provide the private key when logging to the BMS using SSH if you choose the key pair login mode. If you choose the password login mode, skip this task.

If you have no key pair, create one on the management console.

If you want to create BMSs in multiple regions, you need to create a key pair in each region. For more information about regions, see Region and AZ.

  1. Log in to the management console.
  2. Under Computing, click Bare Metal Server.

    The BMS console is displayed.

  3. In the navigation tree, choose Key Pair.
  4. On the right side of the page, click Create Key Pair.
  5. Enter the key name and click OK.

    An automatically allocated key name consists of KeyPair- and a 4-digit random number. Change it to an easy-to-remember one, for example, KeyPair-xxxx_bms.

  6. Download the private key file. Alternatively, the system will automatically download it for you. The file name is the specified key pair name with a suffix of .pem. Securely store the private key file. In the displayed dialog box, click OK.

    This is the only opportunity for you to save the private key file. Keep it secure. When creating a BMS, provide the name of the desired key pair. Each time you log in to the BMS using SSH, provide the private key.