The mental model

CloudTrail records supported account and API activity, helping answer who changed a resource or policy. CloudWatch application logs answer a different question: what the application did. Event coverage, retention, data events, and destinations depend on the CloudTrail configuration. Do not assume every operation is logged forever by default.

An incident process needs detection, ownership, containment, recovery, and follow-up. Preserve useful evidence while stopping the immediate impact. Use scoped operational access and record changes made during recovery. Systems Manager can support managed operations, but it also requires the appropriate identity, connectivity, and managed-node configuration.

Decisions to make

  1. Configure audit coverage and retention according to the actions you must investigate.
  2. Give responders a tested runbook and a bounded way to obtain operational access.

Design exercise · no AWS resources needed

Work through a scenario

A database becomes unreachable shortly after a network-policy change.

  1. Separate application errors from the audit trail of configuration changes.
  2. Identify the change and a safe rollback or containment action.
  3. Write a follow-up that prevents recurrence without exposing credentials.

Check your understanding

Which question is CloudTrail especially useful for?

Continue with AWS documentation

Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.

Saved in this browser. Press again to undo.

Prepaid · USD

Top up balance

Available balance: $0.00

Your balance works across Heap tools. A failed lookup or generation releases its reserved amount.