If you did not specify a logon password for an instance at the time of creation, or the password is lost, specify a new password in the ECS console. This article describes how to use the Reset Password feature to specify a new logon password.
Note: You must restart an instance after its password is reset, which may impact the service. To reduce the impact, we recommend that you reset the password when the related service is not busy.
The instance must be in a stable status, such as Stopped and Running. For more information, see ECS instance life cycle.
To reset a password for one or multiple ECS instances, follow these steps:
Log on to the
In the left-side navigation pane, click Instances.
Select a region.
According to the number of instances to be operated, do the following:
To reset the password for one instance, find the instance, and in the Actions column, select More > Reset Password.
To reset the passwords for multiple instances, select the instances, and under the instance list, click Reset Password.
Note: These instances must be in stable status.
In the Reset Password dialog box, specify a new valid password, and click Submit.
Operate different actions to make the password effective according to the instance status:
To modify the password: ModifyInstanceAttribute