Menu
AWS Billing and Cost Management
User Guide (Version 2.0)

Customizing Your Cost Explorer Cost Analysis

You can choose your own time ranges for Cost Explorer queries, and use the Cost Explorer filters to refine your query and drill down into particular types of cost. For example, you can use Cost Explorer to see which Availability Zone (AZ) had the most traffic for the first two weeks of a month.

Note

Certain Cost Explorer features are relevant only to Consolidated Billing customers. For example, only the owner of the payer account in a Consolidated Billing account family can view cost data across multiple linked accounts in the account family. Also, while default views in Cost Explorer use unblended costs for charts that include Consolidated Billing linked accounts, you can use the Advanced Options in Cost Explorer to omit subscription charges or to view costs using blended costs.

Starting Cost Explorer

To open Cost Explorer

  1. Sign in to the AWS Management Console and open the Billing and Cost Management console at https://console.aws.amazon.com/billing/home#/.

  2. In the navigation pane, choose Cost Explorer.

  3. On the Cost Explorer page, choose Launch Cost Explorer.

    Note

    Cost Explorer is available in any AWS account for no cost.

Choosing Time Ranges for the Data You Want to View

You can choose to view your cost data in monthly or daily levels of granularity, and you can use preconfigured time ranges or set custom start and end dates.

To set the granularity and time range for your data

  1. Starting Cost Explorer.

  2. Choose a time granularity of Day or Month.

  3. For Time Range, choose the Historical and Forecast time periods for which you want to view your cost data. For detailed information about available time ranges, see Time Range Options.

  4. (Optional) For a custom time range, select Custom, and then use the calendar controls to set a start date and an end date for your custom time range.

Time Range Options

In Cost Explorer, months are defined as calendar months. Days are defined as 12:00:00 AM to 11:59:59 PM. Based on these definitions, when you select Last 3 Cal. Months for a date range, you see cost data for the present month and for the two previous months. For example, if you view your chart on March 6, 2014 and select three months, your chart includes data for January, February, and March 2014. All times are in Universal Coordinated Time (UTC).

You can choose time ranges for both your past costs and your forecasted future costs.

The following list defines each time range option for your past costs in Cost Explorer.

  • Custom

    Displays data for the time range for the Start and End dates that you specify with calendar controls in the following format: mm/dd/yyyy. You can specify daily or monthly Start and End values.

  • Last 7 Days

    Displays cost data from the current day and the previous six days.

  • Last 14 Days

    Displays cost data from the current day and the previous 13 days.

  • Month-to-Date

    Displays cost data for the current calendar month. You can specify daily or monthly values.

  • Last Cal. Month

    Displays cost data from the last month. You can specify daily or monthly values.

  • Last 3 Cal. Months

    Includes cost data from the current month and the previous two months. You can specify daily or monthly granularity. If you specify daily granularity, the first date displayed is the first day of the month prior to last, and the end date will be today. If you choose 3 months on April 8, for example, you see bars for each day starting on February 1.

  • Year-to-Date

    Displays cost data from the current calendar year. You can specify monthly values.

  • Last Cal. Year

    Displays cost data from the last calendar year.

The following list defines each time range option for your forecast costs in Cost Explorer.

  • Custom

    Displays forecast data for the time range for the Start and End dates that you specify with calendar controls in the following format: mm/dd/yyyy. You can specify daily or monthly Start and End values.

  • Today + Next 6 Days

    Displays forecast data for the current day and the next 6 days.

  • Today + Next 13 Days

    Displays forecast data for the current day and the next 13 days.

  • Today to Cal. Month-End

    Displays forecast data for the current day and the rest of the month.

  • Current Cal. Month

    Displays forecast data for the current month and the next month.

  • Next Cal. Month

    Displays forecast data for the next month.

  • Current + Next 2 Cal. Months

    Displays forecast data for the current month and the next two months.

Filtering the Data You Want to View

With Cost Explorer you can filter how you view your AWS costs by API operation, Availability Zone (AZ), AWS service, custom cost allocation tags, EC2 instance types, linked accounts, purchase options, region, usage type, and usage type group.

You can apply multiple filters to look at intersecting data sets. For example, you can use the Linked Account and Services filters to identify the linked account that spent the most money on Amazon EC2.

To filter your data

  1. Starting Cost Explorer.

  2. For Filter, choose Availability Zone, Instance Type, Linked Account, API Operation, Purchase Option, Platform, Region, Service, Tag, Tenancy, Usage type, or Usage type group. After you make a selection, a new control appears with additional options.

  3. Select the items from each list that you want to display in the chart, or start typing the name of a filter type to have Cost Explorer auto-complete your selection. After you have chosen your filters, choose Apply.

You can continue refining your cost analysis by using multiple filters, by grouping your data by filter type, and by using the options in the Advanced Options tab.

Combining Filters to Show Data in Common

Cost Explorer displays a chart that represents the data in common to the filters you've selected, which means that you can use filters together to analyze subsets of cost data. For example, if you set the Service filter to show costs related to Amazon EC2 and Amazon RDS services, and then select Reserved using the Purchase Option filter, the cost chart shows how much money Reserved instances on Amazon EC2 and Amazon RDS cost for each of the three months specified.

Filters and Logical Operations (AND/OR)

When you select multiple filters, and values for each filter, Cost Explorer applies rules that emulate the logical AND and OR operators to your selections. Within each filter, Cost Explorer emulates the logical OR filter to your selection of filter types. In other words, the chart it displays adds the aggregate costs for each item together. Using the previous example, you see bars for both of the selected services, Amazon EC2 and Amazon RDS.

When you select multiple filters, Cost Explorer applies the logical AND operator to your selections. In other words, if you use the Services filter and specify Amazon EC2 and Amazon RDS costs for inclusion, and then also apply the Purchase Options filter to select a single type of purchase option, you see only the Non-Reserved charges incurred by Amazon EC2 and Amazon RDS.

Filter and Group Options

In Cost Explorer, you can filter by the following groups:

  • API Operations

    API operations are requests made to and tasks performed by a service, such as write and get requests to Amazon S3.

  • Availability Zones

    Availability Zones are distinct locations within a region that are insulated from failures in other Availability Zones. They provide inexpensive, low-latency network connectivity to other Availability Zones in the same region.

  • AWS Services

    AWS services are AWS products (e.g., “EC2”). To learn more, see AWS Products & Services.

  • Custom Cost Allocation Tags

    Cost allocation tags are tags that you can use to track costs associated with specific areas/entities within your business, by defining a tag key and values.

  • EC2 Instance Type

    EC2 instance types are the types of Amazon EC2 instances that you specified when you launched an Amazon EC2 host. The instance type determines the hardware of the computer used to host your instance.

  • Linked Accounts

    Linked accounts are members of a Consolidated Billing account family, paid for by a paying account. Consolidated Billing is a billing option that enables AWS customers with more than one account to receive a single bill across all of their accounts. Businesses can link all their accounts to the payer account and receive a single, itemized bill for the entire company, rather than separate bills for each AWS account. The payer account has access to the cost information for each linked account, making it easy for businesses to track costs for each workgroup or project.

  • Platform

    Platform is the operating system that your Amazon EC2 instance runs on. Platform is either Linux or Windows.

  • Purchase Options

    Purchase options are how you choose to pay for your Amazon EC2 instances, and includes Reserved Instances, Spot Instances, Scheduled Reserved Instances, and On-Demand Instances.

  • Region

    Regions are the geographic areas where AWS hosts your resources.

  • Tenancy

    Tenancy is whether you share an Amazon EC2 RI with another user or not. Tenancy is either Dedicated or Default.

  • Usage Type

    Usage types are the units that each service uses to measure the usage of a specific type of resource. For example, the BoxUsage:c1.medium(Hrs) usage type filters by the running hours of Amazon EC2 c1.medium instances.

  • Usage Type Group

    Usage type groups are filters that collect a specific category of usage type filters into one filter. For example, BoxUsage:c1.medium(Hrs), BoxUsage:m3.xlarge(Hrs), and BoxUsage:t1.micro(Hrs) are all filters for Amazon EC2 instance running hours, so they are collected into the EC2: Running Hours filter.

    Usage type groups are available for Amazon EC2, DynamoDB, and Amazon S3. The specific groups available to your account depend on what services you've used. The list of groups that might be available includes but is not limited to the following:

    • DDB: Data Transfer - Internet (In)

      Filters by costs associated with how many GB are transferred to your DynamoDB databases.

    • DDB: Data Transfer - Internet (Out)

      Filters by costs associated with how many GB are transferred from your DynamoDB databases.

    • DDB: Indexed Data Storage

      Filters by costs associated with how many GB that you have stored in DynamoDB.

    • DDB: Provisioned Throughput Capacity - Read

      Filters by costs associated with how many units of read capacity that your DynamoDB databases used.

    • DDB: Provisioned Throughput Capacity - Write

      Filters by costs associated with how many units of write capacity that your DynamoDB databases used.

    • EC2: CloudWatch - Alarms

      Filters by costs associated with how many CloudWatch alarms that you have.

    • EC2: CloudWatch - Metrics

      Filters by costs associated with how many CloudWatch metrics that you have.

    • EC2: CloudWatch - Requests

      Filters by costs associated with how many CloudWatch requests that you make.

    • EC2: Data Transfer - CloudFront (Out)

      Filters by costs associated with how many GB are transferred from your Amazon EC2 instances to a CloudFront distribution.

    • EC2: Data Transfer - CloudFront (In)

      Filters by costs associated with how many GB are transferred to your Amazon EC2 instances from a CloudFront distribution.

    • EC2: Data Transfer - Inter AZ

      Filters by costs associated with how many GB are transferred into, out of, or between your Amazon EC2 instances in different Availability Zones.

    • EC2: Data Transfer - Internet (In)

      Filters by costs associated with how many GB are transferred to your Amazon EC2 instances from outside of the AWS network.

    • EC2: Data Transfer - Internet (Out)

      Filters by costs associated with how many GB are transferred from an Amazon EC2 instance to a host outside of the AWS network.

    • EC2: Data Transfer - Region to Region (In)

      Filters by costs associated with how many GB are transferred to your Amazon EC2 instances from a different AWS Region.

    • EC2: Data Transfer - Region to Region (Out)

      Filters by costs associated with how many GB are transferred from your Amazon EC2 instances to a different AWS Region.

    • EC2: EBS - I/O Requests

      Filters by costs associated with how many I/O requests that you make to your Amazon EBS volumes.

    • EC2: EBS - Magnetic

      Filters by costs associated with how many GB that you have stored on Amazon EBS Magnetic volumes.

    • EC2: EBS - Provisioned IOPS

      Filters by costs associated with how many IOPS-months that you have provisioned for Amazon EBS.

    • EC2: EBS - SSD(gp2)

      Filters by costs associated with how many GB per month of General Purpose storage that your Amazon EBS volumes use.

    • EC2: EBS - SSD(io1)

      Filters by costs associated with how many GB per month of Provisioned IOPS SSD storage that your Amazon EBS volumes use.

    • EC2: EBS - Snapshots

      Filters by costs associated with how many GB per month that your Amazon EBS snapshots store.

    • EC2: EBS - Optimized

      Filters by costs associated with how many MB per instance hour that your Amazon EBS-optimized instances use.

    • EC2: ELB - Running Hours

      Filters by costs associated with how many hours that your Elastic Load Balancing load balancers ran.

    • EC2: Elastic IP - Additional Address

      Filters by costs associated with how many Elastic IP addresses that you have attached to running Amazon EC2 instances.

    • EC2: Elastic IP - Idle Address

      Filters by costs associated with Elastic IP addresses that you have that are not attached to running Amazon EC2 instances.

    • EC2: NAT Gateway - Data Processed

      Filters by costs associated with how many GB that your network address translation gateways (NAT gateways) processed.

    • EC2: NAT Gateway - Running Hours

      Filters by costs associated with how many hours that your NAT gateways ran.

    • EC2: Running Hours

      Filters by costs associated with how many hours that your Amazon EC2 instances ran.

    • RDS: Running Hours

      Filters by costs associated with how many hours that your Amazon RDS databases ran.

    • S3: API Requests - Standard

      Filters by costs associated with GET and all other standard storage Amazon S3 requests.

    • S3: Data Transfer - CloudFront (In)

      Filters by costs associated with how many GB are transferred into Amazon S3 from a CloudFront distribution.

    • S3: Data Transfer - CloudFront (Out)

      Filters by costs associated with how many GB are transferred from a CloudFront distribution to Amazon S3 data transfers, such as how much data was uploaded from your Amazon S3 bucket to your CloudFront distribution.

    • S3: Data Transfer - Inter AZ

      Filters by costs associated with how many GB are transferred into, out of, or between Amazon S3 buckets in different Availability Zones.

    • S3: Data Transfer - Internet (In)

      Filters by costs associated with how many GB are transferred to an Amazon S3 bucket from outside of the AWS network.

    • S3: Data Transfer - Internet (Out)

      Filters by costs associated with how many GB are transferred from an Amazon S3 bucket to a host outside of the AWS network.

    • S3: Data Transfer - Region to Region (In)

      Filters by costs associated with how many GB are transferred to Amazon S3 from a different AWS Region.

    • S3: Data Transfer - Region to Region (Out)

      Filters by costs associated with how many GB are transferred from Amazon S3 to a different AWS Region.

    • S3: Storage - Standard

      Filters by costs associated with how many GB that you have stored in Amazon S3.

Grouping Data By Filter Type

Use the Group By button to have Cost Explorer display the cost data groups by filter type: API operation, Availability Zone, AWS service, custom cost allocation tags, EC2 instance type, linked account, purchase option, region, usage type, or usage type group. By default, Cost Explorer does not use grouping. Forecasting is not available for charts that have grouping. If you don't select a Group By option, Cost Explorer displays total costs for the specified date range.

To group your data by filter type

  1. Starting Cost Explorer.

  2. (Optional) Use the Filter controls to configure a view of your cost data.

  3. Choose Group By to group by the option that you want.

The data table beneath the chart also groups your cost figures by the option you selected.

Advanced Options

You can customize how you view your data in Cost Explorer using advanced options to include or exclude specific types of data. The following types of data are included by default:

Refunds

Any refunds that you receive. Refunds are listed as a separate line item in the data table. They do not appear as an item in the chart because they represent a negative value in the calculation of your costs. The chart displays only positive values.

Credits

Any AWS credits that are applied to your account.

RI upfront fees

Any upfront fees that are charged to your account. When you purchase an All Upfront or Partial Upfront Reserved Instance from AWS, you pay an up-front fee in exchange for a lower rate for using the instance. The upfront fees can result in spikes in the chart for the days or months when you make your purchases.

RI recurring charges

Any recurring charges to your account. When you purchase a Partial Upfront or No Upfront Reserved Instance from AWS, you pay a recurring charge in exchange for a lower rate for using the instance. The recurring charges can result in spikes on the first day of every month, when AWS charges your account.

Taxes

Any taxes that are associated with the charges or fees in your cost chart. Cost Explorer adds all taxes together as a single component of your costs. If you select five or fewer filters, Cost Explorer displays your tax expenses as a single bar. If you select six or more filters, Cost Explorer displays five bars, stacks, or lines, and then aggregates all remaining items, including taxes, into a sixth bar, stack slice, or plot line that is labeled Other.

If you choose to omit RI upfront fees, RI recurring charges, or Support charges from your chart, Cost Explorer continues to include any taxes that are associated with the charges.

Cost Explorer displays your tax costs in the chart only when you choose the Month tab. When you filter your cost chart, the following rules govern the inclusion of taxes:

  1. Taxes are excluded if you select non-Linked Account filters, either singly or in combination with other filters.

  2. Taxes are included if you select the Linked Accounts filters.

Support charges

Any charges that AWS charges you for a support plan. When you purchase a support plan from AWS, you pay a monthly charge in exchange for service support. The monthly charges can result in spikes on the first day of every month, when AWS charges your account.

Other subscription costs

Other applicable subscription costs that are not covered by the other data categories. These costs can include data such as AWS training fees, AWS competency fees, out-of-cycle charges such as registering a domain with Amazon Route 53, and more.

You can exclude these data types from your chart using the following procedure:

To exclude data from your chart

  1. Sign in to the AWS Management Console and open the Billing and Cost Management console at https://console.aws.amazon.com/billing/home#/.

  2. In the navigation pane, choose Cost Explorer.

  3. On the Cost Explorer page, choose Launch Cost Explorer.

    Note

    Cost Explorer is available in any AWS account for no cost.

  4. In the right pane, under Advanced Options, under Include costs related to, deselect the data type that you want to exclude.

In addition to the costs that Cost Explorer includes, you can show specific costs such as untagged resources or blended costs. This allows you to see the following alternate views of your costs:

Show only untagged resources

By default, Cost Explorer includes costs both for resources that have cost allocation tags and for resources that don't have cost allocation tags. To find untagged resources that add to your costs, select Show only untagged resources. For more information about cost allocation tags, see Using Cost Allocation Tags.

Show blended costs

Consolidated Billing customers can view costs using blended rates, either for payer accounts or linked accounts. Blended rates average the benefit of volume discounts and reserved capacity purchase across the accounts in the Consolidated Billing family. Forecasts are available only for unblended rates. For more information about blended rates, see Understanding Consolidated Bills.

You can show these specific costs by using the following procedure.

To show specific cost types in your chart

  1. Sign in to the AWS Management Console and open the Billing and Cost Management console at https://console.aws.amazon.com/billing/home#/.

  2. In the navigation pane, choose Cost Explorer.

  3. On the Cost Explorer page, choose Launch Cost Explorer.

    Note

    Cost Explorer is available in any AWS account for no cost.

  4. In the right pane, under Advanced Options, under Other, select the cost type that you want to show.

Selecting a Style for your Chart

Cost Explorer provides three styles for charting your cost data. Using the View By buttons, you can view cost data as the following:

  • Plot lines

  • Grouped bars

  • Stacked bars

To change the chart view style

  1. Starting Cost Explorer.

  2. On the navigation pane, choose Cost Insights.

  3. Choose the View By button that corresponds to the chart style that you want to see:

    • Choose the first button for solid bars.

    • Choose the second button for stacked bars. Forecasting is not available for this style.

    • Choose the third button for plot lines.

Reading the Cost Explorer Chart

The Cost Explorer chart displays data for up to six filters. If you choose seven or more of these entities, the chart displays five bars, stacks, or lines, and then aggregates all remaining items in a sixth. The data table below the chart, however, breaks out the data for individual services that are aggregated in the chart.

Reading the Cost Explorer Data Table

Below each Cost Explorer chart is a data table, which displays the cost figures that the chart represents. If your chart is using a grouping, then the table displays the aggregate amounts for the filter types that you choose for your chart. If your chart is not using a grouping, then the table displays the aggregate amounts for your past and forecasted cost data. The maximum table size is 20 rows by 30 columns. If the data exceeds the maximum table size, it appears in a truncated form. You can download the CSV file that contains the complete data set for your chart.

In the grouped data table, each row is a value for one of the filter type options: API operations, Availability Zones, AWS services, custom cost allocation tags, EC2 instance types, linked accounts, purchase options, region, usage type, or usage type group. The columns represent time intervals. For example, the following data table shows the account's costs for selected services for the last three months, with an aggregated total for the three months in the last column.

Note

Data transfer costs are included in the services with which they are associated, such as Amazon EC2 or Amazon S3. They are not represented as either a separate line item in the data table or a bar in the chart.

In the ungrouped data table, the row is your costs. The columns represent time intervals.

Downloading the CSV

When you want to review comprehensive detail, you can download a CSV file of the cost data that Cost Explorer uses to generate the chart, which is the same data that appears in the data table under the chart. The data table sometimes does not display the complete data set used for the chart. The CSV file contains the complete data set, including the current forecast numbers. For more information, see Reading the Cost Explorer Data Table.

To download a CSV file

  1. Starting Cost Explorer.

  2. Configure Cost Explorer to use the options that you want to see in the CSV.

  3. Choose Download CSV.

Saving Your Cost Explorer Configuration with Bookmarks or Favorites

You can save your date, filter, chart style, group by, and advanced settings by saving the Cost Explorer URLs as favorites or bookmarks in your browser. When you return to the link that you saved, Cost Explorer refreshes the page using current cost data for time range you selected, and displays the most recent forecast. This feature makes it easy to save a configuration that you're likely to refresh and return to often, such as "Spend Report - Last Seven Days." You can also save a configuration for a specific, unchanging range of time (such as "Spend Report, First Week of June") by using the Custom time range and setting fixed start and end dates for your chart.

Warning

If you want to save a number of configurations, make sure to give each bookmark or favorite a unique name, so that you don't overwrite older configurations when you save a new URL.