Resetting Instance Password

Last updated: 2021-01-18 10:51:13

    Overview

    If you forget your CVM instance login password, you can reset it on the console. This document describes how to reset your instance login password on the console.

    Note:

    • You can only reset the login passwords of shutdown instances.
    • Running instances will be shut down when you reset their login passwords on the console. To avoid service interruptions and data losses, please plan ahead and reset passwords during off-peak hours.

    Directions

    Resetting the password of a single instance

    1. Log in to the CVM console.
    2. On the Instances page, select the desired CVM instance and click More > Password/Key > Reset Password, as shown in the following figure:
      Reset password
    3. Instances in different statuses have different steps for resetting passwords. Therefore, select one of the following set of steps based on the status of the instance:
      • If you need to reset the password of a Running instance:
        1. 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.
        2. Select Agree to a forced shutdown and click Reset Password, as shown in the following figure:
      • If you need to reset the password of a Shutdown instance:
        1. 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.
        2. Click Reset Password, as shown in the following figure:

    Resetting instance passwords in batches

    1. Log in to the CVM console.
    2. On the Instances page, select the CVM instances to reset password, and click Reset Password at the top of the instance list, as shown in the following figure:
      Batch reset password
    3. Instances in different statuses have different steps for resetting passwords. Therefore, select one of the following set of steps based on the status of the instance:
      • If you need to reset the password of a Running instance:
        1. 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.
        2. Select Agree to a forced shutdown and click Reset Password, as shown in the following figure:
      • If you need to reset the password of a Shutdown instance:
        1. 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.
        2. Click Reset Password, as shown in the following figure: