Using user-defined cost allocation tags
User-defined tags are tags that you define, create, and apply to resources. After you have created and applied the user-defined tags, you can activate by using the Billing and Cost Management console for cost allocation tracking. Cost allocation tags appear on the console after you've enabled Cost Explorer, Budgets, Amazon Cost and Usage Reports, or legacy reports. After you activate the Amazon services, they appear on your cost allocation report. You can then use the tags on your cost allocation report to track your Amazon costs. Tags are not applied to resources that were created before the tags were created.
Note
As a best practice, reactivate your cost allocation tags when moving organizations. When an account moves to another organization as a member, previously activated cost allocation tags for that account lose their "active" status and need to be activated again by the new management account.
As a best practice, do not include sensitive information in tags.
Only a management account in an organization and single accounts that aren't members of an organization have access to the cost allocation tags manager in the Billing and Cost Management console.
Applying user-defined cost allocation tags
For ease of use and best results, use the Amazon Tag Editor to create and apply user-defined tags. The Tag Editor provides a central, unified way to create and manage your user-defined tags. For more information, see the Tagging Amazon Resources and Tag Editor User Guide.
For supported services, you can also apply tags to resources using the API or the Amazon Web Services Management Console. Each Amazon service has its own implementation of tags. You can work with these implementations individually or use Tag Editor to simplify the process. For a full list of services that support tags, see Supported Resources for Tag-based Groups and Resource Groups Tagging API Reference.
Note
The behavior of cost allocation tags varies across Amazon services. To learn more about the cost allocation tag behavior for a supported service, refer to the service’s documentation. For example, to learn more about using cost allocation tags with Amazon ECS, see Tagging your Amazon ECS resources in the Amazon Elastic Container Service Developer Guide.
After you create and apply user-defined tags, you can activate them for cost allocation. If you activate your tags for cost allocation, it's a good idea to devise a set of tag keys that represent how you want to organize your costs. Your cost allocation report displays the tag keys as additional columns with the applicable values for each row, so it's easier to track your costs if you use a consistent set of tag keys.
Some services launch other Amazon resources that the service uses, such as Amazon EMR launching an EC2 instance. If the supporting service (EC2) supports tagging, you can tag the supporting resources (such as the associated Amazon EC2 instance) for your report. For a full list of resources that can be tagged, use the Tag Editor to search. For more information about how to search for resources using Tag Editor, see Searching for Resources to Tag.
Notes
-
Amazon Web Services Marketplace line items are tagged with the associated Amazon EC2 instance tag.
-
The
awsApplication
tag will be automatically added to all resources that are associated with applications that are set up in Amazon Service Catalog AppRegistry. This tag is automatically activated for you as a cost allocation tag. Tags that are automatically activated don’t count towards your cost allocation tag quota. For more information, see Quotas and restrictions.
User-defined tag restrictions
For basic tag restrictions, see Tag Restrictions in the Amazon EC2 User Guide.
The following restrictions apply to user-defined tags for Cost Allocation:
-
The reserved prefix is
aws:
.Amazon-generated tag names and values are automatically assigned the
aws:
prefix, which you can't assign. User-defined tag names have the prefixuser:
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.
-
In some services, you can tag a resource when you create it. For more information, see the documentation for the service where you want to tag resources.
-
If you need characters outside of those listed in Tag Restrictions, you can apply standard base-64 encoding to your tag. Billing and Cost Management does not encode or decode your tag for you.
User-defined tags on non-metered services can be activated (for example, Account Tagging). However, these tags will not populate in the Cost Management suite because these services are not metered.