AWS Cost Explorer is a free built in tool that lets you dive deeper into your cost and usage data to identify trends, pinpoint cost drivers, and detect anomalies. We will examine costs by service in this exercise.
Log into the console via SSO and go to the billing dashboard:
Select Cost Explorer from the menu on the left:
Click on Launch Cost Explorer:
Click on Saved reports from the left menu:
You will be presented a list of pre-configured and saved reports. Click on Monthly costs by service:
This is the monthly costs by service for the last 6 months, broken down by month (your usage will most likely be different):
We will change to a daily view to highlight trends. Select the Monthly drop down and click on Daily:
The bar graph is difficult to read, so we will switch to a line graph. Click on the Bar dropdown, then select Line:
This is the same data with daily granularity and shows trends much more clearly. There are monthly peaks - these are monthly recurring reservation fees from Reserved Instances (Purple line):
We will remove the Recurring reservation fees. Click on More filters then click Charge Type filter on the right, click the checkbox next to Recurring reservation fee, select Exclude only to remove the data. Then click Apply filters:
We have now excluded the monthly recurring fees and the peaks have been removed. We can see the largest cost for our usage during this period is EC2-Instances:
We will remove the EC2 service to show the other services with better clarity. Click on the Service filter from the right, click the checkbox next to EC2-Instances, select Exclude only, and click Apply filters:
EC2-Instances has now been excluded, and all the other services can been seen easily:
You have now viewed the costs by service and applied multiple filters. You can continue to modify the report by timeframe and apply other filters.