You can reset a simple application server. When you reset a simple application server, you can re-install its applications or operating system and re-initialize the server. You can reset a simple application server by resetting the operating system or replacing the image.

Background information

You can use the following methods to reset a simple application server:
  • Reset the operating system. You can re-install the current operating system without replacing the image.
  • Replace the image. You can replace the existing image on the simple application server by using another Alibaba Cloud image or a custom image. This effectively replaces the operating system.
Note After you reset a simple application server, the data disks, snapshots, and custom images on the server are all deleted. Back up your data before you reset your simple application server.

Limits

  • If a simple application server was created from a custom image that contains data of a data disk, the server cannot be reset.
  • If you reset a simple application system by replacing the existing image with a custom image,
    • You can only select a custom image in the same region as the current server.
    • You cannot select a custom image of the current server. If you want to recover the data on the server, you can use a snapshot of the server to roll back the disks.
    • In regions outside mainland China, you cannot switch simple application servers between Windows Server operating systems and Linux distributions. You cannot use a Windows Server custom image to reset a Linux simple application server. Similarly, you cannot use a Linux custom image to reset a Windows Server simple application server. You can switch simple application servers only between Windows Server operating systems or between Linux distributions.
    • The following limits apply to the disks:
      • If the custom image contains a system disk and data disks, but the simple application server is attached only with a system disk, you cannot use the custom image to reset the simple application server.
      • If the system disk size of the custom image is greater than the system disk size of the simple application server, you cannot directly use the custom image to reset the simple application server.

        You can upgrade the configuration of the simple application server to increase system disk size. When the system disk size of the server is greater than or equal to the system disk size of the custom image, you can use the custom image to reset the simple application server. For more information, see Upgrade the configurations of a simple application server.

      • If the data disk size of the custom image is greater than the data disk size of the simple application server, you cannot use the custom image to reset the simple application server.

Procedure

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Servers.
  3. Click the card of the simple application server that you want to reset to go to the Overview page.
  4. In the left-side navigation pane, choose Server Maintenance > Reset.
    Reset the simple application server
  5. Reset the simple application server.
    Use one of the following methods to reset the server:
    • In the Reset the current system section, click Confirm Reset.
    • In the Change to other images section, perform the following operations:
      1. Select a new image.

        You can select an Application Image or a System Image provided by Alibaba Cloud, or select a Custom Image that you created.

      2. Click Confirm Change.
    Note A message appears, indicating that the reset operation will delete the disk data and snapshots of the server, regardless of the method of resetting the server. Confirm the information and click OK.
    Go back to the Servers page. When the status of the server changes from Resetting to Running, the server is reset. If you fail to reset the simple application server, we recommend that you read the Limits section in this topic to check whether the requirements for resetting the simple application server are met.
    • If the requirements are met, we recommend that you Submit a ticket.
    • If the requirements are not met, the simple application server cannot be reset.