Softwr

Cloud · head to head

Amazon GuardDuty vs AWS Lambda

Amazon GuardDuty logo

Amazon GuardDuty

Cloud

Managed threat detection for AWS accounts, workloads and data, priced by volume analysed

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 GuardDuty prices on request.
  • Only Amazon GuardDuty lists foundational detection; only AWS Lambda lists event-driven execution.
  • Where Amazon GuardDuty falls short: it detects but does not remediate; without EventBridge automation or an on-call process findings simply accumulate.
  • 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 GuardDuty and AWS Lambda differ?

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

Attributes where Amazon GuardDuty and AWS Lambda differ
AttributeAmazon GuardDutyAWS Lambda
Starting priceOn requestFree
Pricing modelPer volume of events and data analysed, by protectionUsage-based
Free tierNoYes
PlatformsWebWeb, API

Not yet recorded: category for Amazon GuardDuty, founded for Amazon GuardDuty.

Which features does each one have?

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

  • Foundational detection
  • S3 Protection
  • Runtime Monitoring
  • Malware Protection
  • Extended threat detection
  • Multi-account management

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 GuardDuty is most often brought in for baseline threat detection across a multi-account AWS organisation; AWS Lambda for event-driven functions without managing servers. The jobs each tool is most often brought in to do.

Amazon GuardDuty

  • Baseline threat detection across a multi-account AWS organisationnot AWS Lambda
  • Spotting stolen IAM credentials and crypto-mining instancesnot AWS Lambda
  • Container runtime threat detection on EKS and Fargatenot AWS Lambda
  • Feeding findings into Security Hub and a SIEMnot AWS Lambda

AWS Lambda

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

Where do Amazon GuardDuty and AWS Lambda fall short?

Amazon GuardDuty's most cited limit: it detects but does not remediate; without EventBridge automation or an on-call process findings simply accumulate. 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 GuardDuty

  • It detects but does not remediate; without EventBridge automation or an on-call process findings simply accumulate
  • Cost scales with log volume, so busy accounts with large S3 data event or flow log volumes can see bills rise sharply
  • Each protection is enabled and priced separately, so full coverage needs deliberate configuration per Region and account
  • It only sees AWS, so threats on endpoints, SaaS or other clouds need other tools
  • Tuning is limited; you can suppress findings but cannot write custom detection rules as in a SIEM

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

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

Amazon GuardDuty

On request
  • Foundational detectionOn request
    • $4.00 per million CloudTrail management events
    • $1.00 per GB for VPC flow and DNS logs, first 500 GB
    • 30-day free trial for new accounts
  • S3 and EKS protectionOn request
    • S3 data events: $0.80 per million, first 500 million
    • EKS audit logs: $1.60 per million, first 100 million
  • Runtime MonitoringOn request
    • $1.50 per vCPU per month for the first 500 vCPUs
    • $0.75 per vCPU for the next 4,500

AWS Lambda

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

Which should you pick?

Choose Amazon GuardDuty if

  • You need foundational detection.
  • You also want s3 protection.

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 GuardDuty or AWS Lambda better?
It depends on the job. Amazon GuardDuty fits baseline threat detection across a multi-account AWS organisation; AWS Lambda fits event-driven functions without managing servers. Amazon GuardDuty starts at On request and AWS Lambda at Free.
Which is cheaper, Amazon GuardDuty or AWS Lambda?
AWS Lambda has a free tier; the other does not. Paid plans start at On request for Amazon GuardDuty and Free for AWS Lambda.
Does Amazon GuardDuty or AWS Lambda run on more platforms?
Amazon GuardDuty 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 GuardDuty starts at On request.
What is Amazon GuardDuty best used for?
Amazon GuardDuty is most often used for baseline threat detection across a multi-account aws organisation, spotting stolen iam credentials and crypto-mining instances, container runtime threat detection on eks and fargate, feeding findings into security hub and a siem. Of those, baseline threat detection across a multi-account aws organisation and spotting stolen iam credentials and crypto-mining instances are not what AWS Lambda is typically brought in for.
What can Amazon GuardDuty do that AWS Lambda cannot?
Amazon GuardDuty covers Foundational detection, S3 Protection, Runtime Monitoring, Malware Protection. AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use.

Answered from the vendors’ own pages

Amazon GuardDuty: How much does GuardDuty cost?

Rates start at $4.00 per million CloudTrail management events and $1.50 per vCPU per month for runtime monitoring, per AWS in us-east-1.

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 GuardDuty: Is there a free trial?

Yes, 30 days for new accounts that have not enabled a GuardDuty feature.

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 GuardDuty: Do I need Security Hub too?

No, but Security Hub aggregates GuardDuty findings with other sources.

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