Help Center/ Elastic Cloud Server/ User Guide/ Passwords and Key Pairs/ Key Pairs/ (Recommended) Creating a Key Pair on the Management Console
Updated on 2025-05-21 GMT+08:00

(Recommended) Creating a Key Pair on the Management Console

Scenarios

You can create a key pair on the management console. After the key pair is created, the public key is automatically stored in the system, and the private key is stored in your local computer. After a key pair is created for an ECS on the management console, ensure that you store your private key in a secure place. Without a private key, you will not be able to log in to the ECS.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. In the navigation pane on the left, choose Key Pair.
  5. On the displayed page, click Create Key Pair.

    Key pairs include private key pairs and account key pairs. Private key pairs are only available to the user itself. Account key pairs are available to all users under the account.

    You can create key pairs based on your needs.

  6. Configure the following parameters:
    1. Enter a key pair name.
    2. Select a type.
    3. Confirm KMS encryption.
      This option is displayed only if you select I agree to host the private key of the key pair.
      • If you do not select I agree to host the private key of the key pair, you can download the private key only once for security purposes. Please keep the private key secure.

        If the key pair is lost, you can reset the key pair and bind it to the ECS.

      • If you select I agree to host the private key of the key pair, you can export the managed private key as required. For details, see Exporting a Private Key.
    4. Select I have read and agree to the Key Pair Service Disclaimer.
  7. Click OK.

Related Operations