Softwr

Networking · head to head

Amazon SNS vs Nebula

Amazon SNS logo

Amazon SNS

Networking

Publish-subscribe messaging and mobile push, billed per request and per delivery

From
On request
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 SNS prices on request.
  • Only Amazon SNS lists topics and subscriptions; only Nebula lists certificate carried identity.
  • Where Amazon SNS falls short: SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill.

How do Amazon SNS and Nebula differ?

Amazon SNS and Nebula differ on starting price (On request against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon SNS and Nebula actually diverge.

Attributes where Amazon SNS and Nebula differ
AttributeAmazon SNSNebula
Starting priceOn requestFree
Pricing modelPer request and per delivery, by protocolOpen source, no licence fee
Free tierNoYes
PlatformsWeb, iOS, Android, LinuxLinux, macOS, Windows, iOS, Android

Not yet recorded: category for Amazon SNS.

Which features does each one have?

They share no listed features; 6 appear only for Amazon SNS 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 SNS

  • Topics and subscriptions
  • FIFO topics
  • Message filtering
  • Mobile push
  • SMS and email
  • Message archiving and replay

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 SNS is most often brought in for fanning one order event out to billing, fulfilment and analytics queues. The jobs each tool is most often brought in to do.

Amazon SNS

  • Fanning one order event out to billing, fulfilment and analytics queuesnot Nebula
  • Sending operational alerts from CloudWatch alarms to email and chat webhooksnot Nebula
  • Mobile push notifications for an app without running a push gatewaynot Nebula
  • Pairing with SQS FIFO for ordered event distribution across servicesnot Nebula

Nebula

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

Where do Amazon SNS and Nebula fall short?

Amazon SNS's most cited limit: payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon SNS

  • SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill
  • There is no message persistence for slow subscribers beyond delivery retries, so consumers that fall behind can lose messages unless an SQS queue sits between
  • It lacks the audience management, templating and campaign analytics of a marketing platform, so it cannot replace a customer messaging tool
  • Payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes
  • Delivery to HTTP endpoints requires your endpoint to confirm subscriptions and cope with retries and duplicates

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 SNS and Nebula cost?

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

Amazon SNS

On request
  • Publishes and mobile pushOn request
    • First 1 million requests free, then $0.50 per million
    • Mobile push free for the first 1 million, then $0.50 per million
  • HTTP, HTTPS and emailOn request
    • HTTP and HTTPS: first 100,000 free, then $0.60 per million
    • Email: first 1,000 free, then $2.00 per 100,000
    • SQS and Lambda deliveries: no per-delivery charge
  • SMSOn request
    • Priced per message by destination country, see the SNS pricing page
    • Not covered by the free tier in most regions

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 SNS if

  • You need topics and subscriptions.
  • You work on Web, iOS, Android, Linux.
  • You also want fifo topics.

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 SNS or Nebula better?
It depends on the job. Amazon SNS fits fanning one order event out to billing, fulfilment and analytics queues; Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables. Amazon SNS starts at On request and Nebula at Free.
Which is cheaper, Amazon SNS or Nebula?
Nebula has a free tier; the other does not. Paid plans start at On request for Amazon SNS and Free for Nebula.
Does Amazon SNS or Nebula run on more platforms?
Amazon SNS runs on Web, iOS, Android, 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 SNS starts at On request.
What is Amazon SNS best used for?
Amazon SNS is most often used for fanning one order event out to billing, fulfilment and analytics queues, sending operational alerts from cloudwatch alarms to email and chat webhooks, mobile push notifications for an app without running a push gateway, pairing with sqs fifo for ordered event distribution across services. Of those, fanning one order event out to billing, fulfilment and analytics queues and sending operational alerts from cloudwatch alarms to email and chat webhooks are not what Nebula is typically brought in for.
What can Amazon SNS do that Nebula cannot?
Amazon SNS covers Topics and subscriptions, FIFO topics, Message filtering, Mobile push. Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption.

Answered from the vendors’ own pages

Amazon SNS: Is Amazon SNS free?

The first 1 million requests per month are free, plus small free allowances for HTTP and email deliveries, per AWS. SMS is not free.

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 SNS: Does SNS keep messages?

Standard topics do not store messages for slow subscribers; durability comes from subscribing an SQS queue.

Nebula: Can I run it without Defined Networking?

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

Amazon SNS: Can I send email with SNS?

Yes, for alerts, but it is plain notification email. Amazon SES is the service for transactional and bulk email.

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