All Products
Search
Document Center

ApsaraDB RDS:Pricing of serverless ApsaraDB RDS for PostgreSQL instances

Last Updated:Nov 14, 2024

This topic describes the billing rules, billable items, and billing examples of serverless ApsaraDB RDS for PostgreSQL instances.

Billing rules

Rules

The fee for a serverless RDS instance consists of the fees that are generated for RDS Capacity Units (RCUs) and storage resources. The billable RCU size ranges from 0.5 to 14. The system separately issues bills for the RCUs and storage resources that are used by the serverless RDS instance on an hourly basis.

Important
  • You are charged for the total storage capacity of your serverless RDS instance. For example, if you select 100 GB of storage capacity when you create a serverless RDS instance, you are charged based on 100 GB even if you use less than 100 GB of storage. If the storage usage exceeds 100 GB, the system automatically expands the storage capacity of the serverless RDS instance, and you are charged based on the new storage capacity after the expansion.

  • After the storage capacity of a serverless RDS instance is automatically expanded, the system does not automatically reduce storage capacity when your storage requirements are reduced. This helps ensure data integrity. You can go to the details page of your serverless RDS instance and click Modify to manually reduce the storage capacity.

Cost composition

Serverless RDS instance fees = {(RCU fee for an instance + Storage resource fee for an instance) × Number of RDS instances in your database system} + Other fees

Note

Other fees are optional and include fees for backup and Database Autonomy Service (DAS). You are charged based on your actual usage. For more information, see Billable items.

The following table lists the fees for serverless RDS instances that run RDS Basic Edition and RDS High-availability Edition.

RDS edition

Number of RDS instances

Fee

RDS Basic Edition

1

Fee for an RDS instance

RDS High-availability Edition

2

Fee for an RDS instance × 2

Unit price per instance

Billable item

Region

Unit price

RCU

China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), and China (Chengdu)

USD 0.0497 per RCU-hour

US (Silicon Valley) and US (Virginia)

USD 0.0672 per RCU-hour

Philippines (Manila) and Thailand (Bangkok)

USD 0.0746 per RCU-hour

Singapore, Malaysia (Kuala Lumpur), and UK (London)

USD 0.0796 per RCU-hour

Indonesia (Jakarta)

USD 0.0821 per RCU-hour

Germany (Frankfurt)

USD 0.0836 per RCU-hour

China (Hong Kong)

USD 0.0867 per RCU-hour

Korea (Seoul)

USD 0.0895 per RCU-hour

Japan (Tokyo)

USD 0.0995 per RCU-hour

Storage capacity

China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), and China (Chengdu)

USD 0.00024 per GB-hour

Philippines (Manila) and Thailand (Bangkok)

USD 0.00032 per GB-hour

China (Hong Kong), Japan (Tokyo), South Korea (Seoul), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Germany (Frankfurt), UK (London), US (Silicon Valley), and US (Virginia)

USD 0.0004 per GB-hour

Examples

You purchased a serverless RDS instance that runs RDS Basic Edition and has a storage capacity of 100 GB and an RCU range of 1 to 8 in the China (Hangzhou) region. Assume that during the course of a day, you consume a total of 150 GB of storage and experience a 1-hour peak in which 8 RCUs are consumed, while 1 RCU is consumed per hour in the other 23 hours. The unit price of an RCU is USD 0.0497 per RCU-hour, and the unit price of storage is USD 0.00024 per GB-hour. The fees for the serverless RDS instance in the day are calculated by using the following formulas:

  • RCU fees: (0.0497 x 1 x 8) + (0.0497 x 23 x 1) = USD 1.5407

  • Storage resource fees: 0.00024 × 24 × 150 = USD 0.864

Serverless RDS instance fees: USD 1.5407 + USD 0.864 = USD 2.4047

Important

The unit prices used in the example are for reference only.

Fees for a serverless RDS instance in different states

Instance state

Computing resource fee

Storage capacity fee

Suspending

Charged

Charged

Suspended

Free of charge

Charged

Starting

Free of charge

Charged

Running

Charged

Charged