If necessary, you can change the instance type of a pay-as-you-go instance, including the vCPU and memory specifications.

Prerequisites

The instance is in the Stopped state.
Note
  • Select Retain Instance and Continue Charging After Instance is Stopped for the stop mode when you attempt to stop the instance.
  • Stopping an instance may cause service interruptions. We recommend that you perform this operation during off-peak hours.

Background information

Changing the instance type of a pay-as-you-go instance is subject to the following limits:
  • You can change the instance type of an instance multiple times. However, the interval between two consecutive operations must be at least five minutes.
  • Not all instance families allow for changes in instance type. For information about the instance families that support instance type changes and the rules for instance type changes, see Instance type changes.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Find the target pay-as-you-go instance. Click Change Instance Type in the Actions column.
  5. Select a new instance type, verify the price, and then click Change.
  6. Start the pay-as-you-go instance.

Result

The new instance type takes effect immediately.