Skip to content

Cost Estimate for AWS MSK Serverless

0

I want to find the cost estimate for MSK serverless for the current workload i have in my production environment. I cant find the MSK Serverless option in aws calculator, but in the aws msk pricing page Pricing Dimension Unit Price per unit Cluster-hours per hour $0.75 Partition-hours per hour $0.0015 Storage per GiB-month $0.10 Data In per GiB $0.10 Data Out per GiB $0.05

above data are there. How to calculate above five parameters for my current workload with the data available in CloudWatch metrices in the production account. Or is there a better way to calculate the cost

1 Answer
0

Hi Vinusan,

Please try this solution it will be helpful helpful for you,

AWS Cost Explorer

you can use AWS Cost Explorer to get a detailed view of your costs. This tool can provide insights into your MSK costs if you have been using MSK standard and want to transition to MSK serverless.

Please look at AWS Document Link you will get more information.

https://aws.amazon.com/aws-cost-management/aws-cost-explorer/

EXPERT
answered 2 years ago
  • Hi Parthasaradi, In cost explorer i can get the data for my usage only for the previous months right. I want to get/calculate the cost if i switch to MSK serverless with my current workload.

  • Hello Vinusan,

    you can use the CloudWatch metrics from your existing setup to simulate the cost based on the pricing dimensions of MSK Serverless.

    To Estimate MSK Serverless Cost:

    Gather Metrics from CloudWatch:

    Cluster Uptime: Total hours your current cluster is running. Number of Partitions: Total partitions in your current setup. Storage Used: Total storage used in GiB. Data In: Total data ingested in GiB. Data Out: Total data egressed in GiB.

  • Is it possible to use a python script to get the above data to calculate the cost for one month

  • Yes, it's possible to use a Python script to gather the required metrics from AWS CloudWatch and calculate the cost for one month. you can use the boto3 library to interact with AWS CloudWatch and fetch the necessary metrics.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.