Using Cost Allocation Tags
A tag is a label that you or AWS assigns to an AWS resource. Each tag consists of a key and a value. A key can have more than one value. You can use tags to organize your resources, and cost allocation tags to track your AWS costs on a detailed level. After you activate cost allocation tags, AWS uses the cost allocation tags to organize your resource costs on your cost allocation report, to make it easier for you to categorize and track your AWS costs. AWS provides two types of cost allocation tags, an AWS-generated tag and user-defined tags. AWS defines, creates, and applies the AWS-generated tag for you, and you define, create, and apply user-defined tags. You must activate both types of tags separately before they can appear in Cost Explorer or on a cost allocation report.
The following diagram illustrates the concept. In the example, you've assigned
two Amazon EC2 instances, one tag called Cost Center and another tag called Stack. Each of the
tags has an associated
value. You also activated the AWS-generated tag,
createdBy before creating these
createdBy tag tracks who created a resource. The user-defined
tags use the
user prefix, and the AWS-generated tag uses the
After you or AWS applies tags to your AWS resources (such as Amazon EC2 instances or Amazon S3 buckets) and you activate the tags in the Billing and Cost Management console, AWS generates a cost allocation report as a comma-separated value (CSV file) with your usage and costs grouped by your active tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services.
The cost allocation report includes all of your AWS costs for each billing period. The report includes both tagged and untagged resources, so that 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 that runs on those resources. The following screenshot shows a partial report with columns for each tag.
At the end of the billing cycle, the total charges (tagged and untagged) on the billing report with cost allocation tags reconciles with the total charges on your Bills page total and other billing reports for the same period.
You can also use tags to filter views in Cost Explorer. For more information about Cost Explorer, see Analyzing Your Costs with Cost Explorer.
For more information about activating the AWS-generated tag, see Activating the AWS-Generated Cost Allocation Tag. For more information about applying and activating user-defined tags, see User-Defined Cost Allocation Tags.
NoteYou can't delete or merge tags. Instead, deactivate tags so that they aren't used in your billing reports.