Softwr

Cloud · head to head

AWS Lambda vs Datadog APM

AWS Lambda logo

AWS Lambda

Cloud

Run code without thinking about servers

From
Free
Free plan
Yes
Datadog APM logo

Datadog APM

Cloud

Per-host distributed tracing and continuous profiling inside the Datadog platform

From
$31/month
Free plan
No

The short version

  • AWS Lambda is a serverless compute service.
  • AWS Lambda is free; Datadog APM starts at $31/mo.
  • Only AWS Lambda lists event-driven execution; only Datadog APM lists distributed tracing.
  • 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.
  • Where Datadog APM falls short: billing is per APM host with span allotments, so an autoscaling cluster that spikes in size produces a bill that is hard to forecast.

How do AWS Lambda and Datadog APM differ?

AWS Lambda and Datadog APM differ on starting price (Free against $31/month), pricing model and free tier (Yes against No). Only the attributes on which AWS Lambda and Datadog APM actually diverge.

Attributes where AWS Lambda and Datadog APM differ
AttributeAWS LambdaDatadog APM
Starting priceFree$31/month
Pricing modelUsage-basedPer APM host per month
Free tierYesNo
PlatformsWeb, APIWeb, Linux, Windows, macOS

Not yet recorded: category for Datadog APM, founded for Datadog APM.

Which features does each one have?

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

  • Distributed tracing
  • Trace retention filters
  • Continuous Profiler
  • Data Streams Monitoring
  • Dynamic Instrumentation
  • Cross-product correlation

What is each one used for?

AWS Lambda is most often brought in for event-driven functions without managing servers; Datadog APM for comparing CPU and memory profiles across deployments to cut cloud compute spend. The jobs each tool is most often brought in to do.

AWS Lambda

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

Datadog APM

  • Finding the slow service in a microservice request path that already reports metrics to Datadognot AWS Lambda
  • Comparing CPU and memory profiles across deployments to cut cloud compute spendnot AWS Lambda
  • Tracing message latency and consumer lag across Kafka or SQS pipelinesnot AWS Lambda
  • Linking a failing trace to the exact log lines and host metrics in one viewnot AWS Lambda

Where do AWS Lambda and Datadog APM 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

Datadog APM

  • Billing is per APM host with span allotments, so an autoscaling cluster that spikes in size produces a bill that is hard to forecast
  • The published APM rates assume Infrastructure monitoring is attached, so the true cost of tracing includes a separate per-host Infrastructure licence
  • Spans above the included ingestion and indexed-span allotments are billed separately, which penalises high-throughput services with verbose traces
  • Profiling and Data Streams Monitoring are locked to the higher tiers, so getting code-level insight costs roughly 30 percent more per host than basic tracing
  • It is tightly coupled to the Datadog agent and platform, so moving to another vendor later means re-instrumenting dashboards, monitors and retention rules

How much do AWS Lambda and Datadog APM cost?

AWS Lambda is free to use; Datadog APM starts at $31/mo. 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

Datadog APM

$31/month
  • APM$31/mo
    • $31 per host per month billed annually, with Infrastructure monitoring attached ($36 on-demand)
    • Distributed tracing and service dependency mapping
    • 15-day historical trace search
  • APM Pro$35/mo
    • $35 per host per month billed annually ($42 on-demand with Infrastructure attached)
    • Everything in APM
    • Data Streams Monitoring
  • APM Enterprise$40/mo
    • $40 per host per month billed annually ($48 on-demand with Infrastructure attached)
    • Everything in APM Pro
    • Continuous Profiler

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 Datadog APM if

  • You need distributed tracing.
  • You work on Web, Linux, Windows, macOS.
  • You also want trace retention filters.

Questions people ask

Is AWS Lambda or Datadog APM better?
It depends on the job. AWS Lambda fits event-driven functions without managing servers; Datadog APM fits finding the slow service in a microservice request path that already reports metrics to Datadog. AWS Lambda starts at Free and Datadog APM at $31/month.
Which is cheaper, AWS Lambda or Datadog APM?
AWS Lambda has a free tier; the other does not. Paid plans start at Free for AWS Lambda and $31/month for Datadog APM.
Does AWS Lambda or Datadog APM run on more platforms?
AWS Lambda runs on Web, API. Datadog APM runs on Web, Linux, Windows, macOS.
Can I use AWS Lambda for free?
Yes. AWS Lambda has a free tier, so you can try it without paying. Datadog APM starts at $31/month.
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 Datadog APM is typically brought in for.
What can AWS Lambda do that Datadog APM cannot?
AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use. Datadog APM covers Distributed tracing, Trace retention filters, Continuous Profiler, Data Streams Monitoring.

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
Datadog APM: How much does Datadog APM cost?

Datadog lists APM at $31 per host per month billed annually, APM Pro at $35 and APM Enterprise at $40, with Infrastructure monitoring attached. On-demand rates are higher, at $36, $42 and $48.

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
Datadog APM: Does Datadog APM work with OpenTelemetry?

Yes, Datadog ingests OpenTelemetry traces. It also sells OTLP APM Ingest as a separate priced product for teams sending OTLP data.

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
Datadog APM: What is the difference between Datadog APM and Datadog Infrastructure?

Infrastructure monitors hosts, containers and cloud services with metrics. APM adds request traces, service maps and profiling, and is licensed per APM host on top of Infrastructure.

Datadog APM: Can I buy APM without Infrastructure monitoring?

Datadog quotes the lowest APM rates with Infrastructure attached; without it the on-demand rate listed on its pricing page applies, so check the quote before committing.

Share

Related pages

Other head to heads