Menu

Managed Kafka vs Self-Hosted Kafka on AWS: The 16 MB/s Ingest Threshold Where Cross-AZ Replication Erases the MSK Premium
📰

Managed Kafka vs Self-Hosted Kafka on AWS: The 16 MB/s Ingest Threshold Where Cross-AZ Replication Erases the MSK Premium

DEV Community: aws·SaaS Cost Lab·9 days ago
#Lj4pHCbd
#devtoaws#devto#dev#storage#self
Long article (3150 words) — no AI summary yet.
Reading 0:00
15s threshold

A platform team prices the same event backbone two ways. Amazon MSK with six kafka.m7g.xlarge brokers and seven-day retention comes to $6,323.04 a month on US East (N. Virginia) list prices. The same six m7g.xlarge brokers on EC2, with gp3 volumes holding the same seven days at three replicas, come to $4,343.62. The slide says self-hosting is 31 percent cheaper, and the meeting moves to the migration plan.

One line is missing from that slide. When three replicas sit in three Availability Zones, every record written to a self-managed cluster crosses an AZ boundary twice, and AWS bills cross-AZ traffic at one cent per gigabyte in each direction, at both ends. At 25 MB/s of ingest that is 65,700 GB a month times four cents: $2,628.00 of pure replication traffic. Add it and self-hosting costs $6,971.62 before an engineer is paid to operate it, ten percent more than the cluster it was supposed to undercut.

MSK does not charge for replication between brokers.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.