Softwr

Databases · head to head

Amazon Neptune vs AWS Lambda

Amazon Neptune logo

Amazon Neptune

Databases

Managed graph database on AWS for property graph and RDF data

From
On request
Free plan
No
AWS Lambda logo

AWS Lambda

Cloud

Run code without thinking about servers

From
Free
Free plan
Yes

The short version

  • AWS Lambda is a serverless compute service.
  • AWS Lambda is free; Amazon Neptune starts at $0.348/mo.
  • Only Amazon Neptune lists gremlin, openCypher and SPARQL; only AWS Lambda lists event-driven execution.
  • Where Amazon Neptune falls short: available only on AWS, with no on-premises edition.
  • 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 Amazon Neptune and AWS Lambda differ?

Amazon Neptune and AWS Lambda differ on starting price (On request against Free), free tier (No against Yes) and platforms (Web against Web, API). Only the attributes on which Amazon Neptune and AWS Lambda actually diverge.

Attributes where Amazon Neptune and AWS Lambda differ
AttributeAmazon NeptuneAWS Lambda
Starting priceOn requestFree
Free tierNoYes
PlatformsWebWeb, API
CategoryDatabasesCloud

Identical on both: pricing model (Usage-based).

Not yet recorded: founded for Amazon Neptune.

Which features does each one have?

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

  • Property graph and RDF support
  • Gremlin, openCypher and SPARQL
  • Serverless scaling in NCUs
  • Neptune Analytics with graph algorithms and vector search
  • Read replicas and cross-Region replication
  • Point-in-time recovery
  • GraphRAG with Amazon Bedrock

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

What is each one used for?

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

Amazon Neptune

  • Knowledge graphsnot AWS Lambda
  • Fraud detectionnot AWS Lambda
  • Customer 360 profilesnot AWS Lambda
  • Security asset graphsnot AWS Lambda

AWS Lambda

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

Where do Amazon Neptune and AWS Lambda fall short?

Amazon Neptune's most cited limit: available only on AWS, with no on-premises edition. AWS Lambda's: ephemeral storage beyond the included 512 MB is metered. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon Neptune

  • Available only on AWS, with no on-premises edition
  • Pricing combines instance, storage, I/O and data transfer charges
  • Free tier lasts only 30 days from the first cluster
  • Regional prices differ from the US East examples shown

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

How much do Amazon Neptune and AWS Lambda cost?

Amazon Neptune starts at $0.348/mo; AWS Lambda is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon Neptune

On request
  • db.r5.large on-demand, US East Standard$0.348/hour

AWS Lambda

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

Which should you pick?

Choose Amazon Neptune if

  • You need property graph and rdf support.
  • You also want gremlin, opencypher and sparql.

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.

Questions people ask

Is Amazon Neptune or AWS Lambda better?
It depends on the job. Amazon Neptune fits knowledge graphs; AWS Lambda fits event-driven functions without managing servers. Amazon Neptune starts at On request and AWS Lambda at Free.
Which is cheaper, Amazon Neptune or AWS Lambda?
AWS Lambda has a free tier; the other does not. Paid plans start at On request for Amazon Neptune and Free for AWS Lambda.
Does Amazon Neptune or AWS Lambda run on more platforms?
Amazon Neptune runs on Web. AWS Lambda runs on Web, API.
Can I use AWS Lambda for free?
Yes. AWS Lambda has a free tier, so you can try it without paying. Amazon Neptune starts at On request.
What is Amazon Neptune best used for?
Amazon Neptune is most often used for knowledge graphs, fraud detection, customer 360 profiles, security asset graphs. Of those, knowledge graphs and fraud detection are not what AWS Lambda is typically brought in for.
What can Amazon Neptune do that AWS Lambda cannot?
Amazon Neptune covers Property graph and RDF support, Gremlin, openCypher and SPARQL, Serverless scaling in NCUs, Neptune Analytics with graph algorithms and vector search. AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use.

Answered from the vendors’ own pages

Amazon Neptune: Which query languages does Neptune support?

Wikipedia says Gremlin, openCypher and SPARQL, usable on the same instance.

Source
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
Amazon Neptune: How is Neptune priced?

Usage based with no upfront commitment. An example is 0.348 dollars an hour for db.r5.large in US East on Standard, plus storage and I/O.

Source
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
Amazon Neptune: Is there a free tier?

Yes, for 30 days from the first cluster: 750 hours of db.t3.medium or db.t4g.medium, 10 million I/Os and 1 GB storage.

Source
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
Share

Related pages

Other head to heads