If the configurations of your simple application server do not meet your business requirements, you can upgrade the server. This topic describes how to upgrade a simple application server.
Background information
We recommend that you create snapshots for the disks of your simple application server
to back up data before you upgrade the server. For more information, see Create a snapshot.
Note It takes time to create snapshots. Wait until the snapshots are created.
Precautions
Before you upgrade a simple application server, take note of the following items:
- To upgrade the server, you must select a higher-specification plan. The server cannot be downgraded after it is upgraded.
- After the simple application server is upgraded, you cannot mount a data disk to the server or extend existing data disks.
- When you upgrade the server, the system calculates the price difference between the original and new plans. You must pay this difference. The actual price difference is displayed on the Upgrade/Downgrade page of the Simple Application Server console.
- After the server is upgraded, the resources of the server may change or remain unchanged
as described in the following list:
- The expiration time and IP address of the server remain unchanged.
- Computing resources (vCPUs and memory), storage resources (system disk capacity),
and network resources (data transfer quota and public bandwidth) are upgraded to the
configurations included in the new plan.
For the system disk and data transfer quota of the server, take note of the following items:
- After you upgrade the disk system in the Simple Application Server console by upgrading
the server, you only extend the storage capacity of the system disk. Therefore, after
you upgrade the system disk by upgrading the server, you must extend the partition
and file system on the system disk.
Note If the system disk capacity remains unchanged after the server is upgraded, you do not need to extend the partition and file system on the system disk.
- If you have used a portion of the data transfer quota in the original plan of the
server, this portion is included in the new plan after the server is upgraded.
For example, before the server is upgraded, your simple application server has a data transfer quota of 400 GB and has transferred 100 GB of data to the Internet this month. After the server is upgraded, the server has a new data transfer quota of 600 GB. The 100 GB is included in the new quota and the data transfer quota balance of the server is 500 GB.Note Some plans such as a plan that consists of 1 vCPU, 1 GB memory, a 1Mbit/s bandwidth, and a 20 GB standard SSD do not include monthly data transfer quotas. The data transfers of the server are not calculated. However, if you upgrade a simple application server from such a plan to a plan that includes a monthly data transfer quota, the server starts to count the data transfers.
- After you upgrade the disk system in the Simple Application Server console by upgrading
the server, you only extend the storage capacity of the system disk. Therefore, after
you upgrade the system disk by upgrading the server, you must extend the partition
and file system on the system disk.
Upgrade a simple application server
Extend the partition and file system on the system disk of a Linux server
In this example, the original capacity of the system disk is 20 GB. After the server
is upgraded, the new capacity of the system disk is 40 GB.
Note For all simple application servers, the default device name of the system disk is
/dev/vda
.
Extend the file system on the system disk of a Windows server
In this example, a simple application server that runs a Windows Server 2012 R2 64-bit operating system is used. The original capacity of the system disk (Disk C) is 40 GB. After the server is upgraded, the new capacity of the system disk (Disk C) is 60 GB.