Centralized AWS Security Logging Architecture

CloudTrail and Config evidence from workload accounts converges in a dedicated log archive account, where S3 Object Lock protects retained evidence for Athena investigations and QuickSight reporting.

Explore diagram

Explore on mobile. Create and edit manually or with AI on a computer.

Centralized AWS security logging diagram separating workload audit collection from a log archive account with S3 Object Lock, Athena, and QuickSightExplore diagram

Centralized AWS security logging diagram separating workload audit collection from a log archive account with S3 Object Lock, Athena, and QuickSight. Open the image to explore this ready-made diagram.

Overview

AWS Organizations establishes the account scope for audit collection. An organization trail and per-account Config recorders deliver evidence from workload accounts to an S3 Object Lock archive in a separate account. Retention and administration are separated from the workloads; Athena and QuickSight support investigation and reporting over that archive.

Components

  • AWS Organizations: The organization defines the account scope for centralized audit collection.
  • Workload accounts: An organization trail collects activity, while Config records resource history in each covered account and Region.
  • Log archive account: A dedicated account owns cross-account delivery policies, versioned S3 evidence, and Object Lock retention.
  • Athena and QuickSight: Security teams query retained evidence and communicate recurring controls through dashboards.

Audit Evidence Flow

  1. Organization-trail coverage and per-account Config recorders collect activity and resource state.
  2. Both evidence streams deliver across account boundaries into the Object Lock-enabled S3 archive.
  3. Athena investigations feed repeatable security and compliance dashboards.

Customize First

  • Separate log archive, security tooling, and workload administration accounts.
  • Add GuardDuty and Security Hub workflows for active detection and response.
  • Test that workload administrators cannot alter organization trails or retained evidence.

Related AWS guides

Use these practical explanations to compare services, failure boundaries, and operating tradeoffs before adapting the architecture.

Design rationale

Decisions that shape this architecture

1

Collect at organization scope

Organization-level coverage reduces account-by-account drift and makes new account logging part of the default governance model.

2

Protect evidence outside workload administration

A dedicated archive account limits the ability of workload administrators to alter trails, delete evidence, or weaken retention.

3

Separate storage from investigation

S3 remains the durable evidence store while Athena and QuickSight provide replaceable query and reporting views over retained records.

Before production

Operational checks

Detect disabled trails, stopped Config recorders, delivery failures, and policy changes.

Test archive write permissions, read separation, Object Lock, encryption, and retention.

Partition and compact audit data so common Athena investigations remain practical.

Run incident queries and evidence-retrieval exercises before an audit or breach.

Scope and tradeoffs

What this diagram does not solve

Logging is not active threat response

Add detection, triage, alerting, and response workflows such as GuardDuty and Security Hub around the retained evidence.

One Region is shown for analysis

Organizations with multi-Region requirements should design collection, residency, replication, and investigation access for each required location.

Common questions

Frequently asked questions

Why combine CloudTrail and AWS Config evidence?

CloudTrail records API activity, while Config records resource state and change history. Together they help investigators connect an action to its infrastructure effect.

Should the log archive use a separate AWS account?

Usually yes. A dedicated security or log-archive account creates a stronger administrative boundary from workload teams and compromised application accounts.

Is QuickSight required for security logging?

No. It is one reporting option. Retain S3 and Athena as the evidence and query foundation, then choose dashboards that match the security workflow.

Keep exploring

Explore the library
Secure AWS file upload architecture diagram with Cognito, presigned S3 upload, GuardDuty malware scanning, clean and quarantine buckets, KMS, Step Functions, and DynamoDB status
File Processingadvanced

Secure File Upload and Malware-Scanning Pipeline on AWS

This architecture keeps large upload bytes out of the API, lands every object in an encrypted trust boundary, scans before promotion, quarantines suspicious files, and exposes processing status to the application. It is a security-focused workflow rather than a generic upload shortcut.

Explore the architecture
Serverless multi-tenant SaaS AWS architecture diagram with CloudFront, WAF, Cognito, API Gateway, Lambda, EventBridge, SQS, DynamoDB Streams, and S3
SaaS Backendadvanced

Serverless Multi-Tenant SaaS Architecture on AWS

This architecture combines a protected synchronous API with a durable asynchronous work path. Tenant identity travels from Cognito into application authorization, domain events decouple background work, and DynamoDB plus S3 provide scalable tenant state and assets.

Explore the architecture
Secure AWS authentication architecture diagram with Amazon Cognito, API Gateway authorizer, Lambda, and DynamoDB
Getting Startedbasic

Secure Application Authentication with Amazon Cognito

This architecture separates identity verification from application authorization. Cognito authenticates the user, API Gateway validates the presented token, Lambda enforces business rules, and DynamoDB remains behind the application boundary.

Explore the architecture

Ready-made AWS diagram

Explore this AWS architecture

Open the diagram from this guide and explore how it works. Create and edit manually or with AI on a computer.

Explore diagram