If the OS of an ECS fails to start or requires optimization, reinstall the OS.
in the upper left corner and select a region and project.Before reinstalling the OS, stop the ECS first or select Stop the ECS in the Reinstall OS dialog box.
Figure 1 Reinstalling an OS

You can set the login mode for the ECS whose OS is to be reinstalled based on service requirements.
If you select Password for Login Mode, set a new password based on the password complexity requirements and confirm the new password.
Parameter | Requirement |
|---|---|
Password |
|
If you select Key pair for Login Mode, select an existing key pair from the drop-down list or create a key pair. For details, see (Recommended) Creating a Key Pair on the Management Console.
If you use an existing key pair, make sure that you have saved the key file locally. Otherwise, logging in to the ECS will fail.
After the request is submitted, the status Reinstalling is displayed. When this status disappears, the reinstallation is complete. During the reinstallation process, a temporary ECS is created. After the reinstallation is complete, this ECS will be automatically deleted. Do not perform any operation on the temporary ECS during the reinstallation process.
If the system displays a message indicating that the reinstallation fails, you can perform steps in Procedure again to retry the OS installation.
If the attempt still fails, contact customer service for manual recovery at the backend.