Virtual Machines

Products

Virtual Machines

Rebuild Instance

You can restore instance to the original system status by rebuild operation, which is a means of recovering when instance encounters a software failure. Also, you can replace the operating system while using current instance type by rebuild. You can choose to rebuild the instance to Linux system or to Windows system.

It shall be noted that reinstalling the system will result in the loss of all contents of system disk, and the data of data disk will not be affected (but need to be re-identified). Therefore, in the case of the need to retain system operating data, it is strongly recommended that you Create Private Image before rebuilding, and then select private image when rebuilding to achieve the retention of system operating data.

Precondition

  • The instance must be in "Stopped" status. If the instance is in the "Running" status, please run Stop Instance first; if the instance is in other unstable status, please wait for the pre-order operation to complete before resizing.

      Please note that :
      * If instance is created based on private image and private image has been deleted, you cannot use original image to rebuild, that is, you cannot restore to the original system status. It is recommended to keep private image referenced by instance;
      * You need to reset password when rebuilding. For Linux system you can also reassign key pair;
    

Operation Steps

  1. Access Virtual Machines Console and enter the instance list page. Or access JD Cloud Console Click navigation bar on the left Elastic Compute - Virtual Machines to enter the instance list page.
  2. Select a region.
  3. In the instance list, select the instance that needs rebuilding and confirm that its status is "Stopped".
  4. Click Operate - More - Rebuild, or click instance name to enter the details page and click Operate - Rebuild.
  5. In the "Rebuild" pop-up window, select the image used when you create instance by default which means you can restore to the system status at the time of creation. If you need to change to another image, click Change Image in the pop-up window to switch to the select image interface. You can select the image as needed
  6. Set a new login password and click OK to trigger rebuilding.

After that, the instance will enter the "Rebuilding" status. After the reset is completed, it will be restored to the "Stopped" status. After the "Start" instance is operated, the instance can be used normally.

Related Reference

Make Private Image

Stop Instance

Update Time:2019-08-28 21:38:30