
How to Optimize AWS CloudTrail Costs with Efficient Cloud Governance
we'll explore strategies to optimize CloudTrail costs while maintaining effective governance and compliance.
1
2
3
4
5
SELECT eventName,count(eventName) AS NumberOfChanges,eventSource
FROM your_athena_tablename
WHERE eventtime >= '2024-01-01T00:00:00Z'and eventtime < '2024-01-31T00:00:00Z'
GROUP BY eventName, eventSource
ORDER BY NumberOfChanges DESC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloudtrail:Get*",
"cloudtrail:Describe*",
"cloudtrail:List*",
"cloudtrail:LookupEvents"
],
"Resource": "*"
}
]
}
- Leverage Free Management Events
- Minimize Duplicate Management Event Copies
- Selectively Enable Data Events
- Leverage Event Selectors
- Optimize Storage Costs
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.