Skip to content

fix: use cloudwatch retention policy #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

infracost-autofix[bot]
Copy link

@infracost-autofix infracost-autofix bot commented May 22, 2025

💰 Infracost opened this pull request as part of the following campaign:

Policy: AWS Cloudwatch - consider using a retention policy to reduce storage costs Use a retention policy to avoid retaining logs indefinitely and accumulating storage costs. For example, if an application generates 5GB of logs daily, in a year without retention, you'd store 1.8TB of logs. In the AWS US East (N. Virginia) region, where storage costs $0.03 per GB per month, you'll incur a cumulative yearly cost of ~$802. This cost will continually grow as more logs are added.
Risk: Medium Improper retention could delete logs needed for compliance or debugging.
Deployment details: no downtime required, see AWS docs for details Retention policies apply in‑place to log groups without service disruption. AWS may take up to 72 hours to delete expired events after changing retention.

Next steps:
✅ Deploy this change before the campaign deadline: June 31
💬 Doesn't apply? Close the PR with a comment
🛠️ Needs changes? Check out the branch to rebase or adjust

@infracost infracost deleted a comment from CLAassistant May 22, 2025
@infracost infracost deleted a comment from CLAassistant May 22, 2025
@infracost infracost deleted a comment from CLAassistant May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants