Databases · head to head
Google Cloud Spanner vs Nebula

Google Cloud Spanner
Databases
Globally distributed relational database with strong consistency and up to 99.999% availability
- From
- Free
- Free plan
- Yes

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.
| Attribute | Google Cloud Spanner | Nebula |
|---|---|---|
| Pricing model | Usage-based | Open source, no licence fee |
| Platforms | Web | Linux, macOS, Windows, iOS, Android |
| Category | Databases | Networking |
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
FreeNo 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.
SourceNebula: 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.
SourceNebula: 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.
SourceNebula: 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.
SourceNebula: 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.
Related pages
More on Google Cloud Spanner
Other head to heads
- Google Cloud Spanner vs Azure Cosmos DB
- Google Cloud Spanner vs CockroachDB
- Google Cloud Spanner vs Amazon Aurora
- Google Cloud Spanner vs TiDB
- Google Cloud Spanner vs YugabyteDB
- Google Cloud Spanner vs Aerospike
- Google Cloud Spanner vs PostgreSQL
- Google Cloud Spanner vs ArangoDB
- Google Cloud Spanner vs Cassandra
- Google Cloud Spanner vs MariaDB
- Google Cloud Spanner vs Milvus
- Google Cloud Spanner vs MongoDB
- Google Cloud Spanner vs DataGrip
- Google Cloud Spanner vs Dremio
- Google Cloud Spanner vs EMQX
- Google Cloud Spanner vs Firebolt
- Google Cloud Spanner vs Azure SQL
- Google Cloud Spanner vs CouchDB
- Google Cloud Spanner vs NetBird
- Google Cloud Spanner vs Headscale
- Google Cloud Spanner vs Tailscale
- Google Cloud Spanner vs Twingate
- Google Cloud Spanner vs ZeroTier
- Google Cloud Spanner vs pfSense
- Google Cloud Spanner vs Zabbix
- Google Cloud Spanner vs Icinga
- Google Cloud Spanner vs LibreNMS
- Google Cloud Spanner vs Cacti
- Google Cloud Spanner vs OpenVPN
- Google Cloud Spanner vs Traefik
- Google Cloud Spanner vs Cloudflare
- Google Cloud Spanner vs PRTG Network Monitor
- Google Cloud Spanner vs Grafana
- Google Cloud Spanner vs Palo Alto Networks
- Google Cloud Spanner vs Prometheus
- Google Cloud Spanner vs Netdata
- Nebula vs Azure Cosmos DB
- Nebula vs CockroachDB
- Nebula vs Amazon Aurora
- Nebula vs TiDB
- Nebula vs YugabyteDB
- Nebula vs Aerospike
- Nebula vs PostgreSQL
- Nebula vs ArangoDB
- Nebula vs Cassandra
- Nebula vs MariaDB
- Nebula vs Milvus
- Nebula vs MongoDB
- Nebula vs DataGrip
- Nebula vs Dremio
- Nebula vs EMQX
- Nebula vs Firebolt
- Nebula vs Azure SQL
- Nebula vs CouchDB
- Nebula vs NetBird
- Nebula vs Headscale
- Nebula vs Tailscale
- Nebula vs Twingate
- Nebula vs ZeroTier
- Nebula vs pfSense
- Nebula vs Zabbix
- Nebula vs Icinga
- Nebula vs LibreNMS
- Nebula vs Cacti
- Nebula vs OpenVPN
- Nebula vs Traefik
- Nebula vs Cloudflare
- Nebula vs PRTG Network Monitor
- Nebula vs Grafana
- Nebula vs Palo Alto Networks
- Nebula vs Prometheus
- Nebula vs Netdata
