This guide groups AWS services by their role in incident response (Detect → Process → Notify → Remediate → Investigate) and highlights integration patterns, service limits, and cross-account considerations to help you design robust systems.
Detection (signals and events)
The detection layer captures signals that an incident may be occurring — from AWS service health to API activity, metrics, and logs. Primary services:- AWS Health — official source for AWS service and account-level health notifications.
- Amazon EventBridge — event routing and bus for AWS service events and custom events; supports rule-based routing and filtering.
- AWS CloudTrail — records management API activity (and optional data events) for auditing and forensics.
- Amazon CloudWatch — metrics and logs; use AWS X-Ray for distributed tracing and ServiceLens for combined diagnostics.

Warning about latency and real-time requirements
CloudTrail delivery to S3 is useful for auditing and post-incident forensics but introduces delivery latency (commonly 5–15 minutes). For near real-time or sub-second detection and response, prefer EventBridge or streaming services such as Kinesis.CloudTrail → S3 typically has multi-minute delivery latency (about 5–15 minutes). For sub-second or near real-time incident response, use EventBridge or streaming services like Kinesis.
Processing (event handling and compute)
Event-driven compute and orchestration services implement the processing and remediation steps once a signal is detected:- AWS Lambda — serverless compute for short-lived custom remediation and processing (max timeout: 15 minutes).
- AWS Step Functions — stateful orchestration for multi-step workflows, approvals, and human-in-the-loop flows.
- Amazon SQS — managed queuing for buffering asynchronous work and decoupling producers/consumers.
- Amazon Kinesis Data Streams — high-throughput, real-time stream processing for large event volumes.
- Use Lambda for short, idempotent tasks and quick remediations (<= 15 minutes).
- Use Step Functions for complex, long-running, or approval-based workflows.
- Use Kinesis when you require scalable, ordered, low-latency stream processing that exceeds EventBridge scale or requires retention.
Notification (fan-out and alerting)
Notification services deliver alerts to operators, on-call systems, and downstream automation:- Amazon SNS — multi-protocol pub/sub with delivery to Email, SMS, HTTPS, Lambda, SQS, and mobile push; supports subscription filtering and retries.
- Amazon EventBridge — advanced event routing to many target types; preferred for complex routing at scale.
- Amazon SES — optimized for high-quality email delivery (transactional or bulk) and formatted content; use when email is the primary delivery channel.


Automated remediation (runbooks and enforcement)
Automated remediation typically combines runbook tools and custom compute:- AWS Systems Manager Automation — authorable runbooks for operational tasks and remediation.
- AWS Config Remediation — detects compliance drift and invokes remediation playbooks.
- AWS Lambda / Step Functions — implement custom remediation logic, approval gates, or complex state machines.
- Lambda is common for custom remediation but remember the 15-minute execution limit.
- For human approval workflows, Step Functions can orchestrate approvals using SNS or Systems Manager integration.

Investigation and analysis (forensics and diagnostics)
Tools for deeper investigation and post-incident analysis:- CloudWatch Logs Insights — ad-hoc, fast log queries and analytics.
- AWS X-Ray — distributed tracing for request flows, dependency mapping, and latency analysis.
- Systems Manager OpsCenter — centralized operational items and remediation tracking.
- CloudWatch ServiceLens — integrates metrics, logs, and traces for service-level diagnostics.
- Other options: OpenSearch for log analytics and Amazon Security Hub for aggregated security findings.

Service integration patterns (common end-to-end flows)
These patterns combine the services above into reliable end-to-end incident response pipelines:- Event-driven remediation:
- Source event (e.g., AWS Config) → EventBridge rule → Systems Manager Automation or Lambda → CloudWatch Logs captures results → OpsCenter tracks lifecycle.
- Fan-out notifications:
- Alarm → SNS topic → multiple subscribers (e.g., PagerDuty, Lambda, SQS, email, SMS).
- Approval workflows:
- EventBridge → Step Functions (notify human approver via SNS) → upon approval, Systems Manager Automation or Lambda executes remediation.
- High-volume processing:
- CloudTrail (or other producer) → EventBridge → Kinesis Data Streams → multiple Lambda consumers → aggregated results stored in DynamoDB → visualized in CloudWatch dashboards.

Operational considerations
Key operational topics to plan for early:- Permissions and cross-account access: design assume-role flows and resource policies for EventBridge, Lambda, Systems Manager, and SQS in cross-account architectures.
- Service quotas and concurrency limits: watch Lambda concurrency, Systems Manager throughput, EventBridge rules, and Kinesis shard throughput.
- SQS FIFO throughput: nominally limited to 300 transactions per second without batching; batching increases effective throughput.
- Logging retention and tiering: implement hot → warm → cold tiers (e.g., CloudWatch Logs → S3 Glacier) to control cost and query performance.
Cross-account and cost considerations
Centralizing telemetry and choosing efficient cross-account integrations can reduce cost and simplify operations:- Centralized logging: consolidate logs into a single S3 bucket or logging account to reduce duplication and centralize retention/archival policies.
- Cross-region costs: cross-region CloudWatch data transfer and storage can add costs — design region placement carefully.
- EventBridge cross-account: EventBridge cross-account delivery within the same region does not incur additional transfer charges and can be a cost-effective backbone for aggregation.

Service selection decision table (quick reference)
Service limits and notable constraints
- Lambda maximum execution time: 15 minutes.
- CloudTrail → S3 delivery latency: typically 5–15 minutes (not suitable for real-time reaction).
- EventBridge rules: regional quota commonly 10,000 rules per account (check current limits).
- CloudWatch Alarms: quota examples shown in service documentation and images (e.g., 5K example).
- SQS FIFO throughput: ~300 TPS without batching; batching increases effective throughput.
Key takeaways
- Incident response architectures map naturally to five roles: detection, processing, notification, remediation, and investigation.
- Choose EventBridge and Kinesis for real-time routing and streaming; use SNS or SES for notification depending on protocol and formatting needs.
- Know key limits up front: Lambda 15-minute timeout, CloudTrail-to-S3 latency, EventBridge and CloudWatch quotas, and SQS FIFO throughput constraints.
- Design cross-account permissions and centralized telemetry early to simplify operations and control costs.
- Implement log retention tiers (hot → warm → cold) to optimize cost, access latency, and query performance.
Links and references
- AWS EventBridge — https://docs.aws.amazon.com/eventbridge/
- AWS CloudTrail — https://docs.aws.amazon.com/cloudtrail/
- Amazon CloudWatch — https://docs.aws.amazon.com/cloudwatch/
- AWS Lambda — https://docs.aws.amazon.com/lambda/
- AWS Step Functions — https://docs.aws.amazon.com/step-functions/
- Amazon SQS — https://docs.aws.amazon.com/AWSSimpleQueueService/
- Amazon Kinesis — https://docs.aws.amazon.com/kinesis/
- Amazon SNS — https://docs.aws.amazon.com/sns/
- Amazon SES — https://docs.aws.amazon.com/ses/
- AWS Systems Manager — https://docs.aws.amazon.com/systems-manager/
- AWS Config — https://docs.aws.amazon.com/config/
- AWS X-Ray — https://docs.aws.amazon.com/xray/
- Amazon OpenSearch Service — https://docs.aws.amazon.com/opensearch/
- AWS Security Hub — https://docs.aws.amazon.com/securityhub/