This topic describes how to switch the billing method of your instance from Pay-As-You-Go to Subscription in the ECS console. After you create a Pay-As-You-Go instance, you can convert its billing method to Subscription to pay only for the reserved resources.


The ECS instance you want to switch the billing method for must meet the following requirements:
  • The instance belongs to your account.
  • The following instance types are not applicable:
    • Generation I: t1, s1, s2, s3, m1, m2, c1, or c2
    • Generation n1, n2, or e3
    Note For more information about these instance types, see Phased-out instance types.
  • The instance cannot be a preemptible instance.
  • There is no unpaid switch order for the instance.

    If there is an unpaid switch order, you must cancel the unpaid order and then place another order to switch the billing method.

  • Auto release is not set for the instance.

    If auto release has been set for an instance, you must disable the auto release configuration and then switch the billing method. For more information, see Release an instance.

  • The instance is in the Running or Stopped state.

    Example: An order to switch the billing method has been placed when the ECS instance is in the Running or Stopped state. However, the instance status has changed when payment is attempted for the order. The preceding requirement is not met. The order fails and the billing method remains unchanged. You can go to the billing center and pay for the order when the instance is in the Running or Stopped state again.

Background information

You can switch a maximum of 20 Pay-As-You-Go instances to Subscription instances each time.


  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. Select one or more Pay-As-You-Go instances. Click Switch to Subscription under the instance list.
  5. On the Switch to Subscription page, click Batch Change.
  6. In the dialog box that appears, set the subscription plan, including:
    1. Duration: You can set the length of service time for the Subscription instance.
      Instances whose billing methods are converted at the same time must have the same length of service time.
    2. Data disk: If Pay-As-You-Go data disks are attached to the selected instances, you can set whether to also switch their billing method to Subscription.
  7. Click OK.
  8. Complete the payment as prompted.