Infrastructure Cost Analytics: turning cost data into next steps
Around 2023, Amazon was making a broad push to reduce costs. Service owners had detailed infrastructure cost data, but understanding a change meant digging through tools, resource types, regions, and time periods. They still had to work out what to do next.
A grid representing infrastructure spending recedes around three highlighted priorities, linked as a set and marked with server, database and cloud symbols. Illustrative priorities, not actual cost data or product UI.
A senior engineer had proposed automated cost reporting and built a narrow prototype. I saw an opportunity to go further: show service owners which actions could improve efficiency and help them decide where to start.
As an SDE II, I built the product from scratch and took it through rollout, writing and testing the code myself. I also handled integration, user outreach, feedback, support, and the roadmap.
Give people a useful next step
I chose email because it was already part of people's work. It also forced me to be direct: the report needed to make its point without asking someone to spend more time in another tool.
The reports centered on three prioritized recommendations, supported by key numbers, trends, and efficiency metrics below target. Users could choose daily or weekly emails for the services they cared about, while senior leaders could receive an aggregated view. Separate daily checks alerted teams when an efficiency metric fell below target.
I wanted each recommendation to explain what a team could change and why it mattered. For example, a team might have added capacity for a peak event and left it running afterward. Rules and calculations identified the opportunity to reduce it, estimated the improvement in the efficiency score, and ranked the action by impact.
I later added an LLM summary to make the findings easier to read and call out trends, risks, and actions. The recommendations and estimated score changes still came from the underlying rules and calculations.
Make it clear what the numbers represent
The reports needed to give teams a consistent view across services. Behind that simple experience, I had to bring together data with different formats and definitions for each infrastructure type.
Some sources were also days behind others, and missing records could arrive later. I aligned each report to one reporting date and showed that date clearly in the email. That kept the figures consistent within a report and helped readers understand the period they were looking at.
Simplify the report after listening to users
Early reports had long recommendation lists and too many numbers in the preview table. Users asked me to cut them down and make the most important information easier to find.
I was still leaving people to do too much of the filtering. I shortened the recommendations, removed unnecessary numbers, and brought the highest-priority actions forward.
Users also wanted to know what was going well. They were making changes and wanted to see whether their initiatives had an impact. I added a section showing positive developments alongside the remaining opportunities.
Grow through direct outreach
I recruited the first teams through internal messages and office conversations, starting in my organization and expanding to sister organizations. My manager and skip-level manager helped with introductions. I stayed involved in support and feedback as the product grew.
More than 20 teams subscribed to regular reports. Teams acted on the recommendations to reduce excess capacity and adjust infrastructure configurations, resulting in approximately $750K in estimated savings.
What I'd do differently
I found it easier to keep building than to push for user interviews. I’d make those conversations a priority much earlier now. The feedback that led me to simplify the reports could have saved development effort if I’d sought it sooner.
I'd also plan usage and impact measurement from the beginning. I spent too much time estimating impact later; building measurement into the product earlier would have made it easier to understand how people used the reports and what changed as a result.