- Newest
- Most votes
- Most comments
Based on your description, you're experiencing a significant cost increase after implementing AWS Backup plans via tags, particularly in CloudTrail and CloudWatch costs. This is a common scenario when implementing backup solutions at scale.
Your analysis of the cost factors is accurate. When AWS Backup runs against S3 buckets, it does generate multiple API calls per object (including GetObjectAcl and GetObjectTagging) to properly back up the data. For 16 million objects, this could result in a substantial number of API calls. These operations are indeed billed as S3 GET operations, contributing to increased costs.
The CloudTrail data events for S3 are likely the primary cost driver here. When CloudTrail logs are sent to CloudWatch Logs, you incur two separate charges: the CloudTrail delivery charge (approximately $0.25/GB) and the CloudWatch Logs ingestion charge (approximately $0.50/GB). With the volume of API calls generated by AWS Backup operations, this can quickly escalate costs.
Your approach to exclude AWS service-initiated events from CloudTrail Data Event logging is a cost-effective solution that maintains security requirements. By filtering out automated service actions while still capturing human-initiated activities, you're addressing the root cause of the cost spike. This approach allows you to:
- Maintain visibility into user actions for security and compliance
- Significantly reduce the volume of logged events from automated backup processes
- Lower both CloudTrail and CloudWatch costs without compromising security posture
Additionally, consider these optimization strategies:
- For AWS Backup plans, create multiple backup plans with identical rules but different resource assignments to stay within the 100-resource limit per backup plan
- Use tag-based resource assignments strategically to manage large numbers of resources
- Implement a tagging strategy where new resources automatically receive the appropriate backup tags
- Ensure the IAM role used for tag-based backup plans has the necessary permissions
This combined approach should effectively reduce your costs while maintaining your security and backup requirements.
Sources
AWS Backup Plan tagging strategy when applying plans to multiple resources | AWS re:Post
EU-S3-Egress-Bytes | AWS re:Post
AWS CloudTrail pricing
AWS S3 Backup encryption cost | AWS re:Post
Relevant content
asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 months ago
