If you have created snapshots for a cloud disk, you can roll the disk back to restore a cloud disk to a specific snapshot status at a given time point.


Before you roll back a cloud disk, note the following:

  • Rolling back a cloud disk is an irreversible action. Once rollback is complete, data cannot be restored. Exercise caution when performing this action.

  • After the disk is rolled back, data from the creation date of the snapshot to the rollback date is lost.

  • After a system disk is restored, the logon password or the SSH key pair of the ECS instance is retained.


Before rolling back a cloud disk, check that:

  • You have created a snapshot for the cloud disk, and no snapshot creation is in progress.

  • You have not released the cloud disk.

  • The cloud disk has been attached to an ECS instance and the instance is in the Stopped state.

    Note For a Pay-As-You-Go VPC-Connected ECS instance, if the No fees for stopped instances (VPC-Connected) feature is enabled, to stop an instance, in the Notice dialog box, click OK. Then in the Stop dialog box, select Keep Instance with Fees, and click OK. If you use the No fees for stopped instances (VPC-Connected) feature, you may not be able to start the instance successfully after changing the system disk.


To roll back a cloud disk , follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Find the target instance and click its ID to go to the Instance Details page.
  5. In the left-side navigation pane, click Instance Snapshots.
  6. Find the target snapshot and then in the Actions column, click Roll Back Disk.
  7. In the dialog box, click OK.
    Note If you select Start Instance after Rollback, the instance starts automatically after the disk is restored.

Related API


What to do next

If you resize a cloud disk after creating a snapshot, you can connect to the instance to resize its file system. For more information, see: