Resetting Instance Password

Last updated: 2021-08-04 16:58:37

    Overview

    If you forget your CVM instance login password, you can reset it on the console.

    Note:

    • You can directly reset the login password of shutdown instances.
    • Resetting the login password of running instances will force them to shut down. To avoid data loss, please plan ahead and reset passwords during off-peak hours.

    Directions

    1. Log in to the CVM console.
    2. On the Instances page, locate the target CVM instance, and click More > Password/Key > Reset Password in the Operation column, as shown in the following figure:
    3. Select Username and enter the username of the selected instance. Enter the New password, re-enter the new password in the Confirm Password field, and click Next.
      Note

      The Username defaults to System default, and the default system username is used, such as “Administrator” for Windows, “ubuntu” for Ubuntu, and “root” for other Linux distributions. You can select Specified user name and enter the username.


    4. Reset the password according to the instance status:
      • To reset the password of a Running instance, select Agree to a forced shutdown and click Reset Password, as shown in the following figure:
      • To reset the password of a Shutdown instance, click Reset Password, as shown in the following figure.