Billable items and pricing

Updated at:

ApsaraDB for SelectDB charges for three independent resources: compute, cache, and storage. Compute and cache support subscription and pay-as-you-go billing. Storage is always pay-as-you-go.

Both inbound and outbound Internet traffic are free of charge when you connect to an instance through a public endpoint. For more information, see Request and release a public endpoint.

Billable items

Billable item

Billing method

Billing formula

Compute resources

Subscription, Pay-as-you-go

Unit price × Number of CCUs × Duration

FE nodes

Subscription, Pay-as-you-go

FeSize × CU unit price × Duration, where FeSize = FE node specification (CU) × Number of FE nodes

Each instance includes one free 4-Core (4 CU) FE node. Anything beyond that is billed at the full FeSize. For details, see the FE nodes section in this topic.

Cache

Subscription, Pay-as-you-go

Unit price × Cache size (GB) × Duration

Storage resources

Pay-as-you-go only

Unit price × Storage size (GB) × Duration

Compute resources

A Compute Capacity Unit (CCU) is the billing unit for compute resources. One CCU equals 1 vCPU and 4 GB of memory. Instance performance scales linearly with the number of CCUs. The compute resource specification must be an integer multiple of 1 CCU.

Pricing by region

Region

Pay-as-you-go unit price (CNY/CCU/hour)

Subscription unit price (CNY/CCU/month)

China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Shenzhen), China (Guangzhou)

0.335

160.725

China (Hohhot), China (Ulanqab), China (Heyuan), China (Chengdu)

0.302

144.653

China (Zhangjiakou)

0.234

112.508

China (Hong Kong)

0.531

280.733

Singapore, Indonesia (Jakarta)

0.483

257.595

Malaysia (Kuala Lumpur), Thailand (Bangkok)

0.459

244.716

Philippines (Manila)

0.435

231.836

Japan (Tokyo)

0.501

284.041

South Korea (Seoul)

0.376

244.716

US (Silicon Valley), US (Virginia)

0.388

201.475

UK (London)

0.447

257.595

Germany (Frankfurt)

0.465

270.795

Mexico

0.37399

179.43

Brazil (Sao Paulo)

0.4503

216.029

UAE (Dubai)

0.43885

210.54975

Malaysia (Johor)

0.4528

217.262

FE nodes

FE (Frontend) nodes are billed based on CU (Compute Unit) usage. The CU unit price is the same as compute resources (CCU) in the same region, where 1 CU = 1 vCPU and 4 GB memory. For unit prices, see the Compute resources section in this topic.

Free quota

Each instance includes one free 4-Core (4 CU) FE node. The rules are as follows:

  • Free scenario: When an instance is configured with only 1 FE node and the node specification is 4-Core (4 CU), the node is free and no FE fee is incurred.

  • Billed scenario: When the FE node specification is higher than 4-Core, or the number of FE nodes is greater than 1, the free quota no longer applies and the full FeSize (node specification × number of nodes) is billed.

Note

The free quota applies only to FE nodes, not to compute resources (CCU), cache, or storage resources. FE node billing applies to both new instances and reconfiguration of existing instances. To change the FE configuration of an instance, see Adjust the FE configuration.

FE node billing examples

Take subscription instances in the China (Hangzhou) region as an example (FE subscription unit price: CNY 160.725/CU/month):

  • Free scenario: An instance is configured with 1 FE node of 4-Core. FeSize = 4 CU × 1 = 4 CU. It meets the free condition, so the monthly FE fee is CNY 0.

  • Billed scenario: An instance is configured with 3 FE nodes of 4-Core. The number of nodes is greater than 1, so the free quota does not apply. FeSize = 4 CU × 3 = 12 CU, and the monthly FE fee is 12 CU × CNY 160.725/CU/month = CNY 1,928.70.

Cache

The cache stores hot data to accelerate read and write operations. Available cache sizes depend on the selected compute resource specification.

Pricing by region

Region

Pay-as-you-go unit price (CNY/GB/hour)

Subscription unit price (CNY/GB/month)

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

0.0021

1.00

China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok), US (Silicon Valley), US (Virginia)

0.0033

1.52

Japan (Tokyo)

0.00375

1.80

South Korea (Seoul)

0.0031

1.44

UK (London), Germany (Frankfurt)

0.0036

1.62

Mexico

0.002066

0.984

Brazil (Sao Paulo)

0.002478

1.18

UAE (Dubai)

0.00378

1.80

Malaysia (Johor)

0.002163

1.03

Storage resources

Storage resources hold your full dataset. Billing is pay-as-you-go, charged hourly based on actual usage.

Tip: A storage plan can reduce storage costs by approximately 45%. If your storage usage is predictable, purchase a storage plan to offset pay-as-you-go charges.

Pricing by region and deployment architecture

Region

Instance deployment architecture

Pay-as-you-go unit price (CNY/GB/hour)

China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok), Japan (Tokyo), South Korea (Seoul), US (Silicon Valley), US (Virginia), UK (London), Germany (Frankfurt)

Single-zone (locally redundant storage)

0.0003

Multi-zone (zone-redundant storage)

0.000375

Mexico

Single-zone (locally redundant storage)

0.00034

Brazil (Sao Paulo)

Single-zone (locally redundant storage)

0.000408

Multi-zone (zone-redundant storage)

0.00051

UAE (Dubai)

Single-zone (locally redundant storage)

0.000363

Multi-zone (zone-redundant storage)

0.00045375

Malaysia (Johor)

Single-zone (locally redundant storage)

0.00034

Multi-zone (zone-redundant storage)

0.000425

Billing examples

  • Subscription

    Assume that you purchase a subscription instance in the China (Hangzhou) region with 4 vCPUs and 16 GB of memory (4 CCUs) and 200 GB of cache. The subscription duration is one month. During this month, assume the instance stores a steady 500 GB of data. The total fee for the instance for one month is CNY 950.90. The cost breakdown is as follows:

    • Compute resource fee: CNY 160.725/CCU/month × 4 CCUs × 1 month = CNY 642.90.

    • Cache fee: CNY 1.00/GB/month × 200 GB × 1 month = CNY 200.00.

    • Storage resource fee: CNY 0.0003/GB/hour × 500 GB × 30 days × 24 hours = CNY 108.00.

  • Pay-as-you-go

    Assume that you purchase a pay-as-you-go instance in the China (Hangzhou) region with 4 vCPUs and 16 GB of memory (4 CCUs) and 200 GB of cache. You use the instance for one hour. During this hour, assume the instance stores a steady 500 GB of data. The total fee for the instance for one hour is CNY 1.91. The cost breakdown is as follows:

    • Compute resource fee: CNY 0.335/CCU/hour × 4 CCUs × 1 hour = CNY 1.34.

    • Cache fee: CNY 0.0021/GB/hour × 200 GB × 1 hour = CNY 0.42.

    • Storage resource fee: CNY 0.0003/GB/hour × 500 GB × 1 hour = CNY 0.15.