Clarifying MSK data transfer pricing within region or AZ

0

Howdy - can someone clarify the MSK data transfer charges within a region or AZ?

The MSK pricing page says "You will pay standard AWS data transfer charges for data transferred in and out of Amazon MSK clusters" with a link to the EC2 on-demand pricing page.

The "Data Transfer within the same AWS Region" section of that page gives the pricing for different combinations of EC2 and various AWS services. Some combinations have free data transfer within a region. Some combos have free data transfer within an AZ. But MSK is not listed there so I can't tell what the pricing is.

Can someone clarify how the pricing between MSK and EC2 works within a region?

I'm particularly interesting in learning about steps I can take to achieve free data transfer between EC2 and the MSK cluster :-)

Thanks! JP

질문됨 5년 전1792회 조회
3개 답변
0
수락된 답변

Hi JP - any data transfer that happens within the cluster (e.g., data replication between brokers) is included in the cost of the MSK brokers so you don't pay separately for it, and this cost does not vary.

For data in and out of the cluster, standard data transfer rates apply to this traffic.

If your EC2 clients are in the same AZ and region as the MSK broker it's connected to, per data transfer pricing the cost per GB is $0. If your clients are sending traffic to/from brokers in different AZs in the same region your clients generate cross AZ data transfer usage with a cost per GB that varies by the region the traffic is in. If your clients are in a different region than the MSK cluster, your clients generate cross region data transfer usage with a cost that varies by region source and region destination.

You can back into the AZ of the broker using the subnet.

답변함 5년 전
0

Thank you. So I could do some setup to constrain communication between an EC2 instance and a broker in one AZ, but since that broker may not be a leader for a partition, I'd still need to make cross-AZ requests to get at all the data and hence incur cross-AZ charges?

JP

답변함 5년 전
0

Correct. If your partition leader is in a different AZ than your producer/consumer, then you will incur cross-AZ charge.

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인