All Products
Search
Document Center

Elastic Compute Service:Change the billing method of a cloud disk

Last Updated:Feb 08, 2025

If the pay-as-you-go or subscription billing method of a cloud disk does not meet your business requirements, you can perform the operations described in this topic to change the billing method of the disk.

Prerequisites

  • The disk whose billing method you want to change is a cloud disk. You cannot separately change the billing method of an elastic ephemeral disk or a local disk. You can change the billing method of an elastic ephemeral disk or a local disk only when you change the billing method of the Elastic Compute Service (ECS) instance to which the disk is attached. For more information, see Change the billing method of an instance from subscription to pay-as-you-go and Change the billing method of an instance from pay-as-you-go to subscription.

  • The billing method used by the cloud disk is subscription or pay-as-you-go. You cannot change the billing method of a cloud disk if the disk is attached to a preemptible instance or the bills of the disk are offset by a cost-saving plan such as a savings plan or a storage capacity unit (SCU).

  • The ECS instance to which the cloud disk is attached is in the Running or Stopped state.

  • The cloud disk meets the following requirements:

    • The cloud disk is in the In Use (In_use) state.

    • The multi-attach feature is disabled for the cloud disk. You cannot change the billing method of cloud disks for which the multi-attach feature is enabled. For more information, see Multi-attach for cloud disks.

    • The billing method of the cloud disk is not changed within the previous 5 minutes.

Procedure

image
  • You cannot separately change the billing method of a system disk. To change the billing method of a system disk, change the billing method of the ECS instance to which the disk is attached. For more information, see Change the billing method of an instance from subscription to pay-as-you-go and Change the billing method of an instance from pay-as-you-go to subscription.

  • You can refer to different topics to change the billing method of a data disk based on your business requirements.

    Billing method change requirements for cloud disks

    Instance billing method

    Procedure

    Change the billing method from pay-as-you-go to subscription

    Pay-as-you-go

    You can change the billing method of a cloud disk only when you change the billing method of the ECS instance to which the disk is attached. For more information, see Change the billing method of an instance from pay-as-you-go to subscription.

    Subscription

    1. Log on to the ECS console.

    2. Use one of the following methods to change the billing method of a cloud disk:

      • To change the billing method of multiple data disks of an ECS instance, we recommend that you go to the Instance page.

        1. In the left-side navigation pane, choose Instances & Images > Instances.

        2. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

        3. Find the ECS instance for which you want to change the billing method of cloud disks and choose 更多 > Upgrade/Downgrade > Upgrade in the Actions column.

        4. On the Upgrade Configuration page, select the pay-as-you-go data disks whose billing method you want to change in the Billing Method of Disks section.

          The billing method of the selected data disks changes from pay-as-you-go to subscription.

      • If you want to change the billing method of a specific data disk, we recommend that you perform the operations on the Block Storage page.

        1. In the left-side navigation pane, choose Storage & Snapshots > Block Storage.

        2. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

        3. Find the data disk whose billing method you want to change and choose 更多 > Switch to Subscription in the Actions column.

        4. In the Billing Method of Disks section, check the selected cloud disk.

    3. Read the upgrade instructions, select ECS Terms of Service, and then click Confirm Order.

    4. Complete the payment and confirm that the billing method of the cloud disk is changed to subscription.

      After you change the billing method of the cloud disk to subscription, the disk cannot be detached.

    Change the billing method from subscription to pay-as-you-go

    Subscription (Subscription cloud disks can be attached only to subscription instances. Pay-as-you-go instances do not support subscription cloud disks.)

    Note

    You may receive a refund when you use the configuration downgrade feature to change the billing method of a data disk from subscription to pay-as-you-go. The refund amount is the difference between the price of the new configurations and the remaining price of the original configurations.

    1. Log on to the ECS console.

    2. Use one of the following methods to change the billing method of a cloud disk:

      • To change the billing method of multiple data disks of an ECS instance, we recommend that you go to the Instance page.

        1. In the left-side navigation pane, choose Instances & Images > Instances.

        2. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

        3. Find the ECS instance for which you want to change the billing method of cloud disks and choose 更多 > Upgrade/Downgrade > Downgrade in the Actions column.

        4. On the Downgrade page, click the Billing Method of Disks tab.

        5. Select the subscription data disks whose billing method you want to change.

          The billing method of the selected data disks changes from subscription to pay-as-you-go.

      • To change the billing method of a specific data disk, we recommend that you go to the Block Storage page.

        1. In the left-side navigation pane, choose Storage & Snapshots > Block Storage.

        2. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

        3. Find the data disk whose billing method you want to change and choose 更多 > Switch to Pay-as-you-go in the Actions column.

        4. On the Billing Method of Disks tab, check the selected cloud disk.

    3. Select ECS Terms of Service and click Downgrade.

      By default, if you release the ECS instance to which the cloud disk is attached after you change the billing method of the disk to pay-as-you-go, the disk is not released together with the instance. You can change the release settings of disks in the ECS console. For more information, see Release a disk.