Pay-as-you-go is a billing method that allows you to use resources before you pay for the resources. If you use the pay-as-you-go billing method, you are charged based on the amount of resources that you use. Bills are generated and fees are deducted from your account balance at the end of each billing cycle. You can use resources on-demand and do not need to purchase a large number of resources in advance.
Description
Item | Description |
Use scenarios | The pay-as-you-go billing method is suitable for the following scenarios:
|
Billing rules |
|
Billing cycle | Bills are generated on an hourly basis at the top of every hour (UTC+8). A new billing cycle starts after the bills are settled. |
Change of the billing method from pay-as-you-go to subscription | You can change the billing method of a pay-as-you-go StarRocks instance to subscription. For more information, see Change the billing method from pay-as-you-go to subscription. |
Billing information
You can obtain the actual price on the buy page.
For more information, see Billable items.
Billing examples
StarRocks shared-nothing instances (standard specifications)
The following table provides an example on how to calculate the total fees of a StarRocks shared-nothing instance. In this example, the instance resides in the China (Hangzhou) region and uses the standard specifications for BEs, the number of CUs used by each BE is 8, and the number of BEs is 3.
Sample resource configurations:
FE computing resources: 24 CUs, storage resources: ESSD PL1 (recommended) with 300 GB
BE computing resources: 24 CUs, storage resources: ESSD PL1 (recommended) with 300 GB
Billing component | Fee (USD) |
| Total fees = CU fees + ESSD fees = 2.429616 + 0.1914 = 2.621016
|
StarRocks shared-nothing instances (high-performance storage specifications)
The following table provides an example on how to calculate the total fees of a StarRocks shared-nothing instance. In this example, the instance resides in the China (Beijing) region and uses the high-performance storage specifications for BEs, the BE specifications are 16 cores, 64 GiB of memory, and a local SSD with 1,788 GiB, and the number of BEs is 3.
Sample resource configurations:
FE computing resources: 24 CUs, storage resources: ESSD PL1 (recommended) with 300 GB
BE computing resources: 48 cores and 192 GiB of memory, storage resources: local SSDs with 5,364 GiB
Billing component | Fee (USD) |
| Total fees = CU fees + ESSD fees + BE fees = 1.214808 + 0.0957 + 3.54 = 4.850508
|
StarRocks shared-data instances
The following table provides an example on how to calculate the total fees of a StarRocks shared-data instance. In this example, the instance resides in the China (Hangzhou) region and is of the standard edition, the number of CUs used by each compute node (CN) is 8, and the number of CNs is 3.
Sample resource configurations:
FE computing resources: 24 CUs, storage resources: ESSD PL1 (recommended) with 300 GB
CN computing resources: 24 CUs, storage resources: ESSD PL1 (recommended) with 150 GB
Billing component | Fee (USD) |
| Total fees = CU fees + ESSD fees = 2.429616 + 0.14355 = 2.573166
Important The fees for data storage vary based on the actual usage. |
References
If you want to use a pay-as-you-go instance for a long period of time, you can change the billing method of the instance from pay-as-you-go to subscription and specify the subscription period based on your needs to reduce costs. For more information, see Change the billing method from pay-as-you-go to subscription.