This topic describes how to change the instance type (vCPUs and memory) of a pay-as-you-go instance.
Prerequisites
Make sure that the instance whose instance type you want to change meets the following
requirements:
- The instance is in the Stopped (
Stopped
) state.Note- Select Retain Instance and Continue Charging After Instance is Stopped for the stop mode when you attempt to stop the instance.
- Service interruptions may occur when you stop an instance. We recommend that you perform this operation during off-peak hours.
- The instance family to which the instance belongs supports instance type changes. For more information, see Change instance types of instances.
Background information
Take note of the following limits when you use the instance type change feature:
- The number of vCPUs and memory size can only be changed by changing the instance type. They cannot be changed seperately.
- You can change the instance type of an instance multiple times, but you must wait at least five minutes between two consecutive operations.