This topic provides an overview of the billing methods and billable items of ApsaraDB RDS.
Billing methods
Subscription
- Definition: This billing method requires you to pay an upfront fee before you use the resources. Longer subscription durations offer more savings.
- Scenarios: You have long-running, predictable workloads.
- Billing method change: You can change the billing method of an RDS instance from subscription to pay-as-you-go. For more information, see Change the billing method of an ApsaraDB RDS instance from subscription to pay-as-you-go.
- Specification changes: The price for a subscription RDS instance before and after a specification change may be different. You may need to pay the price difference or receive a refund. For more information, see Specification changes.
- Renewal: You need to renew an expired subscription RDS instance within a specific period of time if you want to continue using it. After this period of time, instance resources such as CPU cores, memory, and disks are released, and the data stored in the RDS instance is deleted. For more information, see Renewal policy.
Pay-as-you-go
- Definition: This billing method allows you to use resources before you pay for them. Fees are calculated and automatically deducted from the balance of your Alibaba Cloud account every hour. You can release pay-as-you-go RDS instances at any time.
- Scenarios: You have short-term workloads.
- Billing method change: You can change the billing method of an RDS instance from pay-as-you-go to subscription. For more information, see Change the billing method of an ApsaraDB RDS for MySQL instance from pay-as-you-go to subscription.
- Specification changes: Pay-as-you-go RDS instances are billed on an hourly basis. If you change the specifications of a pay-as-you-go RDS instance, you are billed based on the price of the new specifications. For more information, see Specification changes.
- If your Alibaba Cloud account has overdue payments, RDS instances that do not use the pay-as-you-go billing method and belong to your Alibaba Cloud account become overdue. For more information, see Overdue payments.
Serverless
- Definition: A serverless RDS instance is not billed based on instance types, but based on the actual amount of resources used each hour. Resources are measured in RDS Capacity Units (RCUs). For more information, see Overview, Overview of serverless ApsaraDB RDS for SQL Server instances, and Overview of serverless ApsaraDB RDS for PostgreSQL instances.
- Scenarios: You have intermittent or unpredictable workloads.
- Billing method change: You cannot change the billing method of a serverless RDS instance.
- Specification changes: The specifications of a serverless RDS instance cannot be manually changed. During the use of the instance, the system automatically scales the RCUs to suit your workloads.
- If your Alibaba Cloud account has overdue payments, RDS instances that do not use the pay-as-you-go billing method and belong to your Alibaba Cloud account become overdue. For more information, see Overdue payments.
Basic billable items
The basic fee of an RDS instance consists of the fee for computing resources and the fee for storage resources.
Billing of computing resources
Billable item | Definition | Billing method |
---|---|---|
Instance type | You are charged based on the instance type. The instance type determines the number of CPU cores and the size of memory that are provisioned. |
|
RCU | RCUs are the computing resources of serverless RDS instances. The performance of an RCU is equivalent to that of an RDS instance that runs RDS Basic Edition and has 2 GB of memory. | Serverless |
Billing of storage resources
Billable item | Definition | Billing method |
---|---|---|
Storage capacity | You are charged for the storage capacity that you purchase for the primary, secondary, read-only, and disaster recovery RDS instances in your database system. The price varies based on the storage type that you select. For more information, visit the ApsaraDB RDS buy page. |
|
Note
- In addition to the preceding billable items, ApsaraDB RDS also provides value-added options. For more information, see Billable items, billing methods, and pricing.
- Price inquiry: Go to the ApsaraDB RDS buy page. Configure the basic parameters, and then check the price and applied discounts in the lower-right corner of the page.
If you set the Billing Method parameter to Subscription, you must configure the Duration parameter. Longer subscription durations provide more savings.
Billing details
You can view the details of all the billable items of your RDS instances in User Center. For more information, see View your bills.