tencent cloud


Purchasing pay-as-you-go instances

Last updated: 2024-01-09 14:43:36
    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.
    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
    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:
    Peak Bandwidth Tier (MB/s)
    Number of Partitions in the Package
    x = 20
    40 ≤ x<60
    60 ≤ x<120
    120 ≤ x<180
    180 ≤ x<240
    240 ≤ x<320
    320 ≤ x<400
    400 ≤ x<500
    500 ≤ x<600
    600 ≤ x<800
    800 ≤ x<1,000
    1,000 ≤ x<1,200
    x = 1,200
    x = 1,600
    x = 2,000
    x = 2,400
    x = 2,800
    x ≥ 3,200
    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:
    Peak Bandwidth Range (MB/s)
    Price (Pay-as-You-Go)
    Starting at 0.42 USD/hour and 0.063 USD/hour for each extra 20 MB/s
    Starting at 0.71 USD/hour and 0.062 USD/hour for each extra 20 MB/s
    Starting at 1.29 USD/hour and 0.059 USD/hour for each extra 20 MB/s
    Starting at 2.45 USD/hour and 0.052 USD/hour for each extra 20 MB/s
    Starting at 3.23 USD/hour and 0.041 USD/hour for each extra 20 MB/s
    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:
    Unit Partition Quantity
    Partition Package Price (Pay-as-You-Go)
    Any tier
    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:
    Disk Type
    Disk Capacity (GB)
    Disk Price (Pay-as-You-Go)
    Any tier
    0.034 USD/hour
    Any tier
    Premium cloud disk
    0.012 USD/hour
    For CBS types, see CBS Types.

    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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support