Softwr

Cloud · head to head

Amazon EC2 vs Nebula

Amazon EC2 logo

Amazon EC2

Cloud

Resizable virtual server compute service on AWS

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 Amazon EC2 lists over 1,000 instance types; only Nebula lists certificate carried identity.
  • Where Amazon EC2 falls short: cost forecasting is complex across purchase options and instance types.

How do Amazon EC2 and Nebula differ?

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

Attributes where Amazon EC2 and Nebula differ
AttributeAmazon EC2Nebula
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWeb, Linux, Windows, macOSLinux, macOS, Windows, iOS, Android
CategoryCloudNetworking

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

Which features does each one have?

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

  • Over 1,000 instance types
  • Intel, AMD and Arm (Graviton) processors
  • Per-second billing
  • Spot Instances and Savings Plans
  • Dedicated Hosts
  • EC2 Mac instances
  • Nitro System isolation

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 EC2 is most often brought in for hosting web applications and APIs. The jobs each tool is most often brought in to do.

Amazon EC2

  • Hosting web applications and APIsnot Nebula
  • Running GPU and machine learning workloadsnot Nebula
  • Building and signing macOS appsnot Nebula
  • Bursting capacity with Spot Instancesnot Nebula

Nebula

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

Where do Amazon EC2 and Nebula fall short?

Amazon EC2's most cited limit: cost forecasting is complex across purchase options and instance types. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon EC2

  • Cost forecasting is complex across purchase options and instance types
  • Spot instances carry no SLA and can be reclaimed on two minutes' notice
  • Instance-store data is lost when an instance stops or terminates
  • You manage OS patching, scaling and security configuration

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

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

Amazon EC2

Free

No published plan breakdown. See the Amazon EC2 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 Amazon EC2 if

  • You need over 1,000 instance types.
  • You want to start without paying.
  • You work on Web, Linux, Windows, macOS.
  • You also want intel, amd and arm (graviton) processors.

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 EC2 or Nebula better?
It depends on the job. Amazon EC2 fits hosting web applications and APIs; Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables. Amazon EC2 starts at Free and Nebula at Free.
Which is cheaper, Amazon EC2 or Nebula?
Amazon EC2 starts at Free and Nebula at Free.
Does Amazon EC2 or Nebula run on more platforms?
Amazon EC2 runs on Web, Linux, Windows, macOS. Nebula runs on Linux, macOS, Windows, iOS, Android.
Can I use Amazon EC2 for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amazon EC2 best used for?
Amazon EC2 is most often used for hosting web applications and apis, running gpu and machine learning workloads, building and signing macos apps, bursting capacity with spot instances. Of those, hosting web applications and apis and running gpu and machine learning workloads are not what Nebula is typically brought in for.
What can Amazon EC2 do that Nebula cannot?
Amazon EC2 covers Over 1,000 instance types, Intel, AMD and Arm (Graviton) processors, Per-second billing, Spot Instances and Savings Plans. Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption.

Answered from the vendors’ own pages

Amazon EC2: How is Amazon EC2 billed?

Usage is billed in one-second increments with a minimum charge of 60 seconds, across all purchase options and Regions.

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.

Amazon EC2: When did EC2 launch?

A limited public beta started on 25 August 2006, and the beta label was dropped on 23 October 2008 with the addition of an SLA.

Source
Nebula: Can I run it without Defined Networking?

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

Amazon EC2: How much can Spot Instances save?

AWS says Spot Instances save up to 90 percent versus On-Demand, and Savings Plans up to 72 percent. Wikipedia notes Spot can be reclaimed with two minutes' notice.

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.

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