Amazon Managed Streaming for Apache Kafka

Amazon MSK pricing

  • MSK Provisioned
  • Standard Brokers

    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.

    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.You are not charged for data transfer used for replication between brokers or between metadata nodes and brokers. You will pay standard AWS data transfer charges for data transferred in and out of Amazon MSK clusters. 

    You can also enable private connectivity (powered by AWS PrivateLink) if you need to connect your Kafka clients in one or more VPCs to a MSK cluster in a different VPC. With this feature, you pay an hourly rate for each cluster and authentication scheme that has private connectivity turned on. An authentication scheme is used by customers to authenticate the client requests to the MSK cluster. Additionally, you also pay per GB of data processed through private connectivity. You will pay standard AWS PrivateLink charges for the for the Amazon MSK Managed VPC connections used by your Apache Kafka clients to connect privately to the cluster.

    Example 1 (standard brokers)

    If three kafka.m7g.larges are active in the AWS European Sovereign Cloud (Germany) AWS Region, and your brokers use 1 TB of storage for 15 days in March and 2 TB of storage for the final 16 days in March, you would pay the following for the month:

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

     

    Charges Usage Rate Sub totals

    Broker instance charges (instance usage, in hours)

    31 days * 24 hrs/day * 3 brokers = 2,232 hours

    EUR 0.24 (price per hour for a kafka.m7g.large)

    2,232 hours * EUR 0.24 = €535.68

    Storage charges in GB-months

    1. Calculate GB-hours: (1000 GB * 15 days * 24 hrs/day) + (2,000 GB * 16 days * (24 hrs/day) = 1,128,000 GB-hours
    2. Calculate GB-months: 1,128,000 GB hours / 24 hrs / 31 days = 1,516.13 GB- months

    EUR 0.117 (the price per GB-month in US East region))

    1,516.13 GB-months * EUR 0.117 = EUR 177.39 

    Total = EUR 535.68 + EUR 177.39 = EUR 713.07

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

    (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 three brokers in the AWS European Sovereign Cloud (Germany) AWS 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 Usage Rate Sub totals

    Provisioned storage throughput charges in MB/s-months

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

    EUR 0.094 (price per MB/s-months in the US East region)

    900 MB/s-months * EUR 0.094 = EUR 84.6

    (Optional) Multi-VPC private connectivity example

    If you have producers and consumers in different VPCs or AWS accounts than your Amazon MSK cluster with three brokers in the AWS European Sovereign Cloud (Germany) AWS Region and you ingest 2 MB/s of data and have two consumers reading all the data, you can choose to turn on multi-VPC private connectivity to enable cross-VPC connectivity. You would pay the following additional charge on top of the broker instance and storage charges as shown in above examples:

    Total MSK charges = (broker instance charge) + (primary storage charge) + (multi-VPC private connectivity charges).

    Charges Usage Rate Sub totals

    Multi-VPC private connectivity hourly charges

    Calculate private-connectivity hours per authentication scheme. Since you are using one authentication scheme on a three-node cluster, you will be charged for one unit of private connectivity for 31 days. Total private connectivity hours = 1 unit pf private connectivity x 730 hours in a month = 730 PrivateConnectivity hours

    EUR 0.0266 per private connectivity-hour-per-authentication scheme

    We charge EUR 0.0225 per private connectivity-hour-per-authentication.

    Fixed private connectivity charge = 730 x 0.0266 = EUR 19.418

    Multi-VPC private connectivity data processing charge Calculate GB processed. Since you are processing a total of 6MB/s (1 producer + 2 consumers = 21 GB/hour EUR 0.0059 per GB processed


    We charge EUR 0.0059 per GB processed.


    Variable data processing charge = 21.6 x 0.0059 x 730 = EUR 93.0312