Skip to main content
友田 陽大

Category

AWS CloudTrail 監査・ガバナンス実装ガイド(証跡設計/CloudWatch・Config比較/料金・コスト最適化/脅威検知・インシデント対応/Organizations全社監査/PCI DSS・SOC 2・ISO 27001コンプライアンス/CloudTrail Lake・Trino SQL)

CloudTrailは『誰が・いつ・どこから・どのAWS APIを呼んだか』を改ざん不能な形で残す、ガバナンス・コンプライアンス・運用監査・リスク監査の土台です。本クラスタは、CloudTrailを採用した後の『どう本番で作るか』に集中します——マルチリージョン証跡+SSE-KMS暗号化+ログ整合性検証+最小権限バケットポリシーの初期設計、CloudWatch(性能・ログ)/AWS Config(構成・準拠)との役割分担、管理イベント1コピー目はリージョンごと無料・データイベントは1コピー目から課金というコストの分岐と最適化、EventBridge/CloudWatch/GuardDuty/Security Hubによる脅威検知とAthena/Lakeでのフォレンジック調査、そしてAWS Organizationsの組織トレイル・委任管理者・専用ログアーカイブアカウント・SCPによる全社監査基盤まで——可観測性・回復性・冪等性・セキュリティ・コスト効率・テスト容易性を軸に体系化します。サーバーレス決済基盤(本番二重課金0件)の信頼性レイヤーを設計・主導し、『正しさを後から否認不能に証明できる状態』を最初から作ってきた知見を根拠に、AWS公式ドキュメントに忠実な実コードで解説します。アプリ内部の可観測性(OpenTelemetry/SLO)は『可観測性・SRE』クラスタ、WAF・IAM等の周辺セキュリティは『インフラ・IaC・CI/CD』『DynamoDB』クラスタを参照してください。

7 articles in total

Foundational guide

Foundational guide (start here)

AWS
CloudTrail
セキュリティ
監査ログ
Terraform

The Complete AWS CloudTrail Guide (2026 Edition): Designing API Activity Auditing, Trails, CloudTrail Lake, Athena Analysis, and Real-Time Detection at Production Quality

AWS CloudTrail explained faithfully to the official docs. From the four event types (management/data/Insights/network activity) and the difference between event history vs. a trail, to the Terraform initial setup of a multi-region trail, SSE-KMS encryption and log-integrity validation, real-time detection and long-term investigation with EventBridge/CloudWatch/Athena, the current state of CloudTrail Lake (Trino SQL), the pricing pitfalls and cost optimization, and the 13 official security best practices — all with real code.

25 min read

Related practical articles