TDMQ for CKafka (CKafka) supports two storage modes: fixed storage and elastic storage. The scenarios and billing methods differ between the two storage modes. When purchasing an instance, you can choose either of the two storage modes.
|
Fixed storage | Full series | Different instance specifications correspond to different minimum storage capacity limits. | Yearly/Monthly subscription and postpaid by hour | Suitable for scenarios that require message persistence and have stable storage consumption. |
Elastic storage | Pro Edition | Storage is used on demand and charged under the pay-as-you-go mode with no theoretical upper limit on its capacity. | Pay-as-you-go | Suitable for scenarios where most messages are consumed and deleted immediately, and storage usage is either low or highly variable. For details, see Elastic Storage. |
Fixed Storage
Minimum Disk Capacity Required
When you purchase a CKafka instance, a minimum disk capacity is required. The minimum disk capacity varies depending on the selected bandwidth specification. The following table describes the specific mappings.
|
Advanced Edition | x = 20 | 200 |
| 40 ≤ x<120 | 500 |
| 120 ≤ x<320 | 1000 |
| 320 ≤ x≤ 360 | 3000 |
Pro Edition | x = 20 | 200 |
| 40 ≤ x<120 | 500 |
| 120 ≤ x<320 | 1000 |
| 320 ≤ x<800 | 3000 |
| 800 ≤ x<1000 | 5400 |
| 1000 ≤ x ≤ 1200 | 7500 |
| More than 1600 | 10000 |
Disk Pricing
For the fixed storage, disk capacity is scaled out in units of 100 GB. The disk prices are as follows:
|
Cloud SSD | 0.16 | 0.0003 |
Premium Disk | 0.06 | 0.0001 |
Note:
When creating a topic in CKafka, you can select three-replica storage or two-replica storage. The actual storage space is equal to the purchased disk space divided by the number of replicas.
For example, if you purchase a 300 GB disk, the actual storage space is 150 GB for two-replica storage, and 100 GB for three-replica storage.
Elastic Storage
Pricing
Elastic storage is billed based on the space size and duration of message storage.
Billing modes: postpaid by hour, with the measurement unit being USD/GB/hour.
Billing granularity: Tiered billing is based on the maximum disk capacity used within an hour. Usage of less than 1 hour is billed as 1 hour. The storage space must be multiplied by the number of replicas.
|
[1,1024] | 0.00018 |
(1024,5×1024] | 0.00012 |
(5×1024,10×1024] | 0.0001 |
Greater than 10 x 1024 | 0.00007 |
Billing Examples
|
Maximum storage space (GB) | 1000 | 1000 | 2000 | 2000 | 6000 |
In both hour 1 and hour 2, the maximum storage space falls within the [1,1024] billing range.
Hourly cost in hour 1 and hour 2: 0.00018 (USD/hour) x 1000 (GB) = USD 0.18
In hour 3 and hour 4, the maximum storage space is 2000 GB, partially falling within the (10245 x 1024] range.
Hourly cost in hour 3 and hour 4: 0.00018 (USD/hour) x 1024 (GB) + 0.00012 (USD/hour) x (2000 - 1024) (GB) = USD 0.30144
In hour 5, the maximum storage space is 6000 GB, spanning 3 billing ranges.
Cost in hour 5: 0.00018 (USD/hour) x 1024 (GB) + 0.00012 (USD/hour) x 4 x 1024 (GB) + 0.0001 (USD/hour) x (6000 - 1024 x 5) (GB) = USD 0.76384
Result: The total elastic storage cost in the 5 hours is: 0.18 + 0.18 + 0.3014 + 0.30144 + 0.76384 = 1.72664 ≈ USD 1.73.