Subscription is a prepaid billing method for E-MapReduce (EMR) Serverless StarRocks. It reserves dedicated resources for your instance and costs less per unit than pay-as-you-go for workloads with predictable, sustained usage.
When to use subscription
Choose subscription when your workload meets all of the following conditions:
Resource usage is predictable — you can estimate usage duration in advance.
Demand is stable — usage does not fluctuate significantly over time.
Resources are needed long-term — you plan to run the instance continuously.
For short-lived or variable workloads, pay-as-you-go is more cost-effective.
Billing rules
Subscription fees are calculated per billing component based on the reserved quantity and subscription duration.
| Billing component | Formula |
|---|---|
| Compute unit (CU) fees | Number of CUs × Unit price of CUs × Subscription duration |
| Enterprise SSD (ESSD) fees | ESSD capacity × Unit price of ESSD capacity × Subscription duration |
| Backend node (BE) fees | Unit price of BE specifications × Number of BEs × Subscription duration |
Get the actual prices on the buy page.
For a full list of billable items, see Billable items.
Billing cycle
The billing cycle is measured in the UTC+8 time zone. It starts at the second the subscription instance is created or renewed, and ends at 00:00:00 on the day after the expiration date.
Expiration and release
When a subscription instance expires, it is immediately suspended. If not renewed within 7 days (168 hours), the system automatically releases the instance. After the instance is released, you cannot renew it.
Renew the instance before it expires or is released to avoid service interruption. For renewal options, see Renewal policy.
Billing examples
The following examples show how to calculate subscription fees for different instance types. All examples use a 1-month subscription duration.
The unit prices in the examples are for illustration only. Get the actual prices on the buy page.
StarRocks shared-nothing instances (standard specifications)
Configuration: China (Hangzhou) region, standard edition, standard specifications for BEs. Each BE uses 8 CUs, with 3 BEs.
| Resource | Specification |
|---|---|
| Frontend node (FE) computing resources | 24 CUs |
| FE storage | ESSD PL1 (recommended), 300 GB |
| BE computing resources | 24 CUs |
| BE storage | ESSD PL1 (recommended), 300 GB |
Fee calculation:
| Billing component | Calculation | Fee (USD) |
|---|---|---|
| CU fees | (24 + 24) × 24.30 × 1 | 1,166.40 |
| ESSD fees | (300 + 300) × 0.1530 × 1 | 91.80 |
| Total | 1,258.20 |
Unit prices used in this example:
CUs: USD 24.30 per CU-month
ESSD capacity: USD 0.1530 per GB-month
StarRocks shared-nothing instances (high-performance storage specifications)
Configuration: China (Beijing) region, standard edition, high-performance storage specifications for BEs. Each BE has 16 cores and 64 GiB of memory + 1 × 1,788 GiB local SSD, with 3 BEs.
| Resource | Specification |
|---|---|
| FE computing resources | 24 CUs |
| FE storage | ESSD PL1 (recommended), 300 GB |
| BE computing resources | 48 cores and 192 GiB of memory |
| BE storage | Local SSDs, 5,364 GiB |
Fee calculation:
| Billing component | Calculation | Fee (USD) |
|---|---|---|
| CU fees (FE only) | 24 × 24.30 × 1 | 583.20 |
| ESSD fees (FE only) | 300 × 0.1530 × 1 | 45.90 |
| BE fees | 567.59 × 3 × 1 | 1,702.77 |
| Total | 2,331.87 |
Unit prices used in this example:
CUs: USD 24.30 per CU-month
ESSD capacity: USD 0.1530 per GB-month
BE specifications (16 cores, 64 GiB, 1 × 1,788 GiB local SSD): USD 576.59 per month
StarRocks shared-data instances
Configuration: China (Hangzhou) region, standard edition. Each compute node (CN) uses 8 CUs, with 3 CNs.
| Resource | Specification |
|---|---|
| FE computing resources | 24 CUs |
| FE storage | ESSD PL1 (recommended), 300 GB |
| CN computing resources | 24 CUs |
| CN storage | ESSD PL1 (recommended), 150 GB |
Fee calculation:
| Billing component | Calculation | Fee (USD) |
|---|---|---|
| CU fees | (24 + 24) × 24.30 × 1 | 1,166.40 |
| ESSD fees | (300 + 150) × 0.1530 × 1 | 68.85 |
| Total | 1,235.25 |
Unit prices used in this example:
CUs: USD 24.30 per CU-month
ESSD capacity: USD 0.1530 per GB-month
Data storage: USD 0.000036041667 per GB-hour
Data storage fees for shared-data instances are charged based on actual usage and are not included in the subscription fee. The total in this example reflects only CU and ESSD fees.
What's next
Before your subscription expires, renew it to avoid service interruption. See Renewal policy.