- Newest
- Most votes
- Most comments
According to the official AWS documentation (https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html), cost allocation tags can only be applied to S3 buckets and not to individual objects within those buckets. The documentation states, "You can add cost allocation tags to S3 buckets to categorize and track your AWS costs." However, it also mentions, "Unlike all other Amazon S3 resources, tags added to buckets using the Amazon S3 API are not cost allocation tags. To use cost allocation tags, you must activate them in the Billing and Cost Management console."
AWS Tag editor and billing only supports resource tagging and not object tagging. You can tag your buckets but objects will not be reported in Tag Editor or billing reports.
Cost allocation tags can only be used to label buckets.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html
Relevant content
- asked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
Thanks, Gary. I was hoping to use Cost Explorer to provide a self-serve way to view our cost breakdowns by the storage_class and order tags. I saw this post on using Athena, but SQL queries aren't very user friendly.
Post: https://aws.amazon.com/blogs/big-data/analyze-amazon-s3-storage-costs-using-aws-cost-and-usage-reports-amazon-s3-inventory-and-amazon-athena/
Are there alternatives you can suggest? Assume that creating a new bucket for each combination of <storage_class, order> is not possible.