top of page
  • Adan Patience

AWS Cost Notifier

If you’ve ever felt like AWS Cost Explorer reminded you of the dreaded days you spent tracking costs in an Excel spreadsheet? Well, you’re not alone.


Managing and tracking AWS costs can be intimidating with all the specialized tooling with buzz words like AI and machine learning. Here at cloudandthings.io, we try our best to keep things simple. We wrote a Terraform module that deploys a Lambda into your root account that sends you a daily message to the Slack channel of your choice.


The Lambda aggregates the daily spend over a 7 day period. It plots those values onto a make-shift bar graph, then calculates the delta of each service and sends a Slack message of the 5 respective services that predominantly contributed to the AWS expenditure of the day.


This solution is courtesy of the work done here by Ian Dees. Leveraging off what he had done, we decided to fork his solution and deploy it using Terraform. We added an additional AWS CloudWatch rule to schedule the execution to get a daily notification. Check it out here on Github.


Slack Notification of your AWS Daily Spend


While we might not be breaking new ground, it has helped us quickly determine the average daily expenditure of our clients, track the use of new services and identify anomalies.


Let us know what you guys are doing to keep that monthly AWS bill low!

7 views0 comments

Comentários


Os comentários foram desativados.
bottom of page