Simply group your AWS data to explore your cost data.
The Grouping functionality allows you to flexibly explore the financial costs in your AWS ecosystem. With this functionality you can group your costs by account, by region, by AWS service, by a specific tag, or by a user defined view. The flexibility of this functionality allows you to investigate cost spikes, report on cost centers, and fully understand your AWS bill.
In this guide you will be taken through exploring your EC2 usage costs by AWS account by AWS region. At the bottom of this guide is a reference to the different Stax Data page columns and the types of data that you can find in them.
Before you Begin
- Estimated time to complete: 5 minutes
- Access to the Stax Cost Console
- Log in to the Stax Console
- Navigate to Data
- You'll be able to see the data for your company for the current month
Select the "Group By" button and select "AWS account". This will group all of your financial costs for AWS by the AWS account. This view is useful to get a quick overview of your costs.
Select the "Filter" button and select the "AWS Service" item and then select the "EC2" item. The data that you are seeing is now the AWS costs broken down by account but just for the EC2 costs.
Next select the "Group By" button and select "Region". The data is now the EC2 costs by account and by region.
Select the "Group By" button and select "Usage Code". The usage code is one level more granular than service. It allows you to see costs like data transfer charges for EC2 and invocations costs for Lambdas.
In the data so far there is a mixture of usage and credits which can make your numbers seem different to AWS. To explicitly show the cost of instance usage without the cost of credits select the "Group By" button and select "Kind".
Select the "Filter" button and select "Kind" and then select "Usage" the costs that you are seeing are now the usage for the EC2 service broken down by account and by region.
[Optional] If you don't need to do anything more with the data then simply review the data. If you need to download the data for further use click the export button.
Data Page Column Reference
|ARN||The ARN column is the unique resource identifier for each resource that you have in AWS. This identifier can be used in AWS to extract more details about the AWS resource.|
|Reservation ARN||The reservation ARN is the ARN of a purchased reserved instance. This column will usually be blank unless the reserved instance is being applied to the resource.|
|Savings Plan ARN||The savings plan ARN is the ARN of a purchased savings plan. This column will usually be blank unless a savings plan is being applied to the resource.|
|Account||The AWS account name that the resource exists within.|
|AWS Service||The AWS service that the resource is a part of.|
|Usage Cost||The usage cost is the amortized cost of the specific resource for the usage code, sub-usage code, and payment code combination. For more look at the AWS cost definitions.|
|Financial Cost||The financial cost is the unblended cost of a specific resource. For more look at the AWS cost definitions.|
|Kind||The Kind is the kind of cost that is being represented. Examples of kind are usage, credits, savings plan discounts, tax, and support.|
|Usage and sub usage code||The usage and sub usage code fields are used to break down the cost for a service into the respective charges that you receive. For example, the charges for EC2 can be broken down into the usage and data transfer.|
|Resource Type||For some types of charges you will see a resource type which specifies the specific type of instance that is incurring the charges. For example, c3.2xlarge or db.m4.2xlarge.|