AWS Account Billing
About AWS Account Billing (Version 1.0)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Getting Your Bill

Important

AWS released a new Billing and Cost Management console in November 2013 that supersedes the Billing Portal. The AWS Account Billing guide also supersedes this guide. The Billing Portal is scheduled for deprecation and will no longer be supported after April 30, 2014.

AWS invoices monthly for your usage charges and recurring fees; for one-time fees, you are charged immediately. You have several ways to view your estimated charges for the current month, as well as final charges for previous months. This section describes the billing formats provided by AWS.

Current Charges

The Account Activity page is a detailed statement of your charges. This page includes estimated usage charges and invoices for one-time fees for the current month. You can also view a previous month's statements and invoices.

Download Invoice

At the end of a billing cycle or for one-time fees, AWS issues your invoice as a PDF file.

To get a PDF file invoice

  1. Go to Account Activity.

  2. Select the statement month using the Select a different statement field.

  3. In the Summary section, click the option to View charges and download PDFs.

Detailed Reports

You can get detailed reports of your charges for a month in CSV (comma-separated value) format. The report is generated for both estimated month-to-date charges and final month-end charges. You can also get a CSV report that lists account activity in hourly increments. You can view these reports in common applications that can read CSV files such as Microsoft Excel, or you can write custom applications that access the billing data within the CSV file.

Note

Consolidated billing customers: AWS is enhancing the CSV report format to include additional data. During the transition, AWS will provide two versions of the CSV report for your accounts. One report includes a subset of the content in the other report.

These detailed reports are available after you sign up for CSV reports on the Billing Preferences page. For information about signing up for CSV reports, see Set Up Programmatic Billing Access.

Programmatic Access to the Report

If you sign up for Programmatic Billing Access, you can get your CSV report for your estimated and final charges from an Amazon S3 bucket you specify. The file contains charges for the account, broken down by AWS product and individual type of usage.

For more information about getting this CSV report published to an Amazon S3 bucket, see Programmatic Billing Access.

Monthly and Detailed Billing Reports

AWS generates reports of estimated charges that provide details of AWS usage for accounts. You can obtain reports that show usage at both monthly and hourly granularity. These reports also display usage by accounts linked to a payer account for consolidated billing customers.

The following sections describe the monthly and detailed billing (hourly) reports, discuss ways they can be used to understand your AWS costs, and list the columns in each report.

Monthly Report

You can download a monthly report of your estimated AWS charges from the Account Activity page. For consolidated billing customers, this report is currently available only to the payer accounts and includes activity for all the accounts linked to the payer account. Linked account owners can obtain the monthly report only from the payer account owner at this time.

The report contains line items for each AWS product and operation the account uses. The estimated report is updated multiple times per day. You can see monthly reports for previous months by selecting the statement period.

Detailed Billing (Hourly) Report

Detailed billing reports provide line items for every hour (or partial hour) of AWS activity for an account. For consolidated billing customers, the report displays a line item for all AWS usage by linked accounts and the payer account. The term for this set of accounts linked to a payer account is the consolidated billing account family. You see two line items for all usage in the detailed billing reports for consolidated billing accounts. One line belongs to the payer and represents the charge for the usage. The other line belongs to the linked account and is an allocation of cost from the payer account charges to the linked account. The topic Blended Rates for Consolidated Billing Accounts explains this allocation process in detail.

Note

The detailed billing report is not a bill, but an estimate of costs and charges for AWS usage. Only the invoice you receive each month contains your actual charges.

Tip

As a best practice, avoid running AWS services under the account you designate as the payer account. This practice eliminates the need to think of the payer account as distinct from the linked accounts.

You choose to have the detailed billing report generated on the Billing Preferences page, as with the monthly report. Unlike with the monthly report, however, you cannot download it from the Account Activity page. Instead, it is delivered to the same Amazon S3 bucket as the monthly report as a .zip file. You can access this file programmatically using the Amazon S3 API, or by manually navigating to the bucket using the Amazon S3 console. These reports are only available starting with the date at which you opted in to the feature.

The detailed billing report can run to sizes of more than a gigabyte, and may exceed the capacity of tools such as Microsoft Excel to display every line. Your database administrator may need to import it into a database for analysis. To reduce its size, the hourly report contains only a subset of fields in the monthly report. For example, it does not display fields that would be the same for every record, such as Invoice Date or Billing Period Start Date. See the section CSV Report Fields.

Blended and Unblended Rates: You can use the detailed billing report to perform detailed cost analyses on your usage. AWS meters usage in hourly increments; for each product resource in use, a rate is applied for operations performed by usage type in that hour, with each operation comprising a line item. The hourly report shows both blended and unblended rates for each line item. An unblended rate is the cost per hour for a product, usage type, and the operation performed. A blended rate is an average rate calculated for identical instance usage in an Availability Zone for members of a consolidated billing family.

The following list describes the aims of the detailed billing report:

  • Making both the blended and unblended rates and costs for every hour of usage transparent. Unblended costs correspond to the published rate for a product and operation in a region with no discounts applied for eligible Reserved Instances in the account family. For more information about blended and unblended rates, see Blended Rates for Consolidated Billing Accounts.

  • Enabling you to locate the exact time at which usage switched to lower-cost pricing tiers based on volume. Lower rates apply automatically when usage reaches the next tier of volume rates. You can tell when a transition to a lower-priced tier occurs because two line items appear for two partial hours of usage, one each for the higher and lower rate.

  • Showing how Reserved Instance discounts are applied first to the linked accounts that purchased a Reserved Instance, and then to other accounts in the family running the same products in the same Availability Zone.

To learn more about consolidated billing and the potential savings that apply when you purchase Reserved Instances, see the following topics:

Detailed Billing (Hourly) Report with Resources and Cost Allocation Tags

The Detailed Billing Report with Resources and Cost Allocation Tags adds additional dimensions by which you can view your AWS charges. This report includes resource identifiers for many of the AWS services. Amazon EC2, for example, provides a ResourceID value for each Amazon EC2 instance run under your account. You can use this field to view your charges for each AWS resource, as well as for filtering and aggregating data.

Any cost allocation tags you have applied to your resources are also appended to each line item in the report. You can filter or aggregate on these tags too. For information about creating cost allocation tags, see Cost Allocation and Tagging. For cost allocation tags to appear in this report, you must select them as described in the section How to Apply Tags.

Note

This report contains line items for every hour of operation for every resource and can grow quite large. The report is compressed into a ZIP file, but may exceed the maximum number of rows you can display in an Excel spreadsheet.

You can sign up for this report on the Billing Preferences page.

Note

For Consolidated Billing customers, AWS publishes detailed billing reports only to the payer account's Amazon S3 bucket. Linked accounts do not receive detailed reports.

CSV Report Fields

The following table lists the fields that appear in the monthly and detailed billing reports. Click the link on each field name to read a description and usage notes.

CSV Billing Report Fields
Field Name Monthly Report Hourly Report Hourly Report with Resources and Tags
Account and Invoice Information Fields
InvoiceID X X X
Paying Account ID X X X
Linked Account ID X X X
Record Type X X X
Record ID X X
Billing Period Start Date X
Billing Period End Date X
Invoice Date X
Product Usage Information Fields
Product Code X
Product Name X X X
Seller of Record X
Usage Type X X X
Operation X X X
Availability Zone X X
Reserved Instance X X
Rate ID X X X
Subscription ID X X
Pricing Plan ID X X
Item Description X X X
Usage Start Date X X X
Usage End Date X X X
Usage, Cost, and Tax Information Fields
Usage Quantity X X X
Blended Rate X X X
Blended Cost X X
Unblended Rate X X
Unblended Cost X X
Currency Code X
Cost Before Tax X
Credits X
Tax Amount X
Tax Type X
Total Cost X
ResourceID and Custom Tags
ResourceID X
Cost Allocation Tags X

Billing Reports CSV Field Reference

The following list describes the information that appears in the fields of both the monthly and detailed billing CSV reports.

Account and Invoice Information Fields

InvoiceID

The 8-digit identifier for the AWS invoice. This value maps to the invoice number on the PDF file for the corresponding month.

Paying Account ID

The 12-digit AWS identifier for the paying account for the report.

Linked Account ID

For consolidated billing accounts, the 12-digit AWS identifier for the linked account.

Record Type

The CSV files can contain several different types of record:

  • Statement Total—A summary of all charges in the billing period.

  • Invoice Total—A summary of all charges for an invoice. An invoice total for each invoice is included.

  • Account Total—A summary of all charges for an account in a billing period. For consolidated billing customers, this includes a total for each linked account. This total can include multiple invoices per account. This record type appears only in reports for consolidated billing accounts.

  • Payer Line Item—An item that includes all usage with the same product, usage type, and operation. Sum all the payer line items to reconcile the amount with your account totals.

  • Linked Account Line Item—For consolidated billing customers only: Linked-account line items are proportionally allocated from the paying-account line items based on linked account usage. Summing all linked-account line items reconciles your statement and invoice totals if you add the CB Rounding Error value.

    AWS does not provide payer-level line items in the detailed billing (hourly) report, so there is no distinction between the paying account and linked accounts. All usage appears as "Line Item."

  • CB Rounding Error—For consolidated billing customers only: This difference results from rounding charges that are allocated from the consolidated billing account invoice to individual linked accounts. If you have opted in to the hourly report, your CB rounding error reflects both rounding errors from consolidated billing as well as from the calculation of hourly charges, i.e., splitting the bill over 720 or 744 hours. The invoice reconciles when you add the rounding errors to the sum of all line items. In the hourly report, this record type appears as "Rounding."

Hourly Report Usage Notes:

Record ID

Unique identifier for each line item. Record IDs are unique for the billing period.

Billing Period Start Date

The start of the applicable charge period. All usage charges and recurring fees between the period start and end are included in your monthly invoice.

In most months, the start of the charge period is the first day of the month. If the account is new, or was added to the consolidated bill, or if the price for the listed product changed during the month the report covers, the Start Date reflects the date of the change.

For example, if an AWS account was added to the consolidated bill on December 10 at noon UTC, then the Start Date shown in the December report is 2009-12-10 12:00:00 UTC. If the price for the listed product changes on December 23 at 9:00 a.m. UTC, the report lists a second row for the new price with a Start Date of 2009-12-23 09:00:00 UTC.

Example: 2/1/2012 00:00:00

Billing Period End Date

The end of the applicable charge period. All usage charges and recurring fees between the period start and end are included in your monthly invoice. If the account is terminated, or is removed from the consolidated bill, or if the price for the listed product changed, the End Date reflects the date of the change.

Example: 2012/2/29 23:59:59

Invoice Date

The date and time your AWS invoice was issued.

Example: 2013/1/3 8:22:38

Product Usage Information Fields

Product Code

Short name of the AWS product.

Product Name

Long name of the AWS product.

Seller of Record

The official seller of services; this will normally be Amazon Web Services, Inc.. Services purchased from AWS Marketplace list a different seller of record.

Detailed Billing Report Usage Notes: AWS Marketplace users receive two hourly reports. One report is for AWS Marketplace activity, and contains your Marketplace ID in the name of the report. The other report reflects AWS usage outside AWS Marketplace.

Usage Type

Specifies operational details of the usage line item.

The following example describes Amazon EC2 High-Memory Double Extra Large Instance box usage in the US West (Oregon) region.

Example: USW1-BoxUsage:m2.2xlarge

Operation

Describes the specific usage of the line item. For example, a value of "RunInstances" indicates the operation of an Amazon EC2 instance.

Availability Zone

Specifies Availability Zone in which charged usage occurred.

Hourly Report Usage Notes: This column enables you to group instances by Availability Zone. Reserved Instance discounts apply only to on-demand instances within the same Availability Zone as the Reserved Instance(s).

Reserved Instance

Indicates whether the line item was calculated at a Reserved Instance rate. Values are "Y" for Yes and "N" for No. Reserved Instance purchase fees are also flagged with a "Y".

Rate ID

Numeric rate ID that maps to the Item description. The value is assigned by AWS for the Item description, and identifies the billing rate for computation purposes.

Subscription ID

Unique identifier for the AWS product described by the line item.

Pricing Plan ID

Numeric ID for the rate listed in the AWS pricing plan for the corresponding service.

Item Description

Description of the type of usage for this line item. This description matches the description in the Account Activity page, including the average price of any usage that is based on a volume pricing tier. Any price value shown is rounded to three decimal places.

Note

In the monthly report, you may occasionally encounter inconsistencies between rates listed in the Item Description field and the Unblended Rate field. This is due to the allocation of blended rates that are applied as part of consolidated billing.

Usage Start Date

The start of usage for this line item.

Usage End Date

The end of usage for this line item.

Usage, Cost, and Tax Information Fields

Usage Quantity

Computing resources used, in the units specified by each service. For example, your service may determine pricing by amount of storage, number of requests, or hours of operation. For more information about how usage is calculated, go to http://aws.amazon.com/pricing/.

Note

Some services refer to this field as "Usage Value."

Blended Rate

For consolidated billing accounts, the effective rate for the line item, calculated as an average of the cost of identical Amazon EC2 instances operating in that hour in the same Availability Zone. For a detailed explanation of blended rates and how they are calculated, see Blended Rates for Consolidated Billing Accounts.

Blended Cost

Cost for the operation listed in the line item based on the blended rate. For some operations, such as BoxUsage for a full hour of an Amazon EC2 instance, the blended rate and the blended cost are the same. For other operations, such as I/O requests or data transfer, this column is the product of the blended rate multiplied by the value in the Usage Quantity column.

Unblended Rate

Published rate per hour of operation for the usage type specified in the Item Description field.

Unblended Cost

Cost for the operation listed in the line item based on the unblended rate. For some operations, such as BoxUsage for a full hour of an Amazon EC2 instance, the unblended rate and the unblended cost are the same. For other operations, such as I/O requests or data transfer, this column is the product of the blended rate multiplied by the value in the Usage Quantity column.

Currency Code

Currency of the displayed charges. Example: USD

Cost Before Tax

The month-to-date charges, before any applicable taxes.

Hourly Report Usage Notes: Taxes are not broken down by line items in hourly reports. Taxes are applied only to monthly line items. In the hourly report, tax is listed using separate line items.

Credits

Amount of credit that applies to the line item.

Hourly Report Usage Notes: In an hourly report, credits are line items instead of columns. Credit lines are applied to invoices, not to the entire report. Sort by the Invoice ID to find the credits that apply to an invoice.

Tax Amount

Estimated tax collected by AWS.

Tax Type

Type of tax collected by AWS, such as US sales tax or VAT.

Total Cost

The total charges, after any applicable taxes.

Resource and Custom Tag Fields

ResourceID

Identifier for the AWS resource as defined by each AWS service.

Cost Allocation Tags

If you have added cost allocation tags to your resources, each tag appears as an additional column in the CSV file.

Understanding Overages and Underages

The detailed billing (hourly) report can be used to visualize your usage over time. You can determine, for example, when you are underusing your Reserved Instance capacity, or when application load is precipitating the use of on-demand instance hours.

The following graph shows usage by an account over the course of a 24-hour period. The account has purchased four Reserved Instances, which meets demand in every hour except between 5:00:00 AM and 11:59:59 AM. During these hours, up to four additional instances operate to meet demand. In addition, low demand requires only three instances during two hours from 7:00:00 PM to 8:59:59 PM.

Note: When you do not use Reserved Instance capacity, the reservation is not applied to overages in other hours. For consolidated billing customers, unused capacity can be applied to other accounts in the family for identical usage types in the same Availability Zone.

Instance Usage by Type Per Hour

Cost Allocation and Tagging

You can use cost allocation to organize and track your AWS costs. When you apply tags to your AWS resources (such as Amazon EC2 instances or Amazon S3 buckets), AWS generates a Cost Allocation Report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent your business dimensions (such as cost centers, application names, or owners) to organize your costs across multiple services.

To get a Cost Allocation Report, you must sign up for Programmatic Billing Access and get the report from the designated Amazon S3 bucket using the Amazon S3 API. The Cost Allocation Report is not available from the Account Activity page of the AWS Management Console.

The Cost Allocation Report includes all of your AWS costs for each billing period. The report includes both tagged and untagged resources, so you can clearly organize the charges for resources. For example, if you tag resources with an application name, you can track the total cost of a single application utilizing those resources. The following shows a partial report with columns for each tag.

Partial Cost Allocation Report showing keys as columns

At the end of the billing cycle, the total charges (tagged and untagged) on the Cost Allocation Report reconcile with the total charges on your Downloadable CSV Report and your Account Activity page total.

What Is a Tag?

A tag is a label you assign to an AWS resource. Each tag consists of a key and a value, both of which you define. AWS uses tags to organize resource costs on your Cost Allocation Report.

The following diagram illustrates the concept. In the diagram, you've assigned tags to two Amazon EC2 instances, one called Cost Center and another called Stack. Each of the tags also has an associated value.

Example Tags

How to Apply Tags

You apply tags to resources through simple API requests or through the AWS Management Console for services that support tagging. Each AWS service has its own implementation of tags. The following is a current list of services that support tags.

AWS ProductFor more information, see...
Amazon Elastic Compute Cloud (Amazon EC2)

Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide.

Auto Scaling

Tagging Auto Scaling Groups and Amazon EC2 Instances in the Auto Scaling Developer Guide.

Amazon Simple Storage Service (Amazon S3)

Billing and Reporting of Buckets in the Amazon Simple Storage Service Developer Guide.

Amazon Elastic Block Store (Amazon EBS)

Amazon EBS volume charges can be allocated, but Amazon EBS snapshot charges cannot. See Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide.

Amazon Virtual Private Cloud (Amazon VPC)

Amazon VPC and Amazon EC2 resources that can be tagged are listed in Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide.

AWS CloudFormation

Tagging Your Member Resources in the AWS CloudFormation User Guide.

Amazon Relational Database Service (Amazon RDS)DB Instance Tags in the Amazon Relational Database Service User Guide.  

Note

For services that launch "underlying" resources that support tagging, such as Amazon Elastic MapReduce or AWS Marketplace, you can tag the underlying resources (such as the associated Amazon EC2 instance) for your report.

We recommend that you devise a set of tag keys that represent how you want to organize your costs. You can use a consistent set of tag keys to track your costs to have your Cost Allocation Report display the keys as additional columns with applicable values for each row.

For an example of how tags appear in your Cost Allocation Report, see Viewing a Cost Allocation Report.

Tag Restrictions

The following basic restrictions apply to tags:

  • Maximum key length: 128 Unicode characters

  • Maximum value length: 256 Unicode characters

  • Maximum number of tags per resource: 10

  • Reserved prefix—aws:

    AWS-assigned tag names and values are assigned the aws: prefix, which the user cannot assign. AWS-assigned tag names do not count towards the tag limit of 10. User-assigned tag names have the prefix user: in the Cost Allocation Report.

  • Use each key only once for each resource. If you attempt to use the same key twice on the same resource, your request will be rejected.

  • You cannot tag a resource at the same time you create it. Tagging requires a separate action after the resource is created.

  • You cannot backdate the application of a tag.

  • Allowed characters are letters, whitespace, and numbers representable in UTF-8, plus the following special characters: + - = . _ : /

    Note

    If you need to use characters outside this set, you can standard base-64 encode your tag.

Getting a Cost Allocation Report

To get a Cost Allocation Report, first sign up for Programmatic Billing Access. Then, opt in to the Cost Allocation Report. AWS publishes the report as a CSV file to the Amazon S3 bucket you specify for Programmatic Billing Access. AWS publishes the report several times each day.

CSV files are stored in your designated bucket using the following naming convention.

123456789012-aws-cost-allocation-yyyy-mm.csv 

123456789012 = account ID

y = year

m = month

Note

During the current billing period (monthly), AWS generates an estimated Cost Allocation Report. The current month's file is overwritten throughout the billing period until a final report is generated at the end of the billing period. Then, a new file is created for the next billing period. The final reports for the previous months remain in the designated Amazon S3 bucket.

You'll see two sets of reports in your bucket: one is the Downloadable CSV Report for Programmatic Billing Access, and the other is your Cost Allocation Report.

To sign up for the Cost Allocation Report

  1. Set up your account for Programmatic Billing Access, if you haven't done so already. Enable CSV Reports and Programmatic Billing Access. AWS publishes Cost Allocation Reports to a designated Amazon S3 bucket.

  2. Go to the Billing Preferences page.

  3. In the Cost Allocation Report section, click Sign Up Now.

    Cost Allocation Sign Up button
  4. When you are signed up for the Cost Allocation Report, the status line shows Enabled.

    Cost Allocation Sign Up enabled

Configuring a Cost Allocation Report

The Cost Allocation Report includes the same line items as the Downloadable Report (see Monthly and Detailed Billing Reports ), plus additional columns you've selected to include in the report identified by your tag keys.

Note

By default, new tag keys that you add using the API or the AWS Management Console are automatically excluded from the Cost Allocation Report.

When you select tag keys to include in your Cost Allocation Report, each key becomes an additional column and includes the value for each corresponding line item. Since you might use tags for more than just your Cost Allocation Report (e.g., tags for security or operational reasons), you can include or exclude individual tag keys for the report. This ensures that you're seeing meaningful billing information that helps organize your costs. A small number of consistent tag keys makes it easier to track your costs. For more information, see Viewing a Cost Allocation Report.

To configure the keys that appear in the Cost Allocation Report

  1. After signing up for the Cost Allocation Report, select the Manage Cost Allocation Report page (which is also accessible through your Billing Preferences page). The page displays a list of tags you've created using either the API or the console for the applicable AWS service. Tag keys that currently appear in the report are selected, while the check boxes for excluded tag keys are cleared.

    Cost Allocation Management page
  2. Select No from the Included column.

    Select any check boxes for tags that you want to add to the report.

    Cost Allocation Management Excluded keys

    Note

    Conversely, to remove tags from the report, select Yes from the Included column and clear the check boxes that correspond to the tag keys you want to exclude. If you have a long list of tag keys to search, you can filter the list using the text box located under the Key label.

For consolidated billing customers, your Cost Allocation Report includes all the usage, costs, and tags for your linked accounts. By default, all keys registered by linked accounts where you are the Payer are available for you to include or exclude from your report.

Viewing a Cost Allocation Report

The following example tracks the charges for several cost centers and applications. Resources (such as Amazon EC2 instances and Amazon S3 buckets) are assigned tags like "Cost Center"="78925" and "Application"="Widget1". In the Cost Allocation Report, the user-assigned tag keys have the prefix "user", such as "user:Cost Center" and "user:Application". AWS-assigned tag keys have the prefix "aws". The keys are column headings identifying each tagged line item's value, such as "78925".

Keys in the Downloadable CSV Report

You can use an application like Microsoft Excel to create pivot tables that group the keys and the values for each key so you can see combined values for tagged resources. The following example organizes information first by "Cost Center" and within each cost center further organizes the information by the "Application" tag.

Example of a Microsoft Excel pivot table using tagged resources

Pick your keys carefully so you have a consistent hierarchy of values; otherwise, your report won't aggregate costs effectively, and you'll have many line items.

Note

If you add or change the tags on a resource part-way through a billing period, costs will be split into before and after the update as two separate lines in your Cost Allocation Report.

Unallocated Resources in Your Report

Any charges that cannot be allocated by tags in your Cost Allocation Report default to the standard billing aggregation (organized by Account/Product/Line Item) and are included in your report. Situations where you can have unallocated costs include:

  • You signed up for a Cost Allocation Report mid-month.

  • Some resources aren't tagged for part, or all, of the billing period.

  • You are using services that currently do not support tagging.

  • Subscription-based charges, such as Premium Support and AWS Marketplace monthly fees, cannot be allocated.

  • One-time fees, such as Amazon EC2 Reserved Instance upfront charges, cannot be allocated.

  • Amazon Elastic Block Store (Amazon EBS) snapshot charges cannot be allocated, even though Amazon EBS volume charges can be allocated.