Subscription is a billing method in which you pay for ApsaraMQ for Kafka resources before you use them. It is suitable for stable business scenarios: you pay for one month, several months, or several years in a single payment, and the system allocates the resources to you after the payment is complete.
Billable items
In subscription mode, the billable items of an ApsaraMQ for Kafka instance are as follows:
Billing item | Description |
Internet traffic (optional) | Internet traffic is billed in two directions: inbound and outbound. Inbound and outbound traffic are billed separately. Purchase bandwidth based on the peak read or write traffic value, whichever is higher. This billing item applies only to instances that are deployed in a VPC and accessed over the Internet. |
Traffic specification (required) | A traffic specification represents the computing and processing capacity of a cluster, measured by network interface controller (NIC) traffic. NIC traffic = business traffic + intra-cluster replica replication traffic. Business traffic refers to the traffic generated by actual message production and consumption. Replica replication traffic refers to the traffic generated when the ApsaraMQ for Kafka cluster stores data in three replicas. Business traffic is measured in two directions: inbound and outbound. The High-write Edition has a read/write ratio of 1:1, and the High-read Edition has a read/write ratio of 5:1. Purchase a specification based on the higher of the peak read traffic or peak write traffic. To ensure business stability, we recommend that you purchase approximately 30% more capacity than the actual peak traffic as a buffer. |
Disk capacity (required) | Disk type and unit price vary by instance edition.The minimum disk capacity varies by traffic specification for performance and storage considerations. ApsaraMQ for Kafka supports ultra disks and SSDs (recommended).
Important Additional disk capacity applies only to topics that use the cloud storage engine. For more information, see Comparison between storage engines. |
Number of partitions (required) |
Note Instances can no longer be purchased by topic specification. Existing instances that were purchased by topic specification will be converted to partition-based billing at an equivalent price. |
The unit price of each billable item is listed in the corresponding subsection of Billing details.
The total fee is the sum of all applicable billing items. You can configure the maximum message retention period to save disk space.
API calls are not billed.
Billing formulas
In subscription mode, you purchase an ApsaraMQ for Kafka instance by selecting configuration items such as traffic specifications and disk capacity, and billing starts at that point. Billable items and the resulting fees vary by instance type.
Internet- and VPC-connected instances
An Internet- and VPC-connected instance can be accessed over both the Internet and a virtual private cloud (VPC). The total fee is calculated as follows:
Total fee = (Unit price of Internet traffic + Unit price of traffic specifications + Unit price of disk capacity × Purchased disk capacity/100 + Unit price of partitions × Number of purchased partitions) × Number of months
VPC-connected instances
A VPC-connected instance can be accessed only over a VPC. The total fee is calculated as follows:
Total fee = (Unit price of traffic specifications + Unit price of disk capacity × Purchased disk capacity/100 + Unit price of partitions × Number of purchased partitions) × Number of months
Variables in the formulas
Unit price of Internet traffic — The monthly price of the Internet bandwidth of the instance. Take the value from Internet traffic billing.
Unit price of traffic specifications — The monthly price of the traffic specification of the instance. Take the value from Traffic specification billing.
Unit price of disk capacity — The monthly price of 100 GB of disk capacity. Take the value from Disk capacity billing. Because the price is quoted per 100 GB, the purchased capacity is divided by 100 in the formulas.
Purchased disk capacity — The disk capacity in GB that you purchase in addition to the capacity that is included in your traffic specification.
Unit price of partitions — The monthly price of one additional partition. Take the value from Partition billing.
Number of purchased partitions — The number of partitions that you purchase in addition to the partitions that are included in your traffic specification.
Number of months — The subscription duration in months.
Instances that are purchased based on topic specifications
If your instance is purchased based on topic specifications, replace the partition terms in the preceding formulas with topic terms:
Internet- and VPC-connected instance: Total fee = (Unit price of Internet traffic + Unit price of traffic specifications + Unit price of disk capacity × Purchased disk capacity/100 + Unit price of topics × Number of added topics) × Number of months
VPC-connected instance: Total fee = (Unit price of traffic specifications + Unit price of disk capacity × Purchased disk capacity/100 + Unit price of topics × Number of added topics) × Number of months
Number of added topics is the number of topics that you add in addition to the topics that are included in your traffic specification.
For an existing instance that is purchased based on topic specifications, see What are the pre-included numbers of topics and partitions for an instance that is purchased based on topic specifications?.
Estimate verification
After you calculate an estimate, confirm the unit prices on the buy page in the console, and then compare the estimate with the actual charges in your consumption details.
If region or pricing information in this topic differs from the buy page in the console, the buy page prevails.
Billing details
The following subsections list the unit price of each billable item of an ApsaraMQ for Kafka instance. Unit prices differ by region or region group. Take each value from the column that matches your region.
Region groups
Traffic specification, disk capacity, and partition unit prices differ by region group. The following table lists the regions in each region group.
Region type | Region name |
Region Group 1 | China (Hangzhou) |
Region Group 1 | China (Shanghai) |
Region Group 1 | China (Qingdao) |
Region Group 1 | China (Beijing) |
Region Group 1 | China (Zhangjiakou) |
Region Group 1 | China (Hohhot) |
Region Group 1 | China (Ulanqab) |
Region Group 1 | China (Shenzhen) |
Region Group 1 | China (Heyuan) |
Region Group 1 | China (Guangzhou) |
Region Group 1 | China (Chengdu) |
Region Group 1 | China (Fuzhou-Local Region-Decommissioning) |
Region Group 2 | China (Hong Kong) |
Region Group 2 | Singapore |
Region Group 2 | Japan (Tokyo) |
Region Group 2 | South Korea (Seoul) |
Region Group 2 | US (Virginia) |
Region Group 2 | US (Silicon Valley) |
Region Group 2 | Germany (Frankfurt) |
Region Group 2 | UK (London) |
Region Group 3 | Malaysia (Kuala Lumpur) |
Region Group 3 | Indonesia (Jakarta) |
Region Group 3 | Philippines (Manila) |
Region Group 3 | Thailand (Bangkok) |
SAU (Riyadh - Partner Region) does not belong to a region group. Unit prices for this region are listed in a dedicated column in the pricing tables of this topic.
Internet traffic billing
Internet traffic of an ApsaraMQ for Kafka instance is billed based on bandwidth, and unit prices differ by region. Settlement amounts are rounded to three decimal places. The unit price of Internet traffic is essentially the same as the unit price of Elastic IP Address (EIP) traffic.
Region | 1 Mbps (USD/month) | 2 Mbps (USD/month) | 3 Mbps (USD/month) | 4 Mbps (USD/month) | 5 Mbps (USD/month) | 6 Mbps or more (USD/month), where n is the bandwidth value |
China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Fuzhou-Local Region-Decommissioning), China (Chengdu), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok) | 3.6 | 7.2 | 11.1 | 15 | 19.6 | 19.6 + (n - 5) × 12.5 |
China (Qingdao) | 3.3 | 6.5 | 10 | 13.5 | 17.6 | 17.6 + (n - 5) × 11.3 |
Singapore, Germany (Frankfurt), Malaysia (Kuala Lumpur), US (Silicon Valley), US (Virginia), UK (London) | 3.6 | 7.2 | 10.8 | 14.4 | 18 | 18 + (n - 5) × 12.5 |
China (Hong Kong) | 4.7 | 9.4 | 14.1 | 18.8 | 23.5 | 23.5 + (n - 5) × 15.7 |
Japan (Tokyo), South Korea (Seoul) | 4 | 7.9 | 11.8 | 15.7 | 19.6 | 19.6 + (n - 5) × 13.2 |
SAU (Riyadh - Partner Region) | 4.32 | 8.64 | 12.96 | 17.28 | 21.6 | 21.6 + (n - 5) × 15 |
Traffic specification billing
Traffic specification fees of an ApsaraMQ for Kafka instance depend on the instance edition, the traffic specification, and the region group. Each edition supports a different set of traffic specifications, and each traffic specification defines the peak traffic for the computing capacity of the cluster and the number of pre-included partitions. Take the unit price from the table of your edition and from the column of your region group.
For more information about instance editions and specifications, see Specifications.
Not every traffic specification is offered in every region. A value of Not available in a unit price column indicates that the traffic specification is not offered in that region.
Standard Edition (High-write)
Traffic specifications | Peak NIC read traffic (MB/s) | Peak NIC write traffic (MB/s) | Number of pre-included partitions | Region Group 1 unit price (USD/month) | Region Group 2 unit price (USD/month) | Region Group 3 unit price (USD/month) | SAU (Riyadh - Partner Region) (USD/month) |
alikafka.hw.2xlarge | 3 × 20 | 3 × 20 | 1000 | 250 | 370 | 340 | 444 |
alikafka.hw.3xlarge | 3 × 30 | 3 × 30 | 1000 | 360 | 530 | 480 | 636 |
alikafka.hw.6xlarge | 3 × 60 | 3 × 60 | 1000 | 520 | 760 | 700 | 912 |
alikafka.hw.9xlarge | 3 × 90 | 3 × 90 | 1000 | 660 | 960 | 880 | 1152 |
alikafka.hw.12xlarge | 3 × 120 | 3 × 120 | 1000 | 800 | 1160 | 1070 | 1392 |
Professional Edition (High-write)
Traffic specifications | Peak NIC read traffic (MB/s) | Peak NIC write traffic (MB/s) | Number of pre-included partitions | Region Group 1 unit price (USD/month) | Region Group 2 unit price (USD/month) | Region Group 3 unit price (USD/month) | SAU (Riyadh - Partner Region) (USD/month) |
alikafka.hw.2xlarge | 3 × 20 | 3 × 20 | 1000 | 600 | 870 | 800 | 1044 |
alikafka.hw.3xlarge | 3 × 30 | 3 × 30 | 1000 | 780 | 1040 | 1040 | 1248 |
alikafka.hw.6xlarge | 3 × 60 | 3 × 60 | 1000 | 1130 | 1510 | 1510 | 1812 |
alikafka.hw.9xlarge | 3 × 90 | 3 × 90 | 1000 | 1440 | 1920 | 1920 | 2304 |
alikafka.hw.12xlarge | 3 × 120 | 3 × 120 | 1000 | 1750 | 2330 | 2330 | 2796 |
alikafka.hw.16xlarge | 3 × 160 | 3 × 160 | 2000 | 2060 | 2740 | 2740 | 3288 |
alikafka.hw.20xlarge | 3 × 200 | 3 × 200 | 2000 | 2980 | 3970 | 3970 | 4764 |
alikafka.hw.25xlarge | 3 × 250 | 3 × 250 | 2000 | 3430 | 4570 | 4570 | 5484 |
alikafka.hw.30xlarge | 3 × 300 | 3 × 300 | 2000 | 3880 | 5170 | 5170 | 6204 |
alikafka.hw.60xlarge | 3 × 600 | 3 × 600 | 2000 | 5280 | 7030 | 7030 | 8436 |
alikafka.hw.80xlarge | 3 × 800 | 3 × 800 | 2000 | 6220 | 8280 | 8280 | 9936 |
alikafka.hw.100xlarge | 3 × 1000 | 3 × 1000 | 3000 | 7270 | 9670 | 9670 | 11604 |
alikafka.hw.120xlarge | 3 × 1200 | 3 × 1200 | 3000 | 8100 | 10780 | 10780 | 12936 |
alikafka.hw.150xlarge | 3 × 1500 | 3 × 1500 | 3000 | 9500 | 12640 | 12640 | 15168 |
alikafka.hw.180xlarge | 3 × 1800 | 3 × 1800 | 3000 | 10910 | 14520 | 14520 | 17424 |
alikafka.hw.200xlarge | 3 × 2000 | 3 × 2000 | 3000 | 12070 | 16060 | 16060 | 19272 |
alikafka.hw2.220xlarge | 3 × 2200 | 3 × 2200 | 4000 | 13273 | 19247 | 17655 | Not available |
alikafka.hw2.300xlarge | 3 × 3000 | 3 × 3000 | 4000 | 18100 | 26245 | 24073 | Not available |
alikafka.hw2.400xlarge | 3 × 4000 | 3 × 4000 | 4000 | 24133 | 34994 | 32097 | Not available |
alikafka.hw2.500xlarge | 3 × 5000 | 3 × 5000 | 4000 | 30167 | 43744 | 40123 | Not available |
alikafka.hw2.600xlarge | 3 × 6000 | 3 × 6000 | 5000 | 36200 | 52491 | 48147 | Not available |
alikafka.hw2.700xlarge | 3 × 7000 | 3 × 7000 | 5000 | 42233 | 61239 | 56170 | Not available |
alikafka.hw2.800xlarge | 3 × 8000 | 3 × 8000 | 5000 | 48266 | 69986 | 64194 | Not available |
alikafka.hw2.900xlarge | 3 × 9000 | 3 × 9000 | 5000 | 54300 | 78736 | 72220 | Not available |
alikafka.hw2.1000xlarge | 3 × 10000 | 3 × 10000 | 5000 | 60333 | 87483 | 80244 | Not available |
Professional Edition (High-read)
Traffic specifications | Peak NIC read traffic (MB/s) | Peak NIC write traffic (MB/s) | Number of pre-included partitions | Region Group 1 unit price (USD/month) | Region Group 2 unit price (USD/month) | Region Group 3 unit price (USD/month) | SAU (Riyadh - Partner Region) (USD/month) |
alikafka.hr.2xlarge | 50 + 2 × 10 | 10 + 2 × 10 | 1000 | 600 | 870 | 800 | 1044 |
alikafka.hr.3xlarge | 75 + 2 × 15 | 15 + 2 × 15 | 1000 | 780 | 1040 | 1040 | 1248 |
alikafka.hr.6xlarge | 150 + 2 × 30 | 30 + 2 × 30 | 1000 | 1130 | 1510 | 1510 | 1812 |
alikafka.hr.9xlarge | 180 + 2 × 45 | 45 + 2 × 45 | 1000 | 1440 | 1920 | 1920 | 2304 |
alikafka.hr.12xlarge | 240 + 2 × 60 | 60 + 2 × 60 | 1000 | 1750 | 2330 | 2330 | 2796 |
alikafka.hr.16xlarge | 240 + 2 × 80 | 80 + 2 × 80 | 2000 | 2060 | 2740 | 2740 | 3288 |
alikafka.hr.20xlarge | 300 + 2 × 100 | 100 + 2 × 100 | 2000 | 2980 | 3970 | 3970 | 4764 |
alikafka.hr.25xlarge | 375 + 2 × 125 | 125 + 2 × 125 | 2000 | 3430 | 4570 | 4570 | 5484 |
alikafka.hr.30xlarge | 450 + 2 × 150 | 150 + 2 × 150 | 2000 | 3880 | 5170 | 5170 | 6204 |
alikafka.hr.60xlarge | 900 + 2 × 300 | 300 + 2 × 300 | 2000 | 5280 | 7030 | 7030 | 8436 |
alikafka.hr.80xlarge | 1200 + 2 × 400 | 400 + 2 × 400 | 2000 | 6220 | 8280 | 8280 | 9936 |
alikafka.hr.100xlarge | 1500 + 2 × 500 | 500 + 2 × 500 | 3000 | 7270 | 9670 | 9670 | 11604 |
alikafka.hr.120xlarge | 1800 + 2 × 600 | 600 + 2 × 600 | 3000 | 8100 | 10780 | 10780 | 12936 |
alikafka.hr.150xlarge | 2250 + 2 × 750 | 750 + 2 × 750 | 3000 | 9500 | 12640 | 12640 | 15168 |
alikafka.hr.180xlarge | 2700 + 2 × 900 | 900 + 2 × 900 | 3000 | 10910 | 14520 | 14520 | 17424 |
alikafka.hr.200xlarge | 3000 + 2 × 1000 | 1000 + 2 × 1000 | 3000 | 12070 | 16060 | 16060 | 19272 |
alikafka.hr2.220xlarge | 3300 + 2 × 1100 | 1100 + 2 × 1100 | 4000 | 13273 | 19247 | 17655 | Not available |
alikafka.hr2.300xlarge | 4500 + 2 × 1500 | 1500 + 2 × 1500 | 4000 | 18100 | 26245 | 24073 | Not available |
alikafka.hr2.400xlarge | 6000 + 2 × 2000 | 2000 + 2 × 2000 | 4000 | 24133 | 34994 | 32097 | Not available |
alikafka.hr2.500xlarge | 7500 + 2 × 2500 | 2500 + 2 × 2500 | 4000 | 30167 | 43744 | 40123 | Not available |
alikafka.hr2.600xlarge | 9000 + 2 × 3000 | 3000 + 2 × 3000 | 5000 | 36200 | 52491 | 48147 | Not available |
alikafka.hr2.700xlarge | 10500 + 2 × 3500 | 3500 + 2 × 3500 | 5000 | 42233 | 61239 | 56170 | Not available |
alikafka.hr2.800xlarge | 12000 + 2 × 4000 | 4000 + 2 × 4000 | 5000 | 48266 | 69986 | 64194 | Not available |
alikafka.hr2.900xlarge | 13500 + 2 × 4500 | 4500 + 2 × 4500 | 5000 | 54300 | 78736 | 72220 | Not available |
alikafka.hr2.1000xlarge | 15000 + 2 × 5000 | 5000 + 2 × 5000 | 5000 | 60333 | 87483 | 80244 | Not available |
Disk capacity billing
Disk capacity fees of an ApsaraMQ for Kafka instance depend on the disk type, and unit prices differ by region group. Unit prices in the following tables apply to 100 GB of disk capacity. If the disk capacity that is included in your traffic specification does not meet your requirements, purchase additional disk capacity.
Analyze your resource requirements based on your actual business volume before you decide how much disk capacity to purchase. The capacity you need depends on the maximum message retention period: the longer messages are retained, the more disk capacity you must purchase, and the higher your disk fee.
Messages are deleted when either the disk capacity limit or the configured retention period is reached, whichever occurs first. The maximum message retention period specifies the retention period that applies when disk space is sufficient.
If disk usage reaches 85%, the oldest messages are deleted ahead of schedule to keep the service available.
The default retention period is 72 hours. Valid values: 24 to 480 hours.
For more information, see When does ApsaraMQ for Kafka delete old messages?.
Disk type | Disk capacity (GB) | Region Group 1 unit price (USD/month) | Region Group 2 unit price (USD/month) | Region Group 3 unit price (USD/month) | SAU (Riyadh - Partner Region) (USD/month) |
Ultra Disk | 100 | 6 | 8 | 8 | 9.6 |
SSD | 100 | 16 | 23 | 21 | 27.6 |
For instances that use three-replica data storage, the disk cost of Professional Edition is about 60% lower than that of a self-managed open source cluster.
A minimum disk capacity requirement applies to each instance. It prevents issues such as rollback failures caused by infrequent message deletion. To reduce the minimum disk capacity in a special scenario, follow the instructions in submit a ticket.
Partition billing
Each traffic specification includes a number of partitions. When you purchase an ApsaraMQ for Kafka instance based on partition specifications, you can purchase additional partitions if the number of partitions that is included in the specification does not meet your requirements. For the number of partitions of each instance specification, see Specifications. The unit price of each additional partition differs by region group.
Billable item | Region Group 1 unit price (USD/partition/month) | Region Group 2 unit price (USD/partition/month) | Region Group 3 unit price (USD/partition/month) | SAU (Riyadh - Partner Region) (USD/partition/month) |
Number of partitions | 0.32 | 0.46 | 0.42 | 0.552 |
References
If you have questions about your charges, you can view your consumption details to obtain your bill.
To renew an instance before its validity period expires, see Renewal. Subscription resources are reclaimed if you do not renew them before the validity period expires.
If you need a refund after purchasing an instance, see Refund policy.
For other billing questions, see Billing FAQ.