How to annotate S3 billing by adding cost allocation tagging

Cost allocation tagging is to label your S3 buckets with a tag that consists of a key and a value in order to track their costs. Of course, cost allocation tagging is used also for other AWS resources such as EC2 instances, EBS volumes, RDS, and so on.

Getting ready

You need to enable Detailed Billing reports and set up your monthly cost allocation report by following the official instructions in advance:

How to ...

Get Amazon S3 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.