Softwr

Networking · head to head

Amazon MSK vs Nebula

Amazon MSK logo

Amazon MSK

Networking

Managed Apache Kafka on AWS with Standard and Express broker types

From
$0.204/hour
Free plan
No
Nebula logo

Nebula

Networking

Certificate based overlay network from Slack, with identity and firewall rules carried in the certificate

From
Free
Free plan
Yes

The short version

  • Nebula is free; Amazon MSK starts at $0.204/mo.
  • Only Amazon MSK lists standard brokers; only Nebula lists certificate carried identity.
  • 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.

How do Amazon MSK and Nebula differ?

Amazon MSK and Nebula 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 Nebula actually diverge.

Attributes where Amazon MSK and Nebula differ
AttributeAmazon MSKNebula
Starting price$0.204/hourFree
Pricing modelPer broker hour plus per GB-month storageOpen source, no licence fee
Free tierNoYes
PlatformsWeb, LinuxLinux, macOS, Windows, iOS, Android

Not yet recorded: category for Amazon MSK.

Which features does each one have?

They share no listed features; 6 appear only for Amazon MSK and 6 only for Nebula. 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 Nebula

  • Certificate carried identity
  • Group based host firewall
  • Lighthouse discovery
  • Noise protocol encryption
  • Unsafe routes
  • Managed option

What is each one used for?

Amazon MSK is most often brought in for migrating a self-managed Kafka cluster without rewriting clients. The jobs each tool is most often brought in to do.

Amazon MSK

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

Nebula

  • Flattening a network across several clouds and datacentres without VPC peering or route tablesnot Amazon MSK
  • Very large fleets where a central policy service on the connection path is unacceptablenot Amazon MSK
  • Environments that already run an internal certificate authority and want the network to use itnot Amazon MSK
  • Replacing per host iptables rules with policy written against roles that follow the hostnot Amazon MSK

Where do Amazon MSK and Nebula 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. 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

Nebula

  • The open source project has no user interface, no enrolment workflow and no revocation service, so certificate issuing, distribution and expiry become scripts you write and then have to keep working
  • Revoking a compromised host means distributing a blocklist entry to every other host and reloading them, which is a fleet wide operation rather than a click, and easy to get wrong under pressure
  • Changing a host group membership means reissuing and redeploying its certificate, so policy changes are a deployment rather than a configuration edit
  • There is no identity provider integration or single sign on in the open source version, so it maps well to servers and badly to a fleet of user laptops
  • NAT traversal is best effort and hosts behind symmetric NAT need a relay configured deliberately, so connectivity failures show up as intermittent rather than immediate and are awkward to diagnose

How much do Amazon MSK and Nebula cost?

Amazon MSK starts at $0.204/mo; Nebula is free to use. 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

Nebula

Free
  • NebulaFree
    • Full functionality under the MIT licence
    • No host limit
    • You operate the certificate authority and lighthouses
  • Defined NetworkingOn request
    • Hosted control plane and enrolment
    • Managed certificate lifecycle and revocation
    • Policy and DNS interface

Which should you pick?

Choose Amazon MSK if

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

Choose Nebula if

  • You need certificate carried identity.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, iOS, Android.
  • You also want group based host firewall.

Questions people ask

Is Amazon MSK or Nebula better?
It depends on the job. Amazon MSK fits event streaming between microservices where producers and consumers already speak Kafka; Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables. Amazon MSK starts at $0.204/hour and Nebula at Free.
Which is cheaper, Amazon MSK or Nebula?
Nebula has a free tier; the other does not. Paid plans start at $0.204/hour for Amazon MSK and Free for Nebula.
Does Amazon MSK or Nebula run on more platforms?
Amazon MSK runs on Web, Linux. Nebula runs on Linux, macOS, Windows, iOS, Android.
Can I use Nebula for free?
Yes. Nebula 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 Nebula is typically brought in for.
What can Amazon MSK do that Nebula cannot?
Amazon MSK covers Standard brokers, Express brokers, MSK Connect, MSK Replicator. Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption.

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.

Nebula: Does it use WireGuard?

No. Nebula predates the common WireGuard mesh tools and uses the Noise protocol framework with its own certificate format.

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.

Nebula: Can I run it without Defined Networking?

Yes, entirely. Defined Networking sells the control plane conveniences, not the network itself.

Amazon MSK: Is MSK compatible with Apache Kafka clients?

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

Nebula: How do I revoke a host?

Add its certificate fingerprint to the blocklist in the configuration of the other hosts and reload them. There is no online revocation check.

Nebula: Is it a good fit for laptops?

Less so than the identity provider based tools. There is no single sign on, so every laptop needs a certificate issued and renewed by whatever process you build.

Share

Related pages

Other head to heads