This article describes how to use the Reset Password feature to specify a new logon password for an instance.

Note You must restart an instance after its password is reset, which may disrupt services. Exercise caution when performing this action.

Prerequisite

The instance must be in a stable status, such as Stopped and Running. For more information, see ECS instance life cycle.

Procedure

To reset a password for one or multiple ECS instances, follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. Select the target region.
  4. According to the number of instances to be operated, do the following:
    • To reset the password for one instance, find the target instance and, in the Actions column, select More > Reset Password.

    • To reset the passwords for multiple instances, select the target instances and, under the instance list, click Reset Password.

  5. Specify a new valid password, and click Submit.
  6. To make the password change take effect, change the instance status to one of the following:

Related operations

To modify the password: follow Step 3: Connect to an instance, then change the password in the ECS instance.