Filtering the data that you want to view
With Cost Explorer, you can filter how you view your AWS costs by one or more of the following values:
-
API operation
-
Availability Zone (AZ)
-
Billing entity
-
Charge type
-
Include all
-
Instance type
-
Legal entity
-
Linked account
-
Platform
-
Purchase option
-
Region
-
Resources
-
Service
-
Tag
-
Tenancy
-
Usage type
-
Usage type group
You can use Cost Explorer to see which service you use the most, which Availability Zone (AZ) most of your traffic is in, and which member account uses AWS the most. You can also apply multiple filters to look at intersecting datasets. For example, you can use the Linked Account and Services filters to identify the member account that spent the most money on Amazon EC2.
To filter your data
-
Open Cost Explorer.
-
For Filters, choose a value. After you make a selection, a new control appears with additional options.
-
In the new control, select the items from each list that you want to display in the chart. Or, start typing in the search box to have Cost Explorer autocomplete your selection. After you choose your filters, choose Apply filters.
Note
Each time that you apply filters to your costs, Cost Explorer creates a new chart. However, you can use your browser's bookmark feature to save configuration settings for repeated use. Forecasts aren't saved, and Cost Explorer displays the most recent forecast when you revisit your saved chart.
You can continue refining your cost analysis by using multiple filters, grouping your data by filter type, and choosing Advanced Options tab options.
Combining filters to show data in common
Cost Explorer displays a chart that represents the data in common to all the filters that you have selected. You can use this view to analyze subsets of cost data. For example, assume that you set the Service filter to show costs that are related to Amazon EC2 and Amazon RDS services and then select Reserved using the filter. The cost chart will show how much money Reserved instances on Amazon EC2 and Amazon RDS cost for each of the three months.
Note
-
AWS Cost and Usage Reports in Cost Explorer can use a maximum of 1024 filters.
-
You can filter RI Utilization reports by only one service at a time. You can do this only for the following services:
-
Amazon EC2
-
Amazon Redshift
-
Amazon RDS
-
ElastiCache
-
OpenSearch Service
-
Filters and logical operations (AND/OR)
When you select multiple filters and multiple 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. This means that the resulting chart 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. For a more concrete example, assume that 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 will 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 operation
Requests made to and tasks performed by a service, such as write and get requests to Amazon S3.
-
Availability Zone
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.
-
Billing entity
Helps you identify whether your invoices or transactions are for AWS Marketplace or for purchases of other AWS services. Possible values include:
-
AWS: Identifies a transaction for AWS services other than in AWS Marketplace.
-
AWS Marketplace: Identifies a purchase in AWS Marketplace.
-
-
Charge type
Different types of charges or fees.
- Credit
-
Any AWS credits that are applied to your account.
- Other out-of-cycle charges
-
Any subscription charges that aren't upfront reservation charges or support charges.
- Recurring reservation fee
-
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 fees can result in spikes on the first day of every month, when AWS charges your account.
- Refund
-
Any refunds that you received. Refunds are listed as a separate line item in the data table. They don't 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.
- Reservation applied usage
-
Usage that AWS applied reservation discounts to.
- Savings Plan upfront fee
-
Any one-time upfront fee from your purchase of an All Upfront or Partial Upfront Savings Plan.
- Savings Plan recurring fee
-
Any recurring hourly charges that correspond with your No Upfront or Partial Upfront Savings Plan. The Savings Plan recurring fee is initially added to your bill on the day that you purchase a No Upfront or Partial Upfront Savings Plan. After the initial purchase, AWS adds the recurring fee hourly.
For an All Upfront Savings Plan, the line item indicates the portion of the Savings Plan unused during the billing period. For example, if a Savings Plan was 100% utilized for a billing period, this shows as “0” in your amortized costs view. Any number greater than “0” indicates an unused Savings Plan.
- Savings Plan covered usage
-
Any on-demand cost that's covered by your Savings Plan. In an Unblended costs view, this represents the covered usage at on-demand rates. In an Amortized costs view, this represents the covered usage at your Savings Plan rates. Savings Plan covered usage line items are offset by the corresponding Savings Plan negation items.
- Savings Plan negation
-
Any offset cost through your Savings Plan benefit that’s associated with the corresponding Savings Plan covered usage item.
- Support fee
-
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 fees can result in spikes on the first day of every month, when AWS charges your account.
- Tax
-
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's 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 Monthly drop down. When you filter your cost chart, the following rules govern the inclusion of taxes:
-
Taxes are excluded if you select non-Linked Account filters, either singly or in combination with other filters.
-
Taxes are included if you select the Linked Accounts filters.
-
- Upfront reservation fee
-
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 upfront 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.
- Usage
-
Usage that AWS didn't apply reservation discounts to.
-
Instance type
The type of RI that you specified when you launched an Amazon EC2 host, Amazon RDS instance class, Amazon Redshift node, or Amazon ElastiCache node. The instance type determines the hardware of the computer used to host your instance.
-
Legal entity
The Seller of Record of a specific product or service. In most cases, the invoicing entity and legal entity are the same. The values might differ for third-party AWS Marketplace transactions. Possible values include:
-
Amazon Web Services, Inc. – The entity that sells AWS services.
-
Amazon Web Services India Private Limited – The local Indian entity that acts as a reseller for AWS services in India.
-
-
Linked account
The member accounts in an organization. For more information, see Consolidated billing for AWS Organizations.
-
Platform
The operating system that your RI runs on. Platform is either Linux or Windows.
-
Purchase option
The method you choose to pay for your Amazon EC2 instances. This includes Reserved Instances, Spot Instances, Scheduled Reserved Instances, and On-Demand Instances.
-
Region
The geographic areas where AWS hosts your resources.
-
Resources
The unique identifier for your resources.
Note
To enable resource granularity, opt-in through on the Cost Explorer settings page as the management account. This is available for Amazon EC2 instances.
-
Service
AWS products. To learn what's available, see AWS Products and Services
. You can use this dimension to filter costs by specific AWS Marketplace software, including your costs for AMIs, web services, and desktop apps. See the What is AWS Marketplace? guide for more information. Note
You can only filter RI Utilization reports by one service at a time and only for these services: Amazon EC2, Amazon Redshift, Amazon RDS, and ElastiCache.
-
Tag
A label that you can use to track the costs associated with specific areas or entities within your business. For more information about working with tags, see Applying User-Defined Cost Allocation Tags.
-
Tenancy
Specifies if the Amazon EC2 instance is hosted on shared or single-tenant hardware. Some tenancy values include Shared (Default), Dedicated, and Host.
-
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:t2.micro(Hrs)
usage type filters by the running hours of Amazon EC2t2.micro
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)
, andBoxUsage:t1.micro(Hrs)
are all filters for Amazon EC2 instance running hours, so they are collected into theEC2: Running Hours
filter.Usage type groups are available for DynamoDB, Amazon EC2, ElastiCache, Amazon RDS, Amazon Redshift, 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 isn't limited to the following:
-
DDB: Data Transfer - Internet (In)
Filters by the costs associated with how many GB are transferred to your DynamoDB databases.
-
DDB: Data Transfer - Internet (Out)
Filters by the costs associated with how many GB are transferred from your DynamoDB databases.
-
DDB: Indexed Data Storage
Filters by the costs associated with how many GB that you have stored in DynamoDB.
-
DDB: Provisioned Throughput Capacity - Read
Filters by the costs associated with how many units of read capacity that your DynamoDB databases used.
-
DDB: Provisioned Throughput Capacity - Write
Filters by the costs associated with how many units of write capacity that your DynamoDB databases used.
-
EC2: CloudWatch - Alarms
Filters by the costs associated with how many CloudWatch alarms that you have.
-
EC2: CloudWatch - Metrics
Filters by the costs associated with how many CloudWatch metrics that you have.
-
EC2: CloudWatch - Requests
Filters by the costs associated with how many CloudWatch requests that you make.
-
EC2: Data Transfer - CloudFront (Out)
Filters by the costs associated with how many GB are transferred from your Amazon EC2 instances to a CloudFront distribution.
-
EC2: Data Transfer - CloudFront (In)
Filters by the costs associated with how many GB are transferred to your Amazon EC2 instances from a CloudFront distribution.
-
EC2: Data Transfer - Inter AZ
Filters by the costs associated with how many GB are transferred into, out of, or between your Amazon EC2 instances in different AZs.
-
EC2: Data Transfer - Internet (In)
Filters by the costs associated with how many GB are transferred to your Amazon EC2 instances from outside the AWS network.
-
EC2: Data Transfer - Internet (Out)
Filters by the costs associated with how many GB are transferred from an Amazon EC2 instance to a host outside the AWS network.
-
EC2: Data Transfer - Region to Region (In)
Filters by the 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 the 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 the costs associated with how many I/O requests that you make to your Amazon EBS volumes.
-
EC2: EBS - Magnetic
Filters by the costs associated with how many GB that you have stored on Amazon EBS Magnetic volumes.
-
EC2: EBS - Provisioned IOPS
Filters by the costs associated with how many IOPS-months that you have provisioned for Amazon EBS.
-
EC2: EBS - SSD(gp2)
Filters by the costs associated with how many GB per month of General Purpose storage that your Amazon EBS volumes use.
-
EC2: EBS - SSD(io1)
Filters by the costs associated with how many GB per month of Provisioned IOPS SSD storage that your Amazon EBS volumes use.
-
EC2: EBS - Snapshots
Filters by the costs associated with how many GB per month that your Amazon EBS snapshots store.
-
EC2: EBS - Optimized
Filters by the costs associated with how many MB per instance hour that your Amazon EBS-optimized instances use.
-
EC2: ELB - Running Hours
Filters by the costs associated with how many hours that your Elastic Load Balancing load balancers ran.
-
EC2: Elastic IP - Additional Address
Filters by the costs associated with how many Elastic IP addresses that you attached to running Amazon EC2 instances.
-
EC2: Elastic IP - Idle Address
Filters by the costs associated with Elastic IP addresses that you have that aren't attached to running Amazon EC2 instances.
-
EC2: NAT Gateway - Data Processed
Filters by the costs associated with how many GB that your network address translation gateways (NAT gateways) processed.
-
EC2: NAT Gateway - Running Hours
Filters by the costs associated with how many hours that your NAT gateways ran.
-
EC2: Running Hours
Filters by the costs associated with how many hours that your Amazon EC2 instances ran.
This Usage Type Group contains only the following Usage Types:
-
BoxUsage
-
DedicatedUsage
-
HostBoxUsage
-
HostUsage
-
ReservedHostUsage
-
SchedUsage
-
SpotUsage
-
UnusedBox
-
-
ElastiCache: Running Hours
Filters by the costs associated with how many hours that your Amazon ElastiCache nodes ran.
-
ElastiCache: Storage
Filters by the costs associated with how many GB that you stored in Amazon ElastiCache.
-
RDS: Running Hours
Filters by the costs associated with how many hours that your Amazon RDS databases ran.
This Usage Type Group contains only the following Usage Types:
-
AlwaysOnUsage
-
BoxUsage
-
DedicatedUsage
-
HighUsage
-
InstanceUsage
-
MirrorUsage
-
Multi-AZUsage
-
SpotUsage
-
-
RDS: Data Transfer – CloudFront – In
Filters by the costs associated with how many GB are transferred into Amazon RDS from a CloudFront distribution.
-
RDS: Data Transfer – CloudFront – Out
Filters by the costs associated with how many GB are transferred from a CloudFront distribution to Amazon RDS data transfers.
-
RDS: Data Transfer – Direct Connect Locations – In
Filters by the costs associated with how many GB are transferred into Amazon RDS through a Direct Connect network connection.
-
RDS: Data Transfer – Direct Connect Locations – Out
Filters by the costs associated with how many GB are transferred from Amazon RDS through a Direct Connect network connection.
-
RDS: Data Transfer – InterAZ
Filters by the costs associated with how many GB are transferred into, out of, or between Amazon RDS buckets in different Availability Zones.
-
RDS: Data Transfer – Internet – In
Filters by the costs associated with how many GB are transferred to your Amazon RDS databases.
-
RDS: Data Transfer – Internet – Out
Filters by the costs associated with how many GB are transferred from your Amazon RDS databases.
-
RDS: Data Transfer – Region to Region – In
Filters by the costs associated with how many GB are transferred to your Amazon RDS instances from a different AWS Region.
-
RDS: Data Transfer – Region to Region – Out
Filters by the costs associated with how many GB are transferred from your Amazon RDS instances to a different AWS Region.
-
RDS: I/O Requests
Filters by the costs associated with how many I/O requests that you make to your Amazon RDS instance.
-
RDS: Provisioned IOPS
Filters by the costs associated with how many IOPS-months that you have provisioned for Amazon RDS.
-
RDS: Storage
Filters by the costs associated with how many GB that you have stored in Amazon RDS.
-
Redshift: DataScanned
Filters by the costs associated with how many GB that your Amazon Redshift nodes scanned.
-
Redshift: Running Hours
Filters by the costs associated with how many hours that your Amazon Redshift nodes ran.
-
S3: API Requests - Standard
Filters by the costs associated with
GET
and all other standard storage Amazon S3 requests. -
S3: Data Transfer - CloudFront (In)
Filters by the 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 the 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 the costs associated with how many GB are transferred to an Amazon S3 bucket from outside the AWS network.
-
S3: Data Transfer - Internet (Out)
Filters by the costs associated with how many GB are transferred from an Amazon S3 bucket to a host outside the AWS network.
-
S3: Data Transfer - Region to Region (In)
Filters by the 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 the costs associated with how many GB are transferred from Amazon S3 to a different AWS Region.
-
S3: Storage - Standard
Filters by the costs associated with how many GB that you have stored in Amazon S3.
-