When it comes to comparing cost data from AWS cost reports with our planned budget, there are several metrics to consider. Key Performance Indicators (KPIs) are essential tools for tracking, analyzing, and optimizing cloud spending.
To analyze the data, we’ll leverage Python and the visualization library, matplotlib, to create informative and visually appealing charts.
Photo by Isaac Smith on Unsplash
Mocking Data from Cost Reports
For this example, our daily expenses (COSTS_PER_DAY) will be mocked, and we will assume a monthly budget (MONTHLY_BUDGET) of 2500 USD, equivalent to ~83 USD per day.