Serverless ApsaraDB RDS for PostgreSQL instances are billed hourly across two independent components: RDS Capacity Units (RCUs) and provisioned storage. Each component is billed separately.
The billable RCU size ranges from 0.5 to 14 RCU.
Billing formula
Total fee = (RCU fee per instance + Storage fee per instance) × Number of instances + Other feesOther fees are optional and include backup and Database Autonomy Service (DAS) fees, billed based on actual usage. For more information, see Billable items.
The number of instances varies by edition:
| Edition | Instances | Fee |
|---|---|---|
| RDS Basic Edition | 1 | Fee for one instance |
| RDS High-availability Edition | 2 | Fee for one instance × 2 |
Billable item | Region | Unit price |
RCU (RDS Capacity Unit) | China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), and China (Chengdu) | USD 0.0497/RCU-hour |
US (Silicon Valley) and US (Virginia) | USD 0.0672/RCU-hour | |
Philippines (Manila) and Thailand (Bangkok) | USD 0.0746/RCU-hour | |
Singapore, Malaysia (Kuala Lumpur), and UK (London) | USD 0.0796/RCU-hour | |
Indonesia (Jakarta) | USD 0.0821/RCU-hour | |
Germany (Frankfurt) | USD 0.0836/RCU-hour | |
China (Hong Kong) | USD 0.0867/RCU-hour | |
South Korea (Seoul) | USD 0.0895/RCU-hour | |
Japan (Tokyo) | USD 0.0995/RCU-hour | |
Storage fee | China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), and China (Chengdu) | USD 0.00024/GB-hour |
Philippines (Manila) and Thailand (Bangkok) | USD 0.00032/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/GB-hour |
Storage billing
Storage is charged based on total provisioned capacity, not actual usage. If you provision 100 GB but use less, the charge is still based on 100 GB.
When storage usage exceeds the provisioned capacity, the system automatically expands storage and charges based on the new capacity. Storage capacity is not reduced automatically after expansion. To reduce it, go to the instance details page and click Modify.
Unit prices
RCU pricing
| Region | Unit price |
|---|---|
| China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu) | USD 0.0497 per RCU-hour |
| US (Silicon Valley), US (Virginia) | USD 0.0672 per RCU-hour |
| Philippines (Manila), Thailand (Bangkok) | USD 0.0746 per RCU-hour |
| Singapore, Malaysia (Kuala Lumpur), 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 pricing
| Region | Unit price |
|---|---|
| China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu) | USD 0.00024 per GB-hour |
| Philippines (Manila), 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), US (Virginia) | USD 0.0004 per GB-hour |
Billing example
Scenario: An RDS Basic Edition instance in China (Hangzhou) with 100 GB provisioned storage and an RCU range of 1–8. Over one day, total storage consumed is 150 GB, with one peak hour at 8 RCUs and 23 off-peak hours at 1 RCU each.
| Component | Calculation | Fee |
|---|---|---|
| RCU | (0.0497 × 1 × 8) + (0.0497 × 23 × 1) | USD 1.5407 |
| Storage | 0.00024 × 24 × 150 | USD 0.864 |
| Total | USD 2.4047 |
The unit prices in this example are for reference only.
RCU fee:
(0.0497x1x8)+(0.0497x23x1)=1.5407USDStorage fee:
0.00024x24x150=0.864USD
Total cost: 1.5407+0.864=2.4047 USD
Fees by instance state
| Instance state | Computing resource fee | Storage capacity fee |
|---|---|---|
| Suspending | Charged | Charged |
| Suspended | Free of charge | Charged |
| Starting | Free of charge | Charged |
| Running | Charged | Charged |