If your disk's current billing method, whether pay-as-you-go or subscription, does not suit your needs, you can change it by following the guidelines in this topic.
Prerequisites
-
The Elastic Block Storage device to be switched must be a disk. Ephemeral and local disks cannot be switched on their own; they must be switched along with the instance. For detailed instructions, see Switch the billing method of an instance from subscription to pay-as-you-go and Switch the billing method of an instance from pay-as-you-go to subscription.
-
The billing method to be switched must be either subscription or pay-as-you-go. Preemptible instances and cost-optimization billing methods such as savings plans and Storage Capacity Units are not eligible for switching.
-
Ensure that the instance status is Running or Stopped.
-
The disk must meet the following criteria:
-
The disk status is In_use.
-
The multi-attach feature is not enabled on the disk. Disks with multi-attach enabled cannot have their billing method switched. For more information, see Multi-attach feature of disks.
-
The disk's billing method has not been changed within the last 5 minutes prior to this operation.
-
Procedure
-
The system disk cannot be switched independently and must be switched along with the instance. For detailed instructions, see Switch the billing method of an instance from subscription to pay-as-you-go and Switch the billing method of an instance from pay-as-you-go to subscription.
-
Depending on your needs, you can refer to different documents to switch the billing method of the data disk.
Disk billing method switching requirements
Instance billing method
Procedure
Switch from pay-as-you-go to subscription
Pay-as-you-go
Can only be switched with the billing method of the instance. For specific operations, see Switch the billing method of an instance from pay-as-you-go to subscription.
Subscription
Log on to the ECS console.
Select one of the following methods to switch the billing method of the disk.
If you need to switch multiple data disks mounted on an instance, it is recommended to operate on the instance page.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
Find the instance with the disk to be switched. In the Actions column, select
.On the Upgrade Configuration page, in the Disk Billing Method area, select the pay-as-you-go data disk to be switched.
The billing method of the selected data disk will be switched from pay-as-you-go to subscription in the upgrade order.
If you need to switch a specific data disk, it is recommended to operate on the disk page.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
Find the data disk to be switched. In the Actions column, select
.In the Disk Billing Method area, view the default selected disk.
Read the upgrade notice, select Terms of Service for Elastic Compute Service (ECS), and then click Confirm Order.
Complete the payment and confirm that the billing method of the disk has been switched to subscription.
After the billing method of the disk is switched to subscription, it cannot be detached.
Switch from subscription to pay-as-you-go
Subscription (Subscription disks can only be attached to subscription instances. There is no pay-as-you-go situation)
NoteUsing the real-time downgrade feature to switch a subscription data disk to a pay-as-you-go data disk may result in a refund. The refund amount is the difference between the price of the new configuration and the remaining effective purchase price before the downgrade.
Log on to the ECS console.
Select one of the following methods to switch the billing method of the disk.
If you need to switch multiple data disks mounted on an instance, it is recommended to operate on the instance page.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
Find the instance with the disk to be switched. In the Actions column, select
.On the Downgrade Configuration page, click the Disk Billing Method tab.
Select the subscription data disk to be switched.
The billing method of the selected data disk will be switched from subscription to pay-as-you-go.
If you need to switch a specific data disk, it is recommended to operate on the disk page.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
Find the data disk to be switched. In the Actions column, select > Switch From Subscription To Pay-as-you-go.
In the Disk Billing Method tab, view the default selected disk.
Select Terms of Service for Elastic Compute Service (ECS), and then click Downgrade Now.
After the billing method of the disk is switched to pay-as-you-go, by default, it is not released with the instance. You can change the release with instance setting in the ECS console. For specific operations, see Release a disk.