This article provides billing information for Serverless Flink hybrid elastic resource pools, including billing methods, subscription durations, billing cycles, and billable items.
You can create Flink resource pools with the hybrid elastic billing method using general resources. Hybrid elasticity includes a fixed part and an elastic part:
When creating a hybrid elastic resource pool, you can choose from multiple subscription durations based on your business needs.
The billing cycle for a hybrid elastic resource pool is based on your purchased subscription duration (in UTC+8). A billing cycle starts when the resource is created (down to the second) and ends at 23:59:59 on the expiration date.
For example, if you create a resource pool with a 1-month subscription at 14:00:00 on August 4, 2023, the billing cycle is from 14:00:00 on August 4, 2023 to 23:59:59 on September 4, 2023.
The basic unit of computing resources for Serverless Flink is the Compute Unit (CU), where 1 CU = 1 CPU core + 4 GiB of memory.
Currently, the billable items for a hybrid elastic resource pool are as follows:
Pricing for the fixed portion:
Region | Resource Type | Billing Method | Billing Cycle | Billing Duration | Unit Price |
|---|---|---|---|---|---|
North China 2 (Beijing) | Fixed part | Subscription | Month | Actual purchase duration | 180 (Yuan/CU/month) |
North China 2 (Beijing) Autonomous Driving Cloud | Fixed part | Subscription | Month | Actual subscription duration | 180 (RMB/CU/Month) |
East China 2 (Shanghai) | Fixed component | Subscription | Month | Actual subscription duration | 180 (RMB/CU/Month) |
East China 2 (Shanghai) Autonomous Driving Cloud 1 | Fixed component | Subscription | Month | Actual purchase duration | 180 (CNY/CU/month) |
South China 1 (Guangzhou) | Fixed part | Subscription | Month | Actual purchase duration | 180 (CNY/CU/month) |
Asia Pacific Southeast (Johor) | Fixed part | Subscription | Month | Actual purchase duration | 280 (Yuan/CU/month) |
The flexible part is billed hourly. The number of CUs is calculated using the formula MAX(CPU, Memory Usage/4 GB):
Sales region | Resource type | Billing method | Billing cycle | Billing duration | Unit price |
|---|---|---|---|---|---|
North China 2 (Beijing) | Elastic portion | Pay-as-you-go | Hour | Actual resource usage | 0.38 (CNY/CU/hour) |
North China 2 (Beijing) Autonomous Driving Cloud | Elastic portion | Pay-as-you-go | Hour | Actual resource usage | 0.38 (Yuan/CU/hour) |
East China 2 (Shanghai) | Elastic portion | Pay-as-you-go | Hour | Actual resource usage | 0.38 (Yuan/CU/hour) |
East China 2 (Shanghai) Autonomous Driving Cloud 1 | Elastic part | Pay-as-you-go | Hour | Actual number of resources used | 0.38 (CNY/CU/Hour) |
South China 1 (Guangzhou) | Elastic part | Pay-as-you-go | Hour | Actual amount of resources used | 0.38 (CNY/CU/hour) |
Asia Pacific Southeast (Johor) | Elastic Part | Pay-as-you-go | Hour | Actual amount of resources used | 0.52 (CNY/CU/hour) |
Let's consider a common hybrid elastic scenario. Assume a customer purchases a 100C/400GB fixed part and uses an additional 100C/400GB. Depending on the usage scenario, see the billing reference below:
Scenario | Usage description | Fixed Resource Usage | Elastic Resource Usage | Fixed Fee (CNY/Month) | Elastic Fee (CNY) | Total Fee (CNY) |
|---|---|---|---|---|---|---|
Scenario 1: Fixed resources only | The core job workload is stable, and CPU usage does not fill the fixed resource pool, so elastic scaling is not triggered. Only fixed resources are used. | 100 CU (Subscription) | 0 CU (Not used) | 18000 | 0 | 18000 |
Scenario 2: Partial auto-scaling | Business growth in one week triggers auto-scaling, using 50 CU of elastic resources for 3 hours each day. | 100 CU (Subscription) | 50 CU × 90 hours | 18000 | 50×0.38×90=1710 | 19,710 |
Scenario 3: Full auto-scaling during peak hours | All 100 CUs of elastic resources were used for 48 hours (2 days) during a major sales promotion. | 100 CUs (Subscription) | 100 CUs × 48 hours | 18000 | 100×0.38×48=1824 | 19824 |
Scenario 4: memory resources exceed the limit | The customer's memory usage increased, requiring a 1:8 task configuration with 80 CPUs and 640 GB of memory. | 100 CUs (Subscription) | Excess memory usage | 18000 | 60×0.38×24×30 = 16416.0 | 34416 |
Scenario 5: CPU resource limit exceeded | To handle increased CPU usage, the customer uses a 1:2 task configuration with 200 CPUs and 400 GB of memory. | 100 CU (Subscription) | CPU usage exceeds the standard. | 18000 | 100×0.38×24×30 = 27360.0 | 45360.0 |
Scenario 6: both CPU and memory resources exceed the limit | The customer overused resources, using 150 CPU and 640 GB of memory. | 100 CU (Subscription) | Both limits are exceeded; take the maximum CU value aligned with either CPU or memory. | 18000 | 60×0.38×24 = 16416.0 | 34416 |
tip
This example is for reference only. All prices and discounts are subject to what is displayed in the console.
In a hybrid elastic scenario, deleting a resource pool is equivalent to unsubscribing. The refund for the fixed part will be credited to your account balance. Charges for the flexible part will not be refunded.
When you no longer need a resource pool, you can delete it at any time. Click the Delete button next to the resource pool and confirm the action to unsubscribe.
Refund Amount = Actual Amount Paid for the Fixed Part - Monthly Unit Price of the Fixed Part at Purchase × [Days Used ÷ (365 ÷ 12)] × Applicable Discount
Hybrid elastic resource pools combine fixed (pre-paid) and flexible (post-paid) billing methods. To ensure fair and stable resource usage, the platform automatically manages resources according to the following policies when a resource pool expires or an account has an outstanding balance, prioritizing the fixed part. Pay attention to your billing cycle and renew on time to avoid task interruptions.
When an outstanding balance on your account prevents payment of post-paid bills, the platform disables the use of elastic resources and prioritizes the normal operation of fixed resources. This is handled in two specific scenarios:
Regularly check your resource pool's billing status to ensure timely renewals for fixed resources and a sufficient account balance for elastic resources. You can renew your resources in the following ways:
For renewal instructions, see Resource Pool Renewal.