Menu
Amazon Simple Storage Service
Developer Guide (API Version 2006-03-01)

Billing and Reporting of Buckets

Fees for object storage and network data transfer are always billed to the owner of the bucket that contains the object unless the bucket was created as a Requester Pays bucket.

The reporting tools available at the AWS developer portal organize your Amazon S3 usage reports by bucket. For more information about cost considerations, see Amazon S3 Pricing.

Cost Allocation Tagging

You can use cost allocation tagging to label Amazon S3 buckets so that you can more easily track their cost against projects or other criteria.

Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign up to get your AWS account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see Cost Allocation and Tagging in About AWS Billing and Cost Management.

A cost allocation tag is a name-value pair that you define and associate with an Amazon S3 bucket. We recommend that you use a consistent set of tag keys to make it easier to track costs associated with your Amazon S3 buckets.

Each Amazon S3 bucket has a tag set, which contains all the tags that are assigned to that bucket. A tag set can contain as many as ten tags, or it can be empty.

If you add a tag that has the same key as an existing tag on a bucket, the new value overwrites the old value.

AWS does not apply any semantic meaning to your tags: tags are interpreted strictly as character strings. AWS does not automatically set any tags on buckets.

You can use the Amazon S3 console, the CLI, or the Amazon S3 API to add, list, edit, or delete tags. For more information about creating tags in the console, go to Managing Cost Allocation Tagging in the Amazon Simple Storage Service Console User Guide.

The following list describes the characteristics of a cost allocation tag.

  • The tag key is the required name of the tag. The string value can contain 1 to 128 Unicode characters. It cannot be prefixed with "aws:". The string can contain only the set of Unicode letters, digits, whitespace, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

  • The tag value is a required string value of the tag. The string value can contain from 1 to 256 Unicode characters. It cannot be prefixed with "aws:". The string can contain only the set of Unicode letters, digits, whitespace, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

    Values do not have to be unique in a tag set, and they can be null. For example, you can have the same key-value pair in tag sets named project/Trinity and cost-center/Trinity.