Softwr

Software · head to head

Amazon MSK vs Amazon VPC

Amazon MSK logo

Amazon MSK

Software

Managed Apache Kafka on AWS with Standard and Express broker types

From
$0.204/hour
Free plan
No
Amazon VPC logo

Amazon VPC

Software

The private network layer for AWS, free to create with paid NAT, endpoints and addresses

From
Free
Free plan
Yes

The short version

  • Amazon VPC has a free plan, then $0.005/mo; Amazon MSK starts at $0.204/mo.
  • Only Amazon MSK lists standard brokers; only Amazon VPC lists subnets and routing.
  • Where Amazon MSK falls short: brokers are billed whether or not traffic flows, so a quiet development cluster costs hundreds of dollars a month at the AWS example rate.
  • Where Amazon VPC falls short: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost.

How do Amazon MSK and Amazon VPC differ?

Amazon MSK and Amazon VPC differ on starting price ($0.204/hour against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon MSK and Amazon VPC actually diverge.

Attributes where Amazon MSK and Amazon VPC differ
AttributeAmazon MSKAmazon VPC
Starting price$0.204/hourFree
Pricing modelPer broker hour plus per GB-month storageFree VPC, metered NAT gateways, addresses and add-ons
Free tierNoYes
PlatformsWeb, LinuxWeb

Which features does each one have?

They share no listed features; 6 appear only for Amazon MSK and 6 only for Amazon VPC. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon MSK

  • Standard brokers
  • Express brokers
  • MSK Connect
  • MSK Replicator
  • IAM access control
  • Tiered storage

Only in Amazon VPC

  • Subnets and routing
  • Security groups and NACLs
  • NAT gateways
  • PrivateLink endpoints
  • Flow Logs and Traffic Mirroring
  • IPAM

What is each one used for?

Amazon MSK is most often brought in for migrating a self-managed Kafka cluster without rewriting clients; Amazon VPC for isolating production, staging and development workloads in separate networks. The jobs each tool is most often brought in to do.

Amazon MSK

  • Event streaming between microservices where producers and consumers already speak Kafkanot Amazon VPC
  • Feeding Amazon S3, OpenSearch or Redshift from application events with MSK Connectnot Amazon VPC
  • Migrating a self-managed Kafka cluster without rewriting clientsnot Amazon VPC
  • Cross-Region replication of topics for disaster recoverynot Amazon VPC

Amazon VPC

  • Isolating production, staging and development workloads in separate networksnot Amazon MSK
  • Giving private subnets outbound access through a NAT gateway while blocking inbound trafficnot Amazon MSK
  • Reaching S3 and other AWS services over private endpoints to avoid NAT data chargesnot Amazon MSK
  • Capturing and mirroring traffic for intrusion detectionnot Amazon MSK

Where do Amazon MSK and Amazon VPC fall short?

Amazon MSK's most cited limit: Cross-AZ replication and client traffic generate data transfer charges that are not in the broker price. Amazon VPC's: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon MSK

  • You still choose broker counts, instance sizes and partition layout, so capacity planning and rebalancing remain your responsibility on Standard brokers
  • Brokers are billed whether or not traffic flows, so a quiet development cluster costs hundreds of dollars a month at the AWS example rate
  • The ecosystem around schema governance, managed connectors and stream processing is thinner than Confluent Cloud, so more components must be assembled
  • Cross-AZ replication and client traffic generate data transfer charges that are not in the broker price
  • Kafka version upgrades and client compatibility still require planning, and AWS lags upstream releases

Amazon VPC

  • NAT gateways charge $0.045 per hour and $0.045 per GB, so private workloads pulling large data volumes from the internet can generate a large bill with no obvious source
  • Every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost
  • Cross-Availability Zone traffic is billed per GB, so designs that spread chatty services across zones pay for the resilience in data transfer fees
  • Networking is regional and per account, so connecting many VPCs needs Transit Gateway or peering, each with its own pricing and limits
  • Security groups, NACLs and route tables are easy to misconfigure, and there is no built-in policy checking beyond tools such as Reachability Analyzer, which is billed per analysis

How much do Amazon MSK and Amazon VPC cost?

Amazon MSK starts at $0.204/mo; Amazon VPC has a free plan, with paid plans from $0.005/mo. Plan by plan below, from each vendor's own pricing page.

Amazon MSK

$0.204/hour
  • Standard broker$0.204/hour
    • kafka.m7g.large $0.204 per hour, kafka.m5.large $0.21
    • Storage $0.10 per GB-month
  • Express broker$0.408/hour
    • express.m7g.large $0.408 per hour, express.m8g.large $0.3468
    • $0.01 per GB of data written
    • Low-cost storage tier retrieval $0.0015 per GB

Amazon VPC

Free
  • VPC, subnets and security groupsFree
    • No charge to create a VPC, subnets, route tables, security groups or network ACLs
  • NAT Gateway$0.045/hour
    • $0.045 per hour per gateway
    • $0.045 per GB processed
    • Regional NAT Gateway is $0.045 per hour per Availability Zone
  • Public IPv4 address$0.005/hour
    • $0.005 per hour, in use or idle
    • Traffic mirroring $0.015 per session hour
    • IPAM Advanced Tier $0.00027 per active IP address hour

Which should you pick?

Choose Amazon MSK if

  • You need standard brokers.
  • You work on Web, Linux.
  • You also want express brokers.

Choose Amazon VPC if

  • You need subnets and routing.
  • You want to start without paying.
  • You also want security groups and nacls.

Questions people ask

Is Amazon MSK or Amazon VPC better?
It depends on the job. Amazon MSK fits event streaming between microservices where producers and consumers already speak Kafka; Amazon VPC fits isolating production, staging and development workloads in separate networks. Amazon MSK starts at $0.204/hour and Amazon VPC at Free.
Which is cheaper, Amazon MSK or Amazon VPC?
Amazon VPC has a free tier; the other does not. Paid plans start at $0.204/hour for Amazon MSK and Free for Amazon VPC.
Does Amazon MSK or Amazon VPC run on more platforms?
Amazon MSK runs on Web, Linux. Amazon VPC runs on Web.
Can I use Amazon VPC for free?
Yes. Amazon VPC has a free tier, so you can try it without paying. Amazon MSK starts at $0.204/hour.
What is Amazon MSK best used for?
Amazon MSK is most often used for event streaming between microservices where producers and consumers already speak kafka, feeding amazon s3, opensearch or redshift from application events with msk connect, migrating a self-managed kafka cluster without rewriting clients, cross-region replication of topics for disaster recovery. Of those, event streaming between microservices where producers and consumers already speak kafka and feeding amazon s3, opensearch or redshift from application events with msk connect are not what Amazon VPC is typically brought in for.
What can Amazon MSK do that Amazon VPC cannot?
Amazon MSK covers Standard brokers, Express brokers, MSK Connect, MSK Replicator. Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints.

Answered from the vendors’ own pages

Amazon MSK: How much does Amazon MSK cost?

Standard kafka.m7g.large brokers are $0.204 per hour and express.m7g.large brokers $0.408 per hour, plus storage at $0.10 per GB-month, per the AWS page.

Amazon VPC: Is Amazon VPC free?

Creating a VPC, subnets, route tables and security groups is free. NAT gateways, public IPv4 addresses, traffic mirroring and PrivateLink endpoints are charged.

Amazon MSK: What is the difference between Standard and Express brokers?

Express brokers are designed for higher throughput per broker and quicker scaling; Standard brokers give more control over configuration. Both are billed per broker hour.

Amazon VPC: How much does a NAT gateway cost?

$0.045 per hour in US East plus $0.045 per GB processed, per the AWS pricing page, before standard data transfer charges.

Amazon MSK: Is MSK compatible with Apache Kafka clients?

Yes. It runs Apache Kafka, so existing producers, consumers and Kafka Connect connectors work.

Amazon VPC: Are public IPv4 addresses charged?

Yes. $0.005 per hour per public IPv4 address, whether in use or idle.

Share

Related pages

Other head to heads