All Products
Search
Document Center

Elastic Compute Service:Change the billing method of an instance from pay-as-you-go to subscription

Last Updated:Mar 08, 2024

After you create a pay-as-you-go Elastic Compute Service (ECS) instance, you can change its billing method to subscription to reserve resources at a discounted rate. This topic describes how to change the billing method of an instance from pay-as-you-go to subscription in the ECS console.

Prerequisites

The ECS instance whose billing method you want to change meets the following requirements:

  • The instance type of the instance is not retired. For more information, see Retired instance types.

  • The instance is not a preemptible instance.

  • You do not have unpaid orders for the instance.

    If you have unpaid orders for the instance, you must pay for the orders or cancel the orders before you can change the billing method of the instance.

  • The automatic release time is not set for the instance.

    If the automatic release time is set for the instance, you must cancel the automatic release of the instance before you change its billing method. For more information, see Release an instance.

  • The instance is in the Running or Stopped state.

    If you placed an order to change the billing method of an instance in the Running or Stopped state and then the instance entered a different state before the payment is completed, the payment fails and the billing method does not change. You can go to the Billing Management console and pay for the order when the instance is in the Running or Stopped state again.

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 the region and resource group to which the resource belongs. 地域

  4. Use one of the following methods to change the billing method of an instance from pay-as-you-go to subscription:

    • To change the billing method of a single instance from pay-as-you-go to subscription, find the instance and choose image.png > Fees > Switch to Subscriptionicon1 in the Actions column.转换

    • To change the billing method of one or more instances, select the instances and choose More > Fees > Switch to Subscription in the lower part of the page.

      Note

      You can change the billing method of up to 20 pay-as-you-go instances at a time.

      费用

  5. On the Switch to Subscription page, complete the settings for the billing method change.

    1. Specify a subscription duration.

      To change the billing methods of multiple instances from pay-as-you-go to subscription at the same time, select a subscription duration for all these instances.

    2. If you want to change the billing method of data disks attached to the instance from pay-as-you-go to subscription, select Switch to Subscription in the Data Disk section.

    3. Optionally enable auto-renewal for the instance.

    4. Read and select ECS Service Terms.

  6. Click Create Order and then complete the payment.