Pay-as-you-go is a billing mode where billing is based on the actual usage of the resource specifications you purchase. This method is suited for test scenarios or short-term use situations where the traffic peak is uncertain. You can use the resources first and pay later, with costs settled on an hourly basis.
Currently, only CKafka Pro Edition instances support the pay-as-you-go billing mode. This section mainly discusses the billable items, fee calculation, and pricing for CKafka Pro Edition instances under the pay-as-you-go billing mode.
Billable Items
|
Peak bandwidth | Throughput refers to the peak inbound and outbound bandwidth. A 40 MB throughput refers to a peak bandwidth of 40 MB in both inbound and outbound directions. If the number of instance replicas is considered, the throughput needs to be evenly divided. For example, if the client requires a 40 MB throughput and 3 replicas, a throughput bandwidth of 120 MB/s needs to be procured. |
Disk capacity | Different instance specifications correspond to varying disk capacities. CKafka supports Solid State Drives (SSD) CBS and Pro Edition supports both SSD CBS and Premium cloud disk. |
Partition | Different instance specifications have different numbers of partitions. Users of Pro Edition can purchase additional partitions separately. For Pro Edition, topics are not charged, and the maximum number of usable topics equals the number of partitions divided by the number of copies. Decreasing the number of partitions is not supported. The instance-level partition limit includes the number of replicas. For example: If an instance has 1 topic with 2 replicas and 4 partitions, and 2 topics each with 3 replicas and 3 partitions, then the total number of partitions for that instance is calculated as follows: (1 × 2 × 4) + (2 × 3 × 3) = 26 |
Public network bandwidth | CKafka provides 3 MB/s of public network bandwidth free of charge by default. For Pro Edition instances, public network bandwidth can be upgraded up to 198 MB/s. |
Fee Calculation
CKafka is sold by instance, and the fee calculation in the pay-as-you-go billing mode is as follows:
If you purchase Pro Edition instances, you will need to estimate the peak bandwidth, number of partitions, and disk capacity required for your business. Total cost of the Pro Edition instances you purchase = (Base package costs + Unit price of partition package × Number of additional partitions/100 + Unit price of disk capacity × Disk capacity/100) × Hours
Note:
When you create topics in CKafka, you can choose either 3-replica storage or 2-replica storage. The actual business storage is the purchased disk space divided by the number of replicas. For example, if a 300 GB disk is purchased, the actual business storage is 150 GB for 2-replica storage and 100 GB for 3-replica storage.
Instance Price
Pro Edition
CKafka Pro Edition provides a more flexible parameter selection approach and a more stable upgrade capability. You can purchase and scale instances according to your specific business needs.
Basic Package
After you select the peak bandwidth value for an instance, it will be automatically matched with a corresponding basic package. The basic package in each tier includes a certain number of partitions, and topics are not billed separately. The number of available topics in the package is equal to the number of partitions/the number of replicas.
The tiers of peak bandwidth (x) are as follows:
|
x = 20 | 400 |
40 ≤ x<60 | 800 |
60 ≤ x<120 | 900 |
120 ≤ x<180 | 1,200 |
180 ≤ x<240 | 1,400 |
240 ≤ x<320 | 1,600 |
320 ≤ x<400 | 1,800 |
400 ≤ x<500 | 2,000 |
500 ≤ x<600 | 2,200 |
600 ≤ x<800 | 2,400 |
800 ≤ x<1,000 | 2,600 |
1,000 ≤ x<1,200 | 2,800 |
x = 1,200 | 3,200 |
x = 1,600 | 4,000 |
x = 2,000 | 4,500 |
x = 2,400 | 5,000 |
x = 2,800 | 5,500 |
x ≥ 3,200 | 6,000 |
Note:
The fees for the partitions in a package are already included in the package fees, so they will not incur additional fees.
If you need CKafka instances with higher specifications, please contact your Tencent Cloud rep or go to Online Consultant for assistance. The price of the basic peak bandwidth package varies by tier, as detailed below:
|
20 |
0.26USD/h |
40–100 | Starting at 0.42 USD/hour and 0.063 USD/hour for each extra 20 MB/s |
120–300 | Starting at 0.71 USD/hour and 0.062 USD/hour for each extra 20 MB/s |
320–600 | Starting at 1.29 USD/hour and 0.059 USD/hour for each extra 20 MB/s |
620–900 | Starting at 2.45 USD/hour and 0.052 USD/hour for each extra 20 MB/s |
920–1,200 | Starting at 3.23 USD/hour and 0.041 USD/hour for each extra 20 MB/s |
1,600–20,000 | Starting at 4.3 USD/hour and 1.02 USD/hour for each extra 400 MB/s |
Example: A 180 MB/s instance falls into the tier with 60 MB/s added to the base rate of 120 MB/s, so the price of this package is 0.71 + 0.062 × (60/20) = 0.896 USD/hour.
Partition package pricing
After you select the peak bandwidth value, if the number of partitions in the corresponding basic package cannot meet your needs, you can purchase additional partition packages separately. The number of partitions can be increased in increments of 100, as priced below:
|
Any tier | 100 | 0.043 USD/hour |
Disk expansion pricing
To purchase a CKafka Pro Edition instance, you need to purchase a disk of a certain minimum size. The disk capacity can be expanded in increments of 100 GB, as priced below:
|
Any tier | SSD CBS | 100 | 0.034 USD/hour |
Any tier | Premium cloud disk | 100 | 0.012 USD/hour |
Public Network Traffic Pricing
Public network pricing in the pay-as-you-go billing mode is as follows:
The first 3 MB/s is free of charge. Any usage beyond that is billed at a rate of 0.034 USD/MB/s per hour.
Example: Assume you've purchased a public bandwidth of 9 MB/s. The actual cost is calculated as follows: (9 - 3) MB/s × 0.034 USD/MB/s per hour = 0.2 USD/hour
Settlement Details
After you purchase pay-as-you-go instances, the system allocates the corresponding resources to you. You will be billed on an hourly basis irrespective of whether you actually use the instances and their related resources.
Fees for pay-as-you-go instances are calculated on an hourly basis, with any usage less than an hour rounded up to one hour.
The fees are automatically deducted on a monthly basis from the account balance. That is, at the beginning of a new month, services used in the previous month are measured and corresponding charges are deducted from your account.
문제 해결에 도움이 되었나요?