This topic describes how to change the instance type (vCPUs and memory) of a pay-as-you-go instance.
Prerequisites
The instance for which you want to change the instance type meets the following requirements:
- The instance is a pay-as-you-go instance, excluding preemptible instances.
- The instance is in the Stopped (
Stopped
) state.Note- Set Stop Mode to Standard Mode when you stop the instance.
- Service interruptions may occur when you stop instances. We recommend that you stop instances during off-peak hours.
- The instance family to which the instance belongs supports instance type changes. For more information, see Instance families that support instance type changes.
Limits
- The number of vCPUs and the memory size of an instance can be changed only by changing the instance type of the instance. These configurations cannot be separately changed.
- The instance type of an instance can be changed as many times as needed, but you must wait at least 5 minutes between two consecutive changes.