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.…