All Products
Search
Document Center

Simple Application Server:Reset a simple application server

Last Updated:Jan 24, 2024

If you want to re-install the applications or operating system of a simple application server and re-initialize the server, you can reset the server. You can reset a simple application server by resetting the current system or replacing the image.

Background information

Warning
  • After you reset a simple application server, the disk data on the server is deleted. Back up your data before you reset your server.

  • After you reset the server, the monitoring operations that are performed on the server may fail. You can use one of the following methods to install the CloudMonitor agent on the server:

You can use one of the following methods to reset a simple application server:

  • Reset the current operating system of the server. You can re-install the operating system without replacing the image.

  • Replace the image. You can select an Alibaba Cloud image or a custom image that is different from the existing image of the server to reinstall the OS of the server.

Limits

  • If you reset a simple application server, the disk data on the server is deleted, and the snapshots that were created before the reset are retained but cannot be used to roll back the disks of the server.

  • If a simple application server was created from a custom image that contains data of a data disk, the server cannot be reset.

  • If your simple application server is deployed outside the Chinese mainland, you cannot switch the operating system of the server between Windows Server and Linux. You cannot use a Windows Server image to reset a Linux simple application server. You also cannot use a Linux image to reset a Windows Server simple application server. You can switch only between Windows Server operating systems or between Linux distributions.

  • Before you reset a simple application server by replacing the existing image with a custom image, take note of the following items:

    • The custom image must reside in the same region as the current server.

    • You cannot select a custom image that contains data of data disks.

    • You cannot select a custom image that is created based on the current server.

      If you want to restore the original data after you reset the server, you can use a custom image that was created before you reset the server to create a new 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 use a custom image to reset a simple application server only if the system disk size of the simple application server is greater than or equal to the system disk size of the custom image. To increase the system disk size of your simple application server, you can upgrade the server. For more information, see Upgrade a 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 server ID in the card of the server whose system you want to reset to go to the Server Overview page.

  4. Click the Server Resetting tab.

  5. Reset the simple application server.

    Warning

    Regardless of whether you reset the server by resetting the current operating system or by replacing the image, a message appears, indicating that the resetting operation will delete the disk data on the server. Confirm the information and click OK.

    Use one of the following methods to reset the server based on your business requirements:

    • In the Reset current OS section, click Confirm to 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.

    • Click Confirm to replace.

    Go back to the Servers page. When the state 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.