Amazon MSK pricing

With Amazon MSK, you pay only for what you use. There are no minimum fees or upfront commitments. You pay for the time your broker instances run, the storage you use monthly, and standard data transfer fees for data in and out of your cluster. You do not pay for Apache ZooKeeper nodes that Amazon MSK provisions for you, or data transfer that occurs between brokers and nodes within clusters.

Broker instance pricing

You pay an hourly rate for Apache Kafka broker instance usage (billed at one-second resolution), with varying fees depending on the size of the broker instance and active brokers in your Amazon MSK clusters. See the Broker Instance Pricing Tables for details.

Broker storage pricing

You also pay for the amount of storage you provision in your cluster. This is calculated by adding up the GB provisioned per hour and dividing by the total number of hours in the month, resulting in a "GB-months" value, as shown in the pricing example. See the Broker Storage Pricing Tables for details. You also have the option to provision additional storage throughput independently, charged by the amount you provision in MB/s per month. This is calculated by adding up MB/s provisioned per hour per broker and dividing by the total number of hours in the month, resulting in a “MB/s-months” value, as shown in (optional) Provisioned Storage Throughput Example.

Data transfer fees

You are not charged for data transfer between brokers or between Apache ZooKeeper nodes and brokers. You will pay standard EC2 rates for data transferred in and out of Amazon MSK clusters.

Broker instance pricing tables

China (Ningxia) Region
Amazon MSK Broker Pricing  
kafka.t3.small - vCPU: 2, Memory (GiB): 2 ¥ 0.2098
kafka.m5.large - vCPU: 2, Memory (GiB): 8 ¥ 1.485
kafka.m5.xlarge - vCPU: 4, Memory (GiB): 16 ¥ 2.97
kafka.m5.2xlarge - vCPU: 8, Memory (GiB): 32 ¥ 5.939
kafka.m5.4xlarge - vCPU: 16, Memory (GiB): 64 ¥ 11.879
kafka.m5.8xlarge - vCPU: 32, Memory (GiB): 128 ¥ 23.758
kafka.m5.12xlarge - vCPU: 48, Memory (GiB): 192 ¥ 35.636
kafka.m5.16xlarge - vCPU: 64, Memory (GiB): 256 ¥ 47.516
kafka.m5.24xlarge - vCPU: 96, Memory (GiB): 394 ¥ 71.271
Amazon MSK Storage Pricing  
Price per GB-month ¥ 0.664

Amazon MSK Storage Pricing

Price per GB-month                 ¥ 0.664 

(optional) Price per MB/s-month forprovisioned storage throughput = ¥ 0.5312

China (Beijing) Region
Amazon MSK Broker Pricing  
kafka.t3.small - vCPU: 2, Memory (GiB): 2 ¥ 0.2878
kafka.m5.large - vCPU: 2, Memory (GiB): 8 ¥ 2.218
kafka.m5.xlarge - vCPU: 4, Memory (GiB): 16 ¥ 4.437
kafka.m5.2xlarge - vCPU: 8, Memory (GiB): 32 ¥ 8.874
kafka.m5.4xlarge - vCPU: 16, Memory (GiB): 64 ¥ 17.748
kafka.m5.8xlarge - vCPU: 32, Memory (GiB): 128 ¥ 35.496
kafka.m5.12xlarge - vCPU: 48, Memory (GiB): 192 ¥ 53.243
kafka.m5.16xlarge - vCPU: 64, Memory (GiB): 256 ¥ 70.992
kafka.m5.24xlarge - vCPU: 96, Memory (GiB): 394 ¥ 106.487
Amazon MSK Storage Pricing  
Price per GB-month ¥ 0.746

Amazon MSK Storage Pricing

Price per GB-month                 ¥ 0.746

(optional) Price per MB/s-month for provisioned storage throughput =  ¥ 0.5968

Pricing Examples

Example 1

If two kafka.t3.smalls are active in the China (Ningxia) region, and your brokers use 50GB of storage* for 31 days in March, you would pay the following for the month:

Broker instance charge

Instance usage (in hours) = 31 days x 24 hrs/day x 2 brokers = 1,488 hours x ¥ 0.2098 (price per hour for a kafka.t3.small) = ¥ 312.18

Storage charge

Storage usage in GB-Hours = 50 GB x 1 month = 50 GB-Months x ¥ 0.664 (the price per GB-Month in China (Ningxia) region) = ¥ 33.2

Total charge = ¥ 312.18 (broker instance charge) + ¥ 33.2 (storage charge) = ¥ 345.38, which is ¥ 11.14/day.

*This workload represents a 100KB/s ingest rate with 24 hour retention and replication factor of 2. Data transfer charges apply and are estimated to be ¥ 33.2/month for this workload.

 

Example 2

If three kafka.m5.larges are active in the China (Ningxia) region, and your brokers use 1TB of storage for 15 days in March and 2TB of storage for the final 16 days in March, you would pay the following for the month:

Broker instance charge

Instance usage (in hours) = 31 days x 24 hrs/day x 3 brokers = 2,232 hours x ¥ 1.485 (price per hour for a kafka.m5.large) = ¥ 3314.52

Storage charge

Storage usage in GB-Hours = [1000 GB x 15 days x (24 hrs/day)] + [2000 GB x 16 days x (24 hrs/day)] = 1,128,000 GB-Hours

Convert GB-Hours to GB-Months to calculate the monthly charge:

1,128,000 GB-Hours / 24 hrs / 31 days = 1,516.13 GB-Months x ¥ 0.664 (the price per GB-Month in China (Ningxia) region) = ¥ 1006.71

Total charge = ¥ 3314.52 (broker instance charge) + ¥ 1006.71 (storage charge) = ¥ 4321.23

(optional) Provisioned Storage Throughput example
If you choose to turn on provisioned storage throughput and provision 300 MB/s of storage throughput for 31 days in your Amazon MSK cluster with 3 brokers in the China (Ningxia) Region, you would pay the following additional charge on top of the broker instance and storage charges as shown in above examples:

Total charge = (broker instance charge) + (storage charge) + (provisioned storage throughput charge)

Charges

Provisioned storage throughput charges in MB/s-months

Usage

3 brokers x 300 MB/s = 900 MB/s-months

Rate

¥ 0.5312 (the price per MB/s-month in the China (Ningxia) region)

Sub totals

900 MB/s-months x ¥0.5312 = ¥478.08


Get started with Amazon MSK

Get your questions answered
Get your questions answered

Visit the Amazon MSK FAQs page.

Review the getting-started guide
Review the getting-started guide

Learn how to set up your Apache Kafka cluster on Amazon MSK in this step-by-step guide.

Run your Apache Kafka cluster
Run your Apache Kafka cluster

Start running your Apache Kafka cluster on Amazon MSK. Log in to the Amazon MSK console.