Softwr

Cloud · head to head

AWS Lambda vs Nebula

AWS Lambda logo

AWS Lambda

Cloud

Run code without thinking about servers

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

  • AWS Lambda is a serverless compute service.
  • Both are free.
  • Only AWS Lambda lists event-driven execution; only Nebula lists certificate carried identity.
  • Where AWS Lambda falls short: provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs.

How do AWS Lambda and Nebula differ?

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

Attributes where AWS Lambda and Nebula differ
AttributeAWS LambdaNebula
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWeb, APILinux, macOS, Windows, iOS, Android
CategoryCloudNetworking

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

Not yet recorded: founded for Nebula.

Which features does each one have?

They share no listed features; 20 appear only for AWS Lambda 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 AWS Lambda

  • Function-as-a-Service
  • Event-driven execution
  • Auto-scaling
  • Pay-per-use
  • Multiple languages
  • Concurrency limits
  • Dead Letter Queues
  • Environment variables

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?

AWS Lambda is most often brought in for event-driven functions without managing servers. The jobs each tool is most often brought in to do.

AWS Lambda

  • Event-driven functions without managing serversnot Nebula
  • API backends behind API Gatewaynot Nebula
  • Processing S3, DynamoDB, SQS and Kinesis eventsnot Nebula
  • Scheduled jobs without a always-on instancenot Nebula
  • Edge compute through Lambda@Edgenot Nebula

Nebula

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

Where do AWS Lambda and Nebula fall short?

AWS Lambda's most cited limit: ephemeral storage beyond the included 512 MB is metered. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS Lambda

  • Billed on two axes at once, $0.20 per million requests plus $0.0000166667 per GB-second of duration, so memory settings change the bill as much as traffic does
  • Provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs
  • Ephemeral storage beyond the included 512 MB is metered
  • Lambda@Edge costs $0.60 per million requests, three times the standard request rate
  • VPC use and cross-region data transfer carry EC2 charges on top

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

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

AWS Lambda

Free
  • Free TierFree
    • 1M free requests/month
    • 400,000 GB-seconds/month
    • Always free

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 AWS Lambda if

  • You need function-as-a-service.
  • You want to start without paying.
  • You work on Web, API.
  • You also want event-driven execution.

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 AWS Lambda or Nebula better?
It depends on the job. AWS Lambda fits event-driven functions without managing servers; Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables. AWS Lambda starts at Free and Nebula at Free.
Which is cheaper, AWS Lambda or Nebula?
AWS Lambda starts at Free and Nebula at Free.
Does AWS Lambda or Nebula run on more platforms?
AWS Lambda runs on Web, API. Nebula runs on Linux, macOS, Windows, iOS, Android.
Can I use AWS Lambda for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS Lambda best used for?
AWS Lambda is most often used for event-driven functions without managing servers, api backends behind api gateway, processing s3, dynamodb, sqs and kinesis events, scheduled jobs without a always-on instance. Of those, event-driven functions without managing servers and api backends behind api gateway are not what Nebula is typically brought in for.
What can AWS Lambda do that Nebula cannot?
AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use. Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption.

Answered from the vendors’ own pages

AWS Lambda: Is there a free tier for AWS Lambda?

Yes. AWS Lambda offers a free tier including 1 million requests per month, 400,000 GB-seconds per month, and 100 GB monthly response streaming.

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.

AWS Lambda: How is AWS Lambda charged?

Lambda charges $0.20 per million requests. Duration charges are $0.0000166667 per GB-second for x86 (up to 6 billion GB-seconds/month in US East Ohio with tiered pricing). Ephemeral storage over the included 512 MB costs $0.0000000309 per GB-second. Provisioned Concurrency costs $0.0000041667 per GB-second with a 5-minute minimum.

Source
Nebula: Can I run it without Defined Networking?

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

AWS Lambda: What are Lambda Durable Functions pricing?

Lambda Durable Functions include operations at $8.00 per million (start execution, steps, waits). Data written costs $0.25 per GB. Data retention is $0.15 per GB-month with configurable 1-90 day retention (default 14 days).

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