Cloudtrail Cost Optimizer

Optimises AWS CloudTrail cost across seven dimensions: trail consolidation (single organization trail replaces N per-region or member-account trails, eliminating duplicate log volume and per-trail KMS/SNS overhead), management-vs-data-event volume analysis (data events are ~10x costlier per event than management events — curate S3/Lambda data event sources), S3 lifecycle policy for log files (Glacier Instant/Deep Archive transition after 90 days eliminates ~80% of Standard storage cost), CloudTrail Lake event-data-store cost (per-GB ingestion at $0.75/GB-month plus retention — partition with event-category filters), CloudWatch Logs delivery cost (avoid dual-publishing CloudTrail to both S3 and CloudWatch Logs when only one consumer exists), SNS notification cost ($0.50 per million notifications — consolidate trail SNS topics), KMS key cost per trail (one CMK shared across org trail, not one per trail), Insights event cost ($0.50 per 100k management events — enable only for accounts with anomalous activity...

jhkchan Updated

File contents

jhkchan/aws-agent-skills commit 2abeefc6bd

Frequently asked questions

npx get-skill add jhkchan/cloudtrail-cost-optimizer