Softwr

Databases · head to head

Google Cloud Spanner vs Nebula

Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes
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

  • Both are free.
  • Only Google Cloud Spanner lists strong global consistency; only Nebula lists certificate carried identity.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.

How do Google Cloud Spanner and Nebula differ?

Google Cloud Spanner and Nebula differ on pricing model, platforms and category (Databases against Networking). Only the attributes on which Google Cloud Spanner and Nebula actually diverge.

Attributes where Google Cloud Spanner and Nebula differ
AttributeGoogle Cloud SpannerNebula
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWebLinux, macOS, Windows, iOS, Android
CategoryDatabasesNetworking

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

Which features does each one have?

They share no listed features; 9 appear only for Google Cloud Spanner 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 Google Cloud Spanner

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

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?

Google Cloud Spanner is most often brought in for global transactional systems. The jobs each tool is most often brought in to do.

Google Cloud Spanner

  • Global transactional systemsnot Nebula
  • Mission-critical apps needing 99.999% availabilitynot Nebula
  • Applications needing relational plus graph and vectornot Nebula
  • Real-time analytics on operational datanot Nebula
  • Scaling beyond a single database servernot Nebula

Nebula

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

Where do Google Cloud Spanner and Nebula fall short?

Google Cloud Spanner's most cited limit: pricing has compute, storage, replication and network components. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

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 Google Cloud Spanner and Nebula cost?

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

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

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 Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

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 Google Cloud Spanner or Nebula better?
It depends on the job. Google Cloud Spanner fits global transactional systems; Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables. Google Cloud Spanner starts at Free and Nebula at Free.
Which is cheaper, Google Cloud Spanner or Nebula?
Google Cloud Spanner starts at Free and Nebula at Free.
Does Google Cloud Spanner or Nebula run on more platforms?
Google Cloud Spanner runs on Web. Nebula runs on Linux, macOS, Windows, iOS, Android.
Can I use Google Cloud Spanner for free?
Both have a free tier, so you can try either at no cost before committing.
What is Google Cloud Spanner best used for?
Google Cloud Spanner is most often used for global transactional systems, mission-critical apps needing 99.999% availability, applications needing relational plus graph and vector, real-time analytics on operational data. Of those, global transactional systems and mission-critical apps needing 99.999% availability are not what Nebula is typically brought in for.
What can Google Cloud Spanner do that Nebula cannot?
Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph. Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption.

Answered from the vendors’ own pages

Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

Source
Nebula: Does it use WireGuard?

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

Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

Source
Nebula: Can I run it without Defined Networking?

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

Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

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.

Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

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.

Share

Related pages

Other head to heads