AWS · Security, Identity, and Compliance

Amazon GuardDuty

Continuous threat detection that analyses account, network and workload activity and reports suspicious behaviour as findings.

On the SAA-C03 exam listThreat detectionMonitoring and observability

What it is and what problem it solves

Amazon GuardDuty watches activity in your accounts and reports findings when something looks malicious or unusual: credentials used from an unusual place, an instance talking to a known command-and-control server, cryptocurrency mining, S3 data being exfiltrated, and more. It reads CloudTrail management events, VPC Flow Logs and DNS query logs directly (you do not have to enable or store them for GuardDuty), and optional protection plans extend it to S3 data events, EKS, runtime monitoring on EC2 and containers, RDS logins, Lambda network activity and malware scanning.

GuardDutythreats in logsInspectorvulnerabilitiesMaciesensitive data in S3ConfigmisconfigurationsIAM Access Analyzerexternal accessSecurity Hubone view + standardsDetectiveinvestigate root causeEventBridge→ Lambda / SSM fixTicket / chat alert
Detection services feed findings into Security Hub; EventBridge triggers automatic responses

When to use it

  • Every account: it is the baseline for detecting compromised credentials and workloads.
  • You need detection across an organisation, managed from one delegated administrator account.
  • Findings should trigger automated responses through EventBridge.

When to avoid it

  • Finding software vulnerabilities: that is Inspector.
  • Finding sensitive data in S3: that is Macie.
  • Investigating the root cause of a finding in depth: Detective builds the graph for that.
  • Blocking traffic: GuardDuty detects; use WAF, Network Firewall or security groups to block.

Cost model

What you pay for

Billed by the volume of data analysed: CloudTrail events (per million), VPC Flow Logs and DNS logs (per GB), S3 data events, EKS audit logs, runtime monitoring (per vCPU), malware scans (per GB scanned) and other protection plans. A 30-day free trial applies per account and Region.

Where it is cost-efficient

Accounts with moderate activity, where the cost is small compared with the risk it covers.

Where costs grow

Very high CloudTrail or S3 data-event volumes, large fleets with runtime monitoring, and frequent malware scans.

Cost controls and common surprises

Use the usage view to see cost per data source, enable protection plans where they matter, and review findings rather than just paying for them.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

Threat intelligence feeds, machine-learning anomaly detection, and findings ranked by severity.

What you configure

Enable it in every Region and account (through Organizations), route high-severity findings to people or automation, and suppress known benign patterns carefully.

Logging and monitoring

Findings go to the console, EventBridge, Security Hub and optionally S3.

Related security services

Security Hub, Detective, EventBridge, Lambda for automated response.

Shared responsibility

AWS operates the detection. You act on findings and fix the underlying issues.

Common service combinations

EventBridge to Lambda or Step Functions for automatic isolation; Security Hub to aggregate; Detective to investigate.

Business application examples

  • An alert when an access key is used from an unexpected country, which revokes the key automatically.
  • Detecting an EC2 instance mining cryptocurrency after a compromise.

Exam cues and common confusions

  • Detect threats and compromised credentials from logs, no agents to manage: GuardDuty.
  • Vulnerabilities in EC2, containers and Lambda: Inspector. Sensitive data in S3: Macie.
  • Investigate a finding's root cause: Detective. One view of everything: Security Hub.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake