Automate AWS Cost Reports with Python, boto3, and SES
The article discusses the problem of surprise AWS bills and the lack of cost visibility in many teams. It highlights the symptoms of this issue, including finance teams sending messages about unexpected bill spikes and engineers being unable to answer immediately. The article aims to provide a solution to this problem by automating AWS cost reports using Python, boto3, and SES.
- ▪Many teams lack cost visibility, leading to surprise AWS bills and post-mortem analyses.
- ▪The AWS Cost Explorer API has several non-obvious activation and usage requirements that create friction.
- ▪Automating cost reports using Python, boto3, and SES can help shift visibility from invoice to inbox.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3970301) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Oleksandr Kuryzhev Posted on Jun 30 • Originally published at kuryzhev.cloud Automate AWS Cost Reports with Python, boto3, and SES #python #aws #devops Originally published on kuryzhev.cloud Your AWS bill already increased by the time you open Cost Explorer — here's how to make Python tell you before finance does. Last month a team I was working with got a Slack message from their finance lead: "Why did AWS spend jump 40% this month?" Nobody in engineering knew.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).