Softwr

Networking · head to head

Nebula vs Vitess

Nebula logo

Nebula

Networking

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

From
Free
Free plan
Yes
Vitess logo

Vitess

Databases

Scalable database clustering system for horizontal scaling of MySQL

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Nebula lists certificate carried identity; only Vitess lists horizontal Sharding.
  • Where Vitess falls short: VTGate scatter queries without sharding key incur significant performance penalties.

How do Nebula and Vitess differ?

Nebula and Vitess differ on platforms and category (Networking against Databases). Only the attributes on which Nebula and Vitess actually diverge.

Attributes where Nebula and Vitess differ
AttributeNebulaVitess
PlatformsLinux, macOS, Windows, iOS, AndroidLinux, macOS, Self-hosted
CategoryNetworkingDatabases

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: pricing model for Vitess, founded for Nebula.

Which features does each one have?

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

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

Only in Vitess

  • Horizontal Sharding
  • Connection Pooling
  • Query Routing
  • Online Schema Changes
  • Shard Management
  • Replication Management
  • Automated Failover
  • MySQL

What is each one used for?

Vitess is most often brought in for transaction processing. The jobs each tool is most often brought in to do.

Nebula

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

Vitess

  • Transaction processingnot Nebula
  • Data storagenot Nebula
  • Application backendnot Nebula
  • Reportingnot Nebula
  • Data analyticsnot Nebula

Where do Nebula and Vitess fall short?

Vitess's most cited limit: VTGate scatter queries without sharding key incur significant performance penalties. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

Vitess

  • VTGate scatter queries without sharding key incur significant performance penalties
  • Foreign key constraints not enforced across shards, requiring application-level integrity handling
  • Single primary per keyspace limits multi-region write capabilities
  • Distributed transactions without proper sharding key routing suffer performance degradation

How much do Nebula and Vitess cost?

Nebula is free to use; Vitess is free to use. Plan by plan below, from each vendor's own pricing page.

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

Vitess

Free
  • Open source (Apache-2.0)Free

Which should you pick?

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.

Choose Vitess if

  • You need horizontal sharding.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want connection pooling.

Questions people ask

Is Nebula or Vitess better?
It depends on the job. Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables; Vitess fits transaction processing. Nebula starts at Free and Vitess at Free.
Which is cheaper, Nebula or Vitess?
Nebula starts at Free and Vitess at Free.
Does Nebula or Vitess run on more platforms?
Nebula runs on Linux, macOS, Windows, iOS, Android. Vitess runs on Linux, macOS, Self-hosted.
Can I use Nebula for free?
Both have a free tier, so you can try either at no cost before committing.
What is Nebula best used for?
Nebula is most often used for flattening a network across several clouds and datacentres without vpc peering or route tables, very large fleets where a central policy service on the connection path is unacceptable, environments that already run an internal certificate authority and want the network to use it, replacing per host iptables rules with policy written against roles that follow the host. Of those, flattening a network across several clouds and datacentres without vpc peering or route tables and very large fleets where a central policy service on the connection path is unacceptable are not what Vitess is typically brought in for.
What can Nebula do that Vitess cannot?
Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption. Vitess covers Horizontal Sharding, Connection Pooling, Query Routing, Online Schema Changes.

Answered from the vendors’ own pages

Nebula: Does it use WireGuard?

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

Vitess: Is Vitess free to use?

Yes. Vitess is completely free and open source under the Apache 2.0 license. It is a graduated CNCF project with no licensing costs or pricing tiers.

Source
Nebula: Can I run it without Defined Networking?

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

Vitess: What databases does Vitess support?

Vitess supports MySQL and MariaDB as backend databases. It acts as a middleware layer that adds sharding and orchestration capabilities on top of these databases.

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

Vitess: Does Vitess require Kubernetes to run?

No. Vitess can run on Kubernetes using the Vitess Operator, but it can also be deployed on traditional infrastructure. Kubernetes integration is optional and provides additional automation benefits.

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

Vitess: How does Vitess handle cross-shard transactions?

Vitess supports distributed transactions across shards, but they require queries to be routed through the sharding key. Transactions without a proper sharding key can result in slower performance.

Source
Vitess: Does Vitess enforce foreign key constraints?

Vitess does not enforce foreign key constraints across shards by default. Referential integrity must be managed at the application layer, though per-database support can be enabled with limitations.

Source
Share

Related pages

Other head to heads