All Products
Search
Document Center

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

Last Updated:Mar 08, 2024

This topic describes how to change the billing method of an Elastic Compute Service (ECS) instance from subscription to pay-as-you-go. After you create a subscription instance, you can change the billing method of the instance to pay-as-you-go to recover some costs and use the instance in a more flexible manner. After the billing method of the instance is changed from subscription to pay-as-you-go, make sure that your account balance is sufficient. Otherwise, overdue payments occur and services provided by the instance are affected.

Prerequisites

The instance whose billing method you want to change is in the Running or Stopped state.

Important

The billing method of expired subscription instances cannot be changed.

Background information

Alibaba Cloud determines whether you can change the billing method of an instance based on your ECS usage. You can perform the operations that are described in this topic to check whether an entry point for changing the billing method of your instance exists in the ECS console. If the entry point does not exist, the billing method of your instance cannot be changed.

The following section describes the results of changing the billing method of an ECS instance from subscription to pay-as-you-go:

  • The billing methods of the ECS instance, system disk, and subscription data disks attached to the instance are changed to pay-as-you-go. The billing method for network usage remains unchanged.

  • The subscription duration that was previously offered for reasons such as the Internet Content Provider (ICP) filing, system failures, or migration from data centers is automatically invalidated.

Note

If economical mode is enabled and the subscription instance is in the Stopped state before the billing method of the instance is changed, economical mode is not automatically triggered after the billing method of the instance is changed to pay-as-you-go. To trigger economical mode, you must manually start and then stop the pay-as-you-go instance.

The following refund rules apply after you change the billing method of an instance from subscription to pay-as-you-go:

  • A refund generated from the billing method change counts against the monthly refund quota. If the refund quota for this month is used up, you cannot request new refunds until a new refund quota is available on the first day of the next month. For information about refund quotas, see Limits.

    When you change the billing method of the instance, the refund amount for the instance is calculated based on the number of vCPUs and the remaining hours in the current billing cycle. Example: 1 refund unit = 1 vCPU × 1 hour.

    For example, you purchased a six-month subscription instance that has four vCPUs. Four months later, you changed the billing method of the instance to pay-as-you-go. The refund amount for the instance is calculated based on the following formula: Refund = 4 vCPUs × 60 days × 24 hours/day = 5760.

  • If you have renewal or upgrade orders that have not taken effect for the instance, full refunds are made for the orders. If you have orders that have already taken effect for the instance, partial refunds are made for the orders.

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 subscription to pay-as-you-go:

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

    • To change the billing method of multiple instances at once, find the instances and choose More > Fees > Switch to Pay-as-you-go in the lower part of the page.

  5. Read the notes. Read and select ECS Service Terms and then click Switch.

Result

After the billing method of an instance is changed, you can go to the ECS console to view the billing method of the instance.

  • On the Instances page, the billing method of the instance changes to Pay-As-You-Go in the Billing Method column.

  • Click the instance ID to go to the Instance Details page. Click the Cloud Disk tab. In the Billing Method column, the billing methods of the system disk and data disks (if any) change to Pay-as-you-go.

What to do next

If an instance is no longer needed, you can configure the instance to be automatically released at a specific time to minimize costs. For more information, see Release an instance.