All Products
Search
Document Center

Simple Application Server:Reset a simple application server

Last Updated:May 22, 2024

To reinstall applications or the operating system on a simple application server, or to completely reinitialize it, you can reset the server. This can be achieved either by resetting the existing operating system or by replacing the server image.

Prerequisites

The simple application server is in the Running or Stopped state.

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, monitoring activities conducted on the server may encounter failures or disruptions. You can use one of the following methods to install the CloudMonitor plug-in 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

  • Operating system reset or image replacement will erase all data on the disks of a server. While snapshots made prior to these actions remain saved, you cannot use them to restore the server to its pre-reset state.

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

  • If a 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 the operating system of simple application servers 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 the 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. In the card of the desired server, choose More > Server Resetting.

    Alternatively, click the server ID in the server card to go to the Server Overview tab. In the upper part of the page, click Server Resetting or go to the Basic Information section to click Server Resetting below Image Information.

  4. Reset the simple application server.

    Warning

    Note that, regardless of whether you initiate a server reset through the current OS reset or image replacement, a notification will appear, emphasizing that the reset process will erase disk data on the server. Carefully review this notification and click OK to proceed.

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

    • Select Reset Current System and click Confirm Resetting.

    • Select Replace with Another Image and perform the following operations:

      1. Select a new image.

        You can click the Application Images, OS Images, or Custom Images tab and select an image.

      2. Click Confirm Resetting.

    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 to obtain technical support.

    • If the requirements are not met, the simple application server cannot be reset.