If the current pay-as-you-go or subscription billing method for a cloud disk no longer meets your needs, this topic explains how to change it.
Prerequisites
-
The RDS Custom instance must be in the Running or Suspended state.
-
The cloud disk must meet the following conditions:
-
The cloud disk is in the In Use state.
-
Its billing method has not been changed in the last 15 minutes.
-
Use cases
-
System disk: You cannot change the billing method of a system disk separately. You must change it along with the instance. For more information, see Change the billing method of an instance.
-
Data disk:
Conversion scenario
Instance billing method
Actions
Change from pay-as-you-go to subscription
Pay-as-you-go
Subscription
Disk is not attached to an instance
Conversion not supported
ImportantYou cannot change the billing method of a pay-as-you-go cloud disk that is not attached to an instance.
Change from subscription to pay-as-you-go
Subscription
Important-
You can create a subscription cloud disk only when you create a subscription instance.
-
You can attach a subscription cloud disk only to a subscription instance. You cannot attach it to a pay-as-you-go instance.
-
Change from pay-as-you-go to subscription
-
Log on to the RDS console.
-
Choose one of the following methods to change the billing method.
-
From the instance details page
-
In the navigation pane, choose RDS Custom > Custom Instances. Then, select a region at the top of the page.
-
Click the target instance.
-
In the navigation pane, click Storage Information.
-
In the Actions column of the target cloud disk, choose
> Change to Subscription.
-
-
From the Custom Storage and Snapshots page
-
In the navigation pane, choose RDS Custom > Storage and Snapshots. Then, select a region at the top of the page.
-
In the Actions column of the target cloud disk, choose
> Change to Subscription.Alternatively, on the Basic Information page of the cloud disk, click Change to Subscription.
-
-
-
Read the notes, select the checkbox to accept the terms of service and service level agreement, and click Buy Now.
After you change the billing method of the cloud disk to subscription, you cannot manually detach it.
Change from subscription to pay-as-you-go
This operation may involve a refund. Only the actual amount paid is refunded to your original payment method. Used vouchers and coupons are not refunded. For the refund calculation formula, see Refund rules for changing from subscription to pay-as-you-go.
-
Log on to the RDS console.
-
Choose one of the following methods to change the billing method.
-
From the instance details page
-
In the navigation pane, choose RDS Custom > Custom Instances. Then, select a region at the top of the page.
-
Click the target instance.
-
In the navigation pane, click Storage Information.
-
In the Actions column of the target cloud disk, choose
> Change to Pay-as-you-go.
-
-
From the Custom Storage and Snapshots page
-
In the navigation pane, choose RDS Custom > Storage and Snapshots. Then, select a region at the top of the page.
-
In the Actions column of the target cloud disk, choose
> Change to Pay-as-you-go.Alternatively, on the Basic Information page of the cloud disk, click Change to Pay-as-you-go.
-
-
-
Read the notes, select the checkbox to accept the terms of service and service level agreement, and click Buy Now.
API reference
ModifyRCInstanceChargeType: Changes the billing method of an RDS Custom instance or a cloud disk.