

# Billing and usage reporting for Amazon S3
Billing and usage reporting

When using Amazon S3, you don't have to pay any upfront fees or commit to how much content you'll store. Like other AWS services, you pay as you go and pay only for what you use.

AWS provides the following reports for Amazon S3:
+ **Billing reports** – Multiple reports that provide high-level views of all of the activity for the AWS services that you're using, including Amazon S3. AWS always bills the owner of the S3 bucket for Amazon S3 fees, unless the bucket was created as a Requester Pays bucket. For more information about Requester Pays, see [Using Requester Pays general purpose buckets for storage transfers and usage](RequesterPaysBuckets.md). For more information about billing reports, see [AWS Billing reports for Amazon S3](aws-billing-reports.md).
+ **Usage report** – A summary of activity for a specific service, aggregated by hour, day, or month. You can choose which usage type and operation to include. You can also choose how the data is aggregated. For more information, see [AWS usage reports for Amazon S3](aws-usage-report.md).

The following topics provide information about billing and usage reporting for Amazon S3.

**Topics**
+ [

# Using cost allocation S3 bucket tags
](CostAllocTagging.md)
+ [

# AWS Billing reports for Amazon S3
](aws-billing-reports.md)
+ [

# AWS usage reports for Amazon S3
](aws-usage-report.md)
+ [

# Understanding your AWS billing and usage reports for Amazon S3
](aws-usage-report-understand.md)
+ [

# Billing for Amazon S3 error responses
](ErrorCodeBilling.md)

# Using cost allocation S3 bucket tags
Using cost allocation tags

To track the storage cost or other criteria for individual projects or groups of projects, label your Amazon S3 buckets using cost allocation tags. A *cost allocation tag* is a key-value pair that you associate with an S3 bucket. After you activate cost allocation tags, AWS uses the tags to organize your resource costs on your cost allocation report. Cost allocation tags can only be used to label buckets. For information about tags used for labeling objects, see [Categorizing your objects using tags](object-tagging.md).

The *cost allocation report* lists the AWS usage for your account by product category and linked account user. The report contains the same line items as the detailed billing report (see [Understanding your AWS billing and usage reports for Amazon S3](aws-usage-report-understand.md)) and additional columns for your tag keys.

AWS provides two types of cost allocation tags, an AWS-generated tag and user-defined tags. AWS defines, creates, and applies the AWS-generated `createdBy` tag for you after an Amazon S3 CreateBucket event. You define, create, and apply *user-defined* tags to your S3 bucket.

You must activate both types of tags separately in the Billing and Cost Management console before they can appear in your billing reports. For more information about AWS-generated tags, see [AWS-Generated Cost Allocation Tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tags.html). 

For more information about activating tags, see [Using cost allocation tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the *AWS Billing User Guide*.

**User-defined cost allocation tags**  
A user-defined cost allocation tag has the following components:
+ The tag key. The tag key is the name of the tag. For example, in the tag project/Trinity, project is the key. The tag key is a case-sensitive string that can contain 1 to 128 Unicode characters. 
+ The tag value. The tag value is a required string. For example, in the tag project/Trinity, Trinity is the value. The tag value is a case-sensitive string that can contain from 0 to 256 Unicode characters.

For details on the allowed characters for user-defined tags and other restrictions, see [User-Defined Tag Restrictions](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) in the *AWS Billing User Guide*. For more information about user-defined tags, see [User-Defined Cost Allocation Tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/custom-tags.html) in the *AWS Billing User Guide*.

**S3 bucket tags**  
Each S3 bucket has a tag set. A *tag set* contains all of the tags that are assigned to that bucket. A tag set can contain as many as 50 tags, or it can be empty. Keys must be unique within a tag set, but values in a tag set don't have to be unique. For example, you can have the same value in tag sets named project/Trinity and cost-center/Trinity.

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

AWS doesn't apply any semantic meaning to your tags. We interpret tags strictly as character strings. 

To add, list, edit, or delete tags, you can use the Amazon S3 console, the AWS Command Line Interface (AWS CLI), or the Amazon S3 API. 

## Managing tags for general purpose buckets


You can add or manage tags for general purpose buckets using the Amazon S3 Console, the AWS Command Line Interface (CLI), the AWS SDKs, or using the S3 APIs. For more information, see the following.

**Using the Amazon S3 Console**  
To create tags in the console, see:
+ [Viewing the properties for an S3 general purpose bucket](view-bucket-properties.md).

**Using the API**  
To manage tags using the Amazon S3 API, see the following API pages in the *Amazon Simple Storage Service API Reference*.
+ [PutBucketTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html)
+ [GetBucketTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html)
+ [DeleteBucketTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html)

**Note**  
After you enable ABAC, the `PutBucketTagging` or `DeleteBucketTagging` operations will no longer work. Instead, use the `TagResource` and `UntagResource` APIs to add or delete tags on your buckets. We recommend you use the `TagResource` and `UntagResource` APIs to manage tagging before enabling ABAC on your buckets. To learn more about ABAC, see[Enabling ABAC in general purpose buckets](buckets-tagging-enable-abac.md).

**Using the CLI**  
To manage tags using the AWS CLI, see the following pages in the AWS CLI Command Reference.
+ [put-bucket-tagging](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-bucket-tagging.html)
+ [get-bucket-tagging](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-bucket-tagging.html)
+ [delete-bucket-tagging](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-bucket-tagging.html)

## More Info

+ [ Using Cost Allocation Tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the *AWS Billing User Guide*
+ [Understanding your AWS billing and usage reports for Amazon S3](aws-usage-report-understand.md)
+ [AWS Billing reports for Amazon S3](aws-billing-reports.md)

# AWS Billing reports for Amazon S3
Billing reports

Your monthly bill from AWS separates your usage information and cost by AWS service and function. There are several AWS Billing reports available: the monthly report, the cost allocation report, and detailed billing reports. For information about how to see your billing reports, see [Viewing Your Bill](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/getting-viewing-bill.html) in the *AWS Billing User Guide*.

To track your AWS usage and provide estimated charges associated with your account, you can set up AWS Cost and Usage Reports. For more information, see [What are AWSCost and Usage Reports?](https://docs.aws.amazon.com/cur/latest/userguide/what-is-cur.html) in the *AWS Data Exports Guide*.

You can also download a usage report that gives more detail about your Amazon S3 storage usage than the billing reports. For more information, see [AWS usage reports for Amazon S3](aws-usage-report.md).

The following table lists the charges associated with Amazon S3 usage. 


| Charge | Comments | 
| --- | --- | 
|  Storage  |  You pay for storing objects in your S3 buckets. The rate you're charged depends on your objects' size, how long you stored the objects during the month, and the storage class. Amazon S3 offers the following storage classes: S3 Standard, S3 Express One Zone, S3 Intelligent-Tiering, S3 Standard-IA (IA for infrequent access), S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, S3 Glacier Deep Archive, or Reduced Redundancy Storage (RRS). For more information about storage classes, see [Understanding and managing Amazon S3 storage classes](storage-class-intro.md). Be aware that if you have S3 Versioning enabled, you're charged for each version of an object that is retained. For more information about versioning, see [How S3 Versioning works](versioning-workflows.md).  | 
| General purpose buckets  | You're not billed for the first 2000 general purpose buckets that you create in your account. However, there is a per-bucket rate for each bucket that you create beyond the first 2000. This rate is billed per bucket/month. For information about general purpose bucket pricing, see [Amazon S3 Pricing](https://aws.amazon.com/s3/pricing/). | 
| Monitoring and automation | You pay a monthly monitoring and automation fee per object stored in the S3 Intelligent-Tiering storage class to monitor access patterns and move objects between access tiers in S3 Intelligent-Tiering. | 
|  Requests  |  You pay for requests, for example, `GET` requests, made against your S3 buckets and objects. This includes lifecycle requests. The rates for requests depend on what kind of request you're making. For information about request pricing, see [Amazon S3 Pricing](https://aws.amazon.com/s3/pricing/).  | 
|  Retrievals  |  You pay for retrieving objects that are stored in S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, and S3 Glacier Deep Archive storage.  | 
|  Early deletes  |  If you delete an object stored in S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, or S3 Glacier Deep Archive storage before the minimum storage commitment has passed, you pay an early deletion fee for that object.  | 
|  Storage management  |  You pay for the storage management features (Amazon S3 Inventory, analytics, and object tagging) that are enabled on your account's buckets.  | 
|  Bandwidth  |  You pay for all bandwidth into and out of Amazon S3, except for the following: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/AmazonS3/latest/userguide/aws-billing-reports.html) You also pay a fee for any data transferred by using Amazon S3 Transfer Acceleration.   | 

For detailed information about Amazon S3 usage charges for storage, data transfer, and services, see [Amazon S3 Pricing](https://aws.amazon.com/s3/pricing/) and the [Amazon S3 FAQs](https://aws.amazon.com/s3/faqs/#billing).

For information about understanding the codes and abbreviations used in the billing and usage reports for Amazon S3, see [Understanding your AWS billing and usage reports for Amazon S3](aws-usage-report-understand.md).

## More info

+ [AWS usage reports for Amazon S3](aws-usage-report.md)
+ [Using cost allocation S3 bucket tags](CostAllocTagging.md)
+ [AWS Billing and Cost Management](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html)
+ [Amazon S3 Pricing](https://aws.amazon.com/s3/pricing/)

# AWS usage reports for Amazon S3
Usage reports

When you download a usage report, you can choose to aggregate usage data by hour, day, or month. The Amazon S3 usage report lists operations by usage type and AWS Region. For more detailed reports about your Amazon S3 storage usage, download dynamically generated AWS usage reports. You can choose which usage type, operation, and time period to include. You can also choose how the data is aggregated. For more information about usage reports, see [AWS Usage Report](https://docs.aws.amazon.com/cur/latest/userguide/usage-report.html)in the *AWS Data Exports User Guide*.

The Amazon S3 usage report includes the following information:
+ **Service** – Amazon S3
+ **Operation** – The operation performed on your bucket or object. For a detailed explanation of Amazon S3 operations, see [Tracking Operations in Your Usage Reports](aws-usage-report-understand.md#aws-usage-report-understand-operations).
+ **UsageType** – One of the following values:
  + A code that identifies the type of storage
  + A code that identifies the type of request
  + A code that identifies the type of retrieval
  + A code that identifies the type of data transfer
  + A code that identifies early deletions from S3 Intelligent-Tiering, S3 Standard-IA, S3 One Zone-Infrequent Access (S3 One Zone-IA), S3 Glacier Flexible Retrieval, or S3 Glacier Deep Archive storage
  + `StorageObjectCount` – The count of objects stored within a given bucket

  For a detailed explanation of Amazon S3 usage types, see [Understanding your AWS billing and usage reports for Amazon S3](aws-usage-report-understand.md).
+ **Resource** – The name of the bucket or table associated with the listed usage.
+ **StartTime** – Start time of the day that the usage applies to, in Coordinated Universal Time (UTC).
+ **EndTime** – End time of the day that the usage applies to, in Coordinated Universal Time (UTC). 
+ **UsageValue** – One of the following volume values. The typical unit of measurement for data is gigabytes (GB). However, depending on the service and the report, terabytes (TB) might appear instead.
  + The number of requests during the specified time period
  + The amount of data transferred
  + The amount of data stored in a given hour
  + The amount of data associated with restorations from S3 Standard-IA, S3 One Zone-IA, S3 Glacier Flexible Retrieval, or S3 Glacier Deep Archive storage

**Tip**  
For detailed information about every request that Amazon S3 receives for your objects, turn on server access logging for your buckets. For more information, see [Logging requests with server access logging](ServerLogs.md). 

You can download a usage report as an XML or a comma-separated values (CSV) file. The following is an example CSV usage report opened in a spreadsheet application.

![\[A CSV usage report in a spreadsheet application.\]](http://docs.aws.amazon.com/AmazonS3/latest/userguide/images/s3-usage-report.png)


For more information, see [Understanding your AWS billing and usage reports for Amazon S3](aws-usage-report-understand.md).

## Downloading the AWS Usage Report


You can download a usage report as an XML or a CSV file.

**To download the usage report**

1. Sign in to the AWS Management Console and open the Amazon S3 console at [https://console.aws.amazon.com/s3/](https://console.aws.amazon.com/s3/).

1. In the title bar, choose your username or account ID, and then choose **Billing and Cost Management**. 

1. In the navigation pane, choose **Legacy Pages** and choose **Cost and usage reports**.

1. Under AWS Usage Report, choose **Create a Usage Report**.

1. On the **Download usage report** page, choose the following settings:
   + **Services** – Choose **Amazon Simple Storage Service**.
   + ****Usage Types**** – For a detailed explanation of Amazon S3 usage types, see [Understanding your AWS billing and usage reports for Amazon S3](aws-usage-report-understand.md).
   + ****Operation**** – For a detailed explanation of Amazon S3 operations, see [Tracking Operations in Your Usage Reports](aws-usage-report-understand.md#aws-usage-report-understand-operations).
   + ****Time Period**** – The time period that you want the report to cover. 
   + ****Report Granularity**** – Whether you want the report to include subtotals by the hour, by the day, or by the month.

1. Choose **Download**, choose the download format (**XML Report** or **CSV Report**), and then follow the prompts to open or save the report.

## More info

+ [Understanding your AWS billing and usage reports for Amazon S3](aws-usage-report-understand.md)
+ [AWS Billing reports for Amazon S3](aws-billing-reports.md)

# Understanding your AWS billing and usage reports for Amazon S3
Understanding billing and usage reports

When you use Amazon S3, we include related codes in your AWS billing and usage reports. Reviewing these codes helps you understand your Amazon S3 costs and usage patterns. Tracking and managing your expenses is essential for optimizing your costs. For more information, see [Amazon S3 pricing](https://aws.amazon.com/s3/pricing/).

Amazon S3 billing and usage reports use codes and abbreviations. For usage types in the table that follows, replace `region`, `region1`, and `region2` with abbreviations from [AWS Region billing codes](https://docs.aws.amazon.com/global-infrastructure/latest/regions/aws-region-billing-codes.html) in the *AWS Regions and Availability Zones User Guide*.

For S3 Multi-Region Access Points usage types in the table that follows, replace `regiongroup1` and `regiongroup2` with abbreviations from this list:
+ **AP:** Asia Pacific
+ **AU:** Australia
+ **EU:** Europe
+ **IN:** India
+ **NA:** North America
+ **SA:** South America

Region groups are geographical groupings of several AWS Regions. For more information, see [Regions and Availability Zones](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/). For information about pricing by AWS Region, see [Amazon S3 Pricing](https://aws.amazon.com/s3/pricing/).

The first column in the following table lists usage types that appear in your billing and usage reports. The typical unit of measurement for data is gigabytes (GB). However, depending on the service and the report, terabytes (TB) might appear instead.


| Usage Type | Units | Granularity | Description | 
| --- | --- | --- | --- | 
|  `region1-region2-AWS-In-ABytes`  |  GB  |  Hourly  | The amount of accelerated data transferred to region1 from region2 | 
|  `region1-region2-AWS-In-ABytes-T1`  |  GB  |  Hourly  | The amount of T1 accelerated data transferred to region1 from region2, where T1 refers to CloudFront requests to points of presence (POPs) in the United States, Europe, and Japan | 
|  `region1-region2-AWS-In-ABytes-T2`  |  GB  |  Hourly  | The amount of T2 accelerated data transferred to region1 from region2, where T2 refers to CloudFront requests to POPs in all other AWS edge locations | 
|  `region1-region2-AWS-In-Bytes`  |  GB  |  Hourly  |  The amount of data transferred to `region1` from `region2`  | 
|  `region1-region2-AWS-Out-ABytes`  |  GB  |  Hourly  | The amount of accelerated data transferred from region1 to region2 | 
|  `region1-region2-AWS-Out-ABytes-T1`  |  GB  |  Hourly  | The amount of T1 accelerated data transferred from region1 to region2, where T1 refers to CloudFront requests to POPs in the United States, Europe, and Japan | 
|  `region1-region2-AWS-Out-ABytes-T2`  |  GB  |  Hourly  | The amount of T2 accelerated data transferred from region1 to region2, where T2 refers to CloudFront requests to POPs in all other AWS edge locations | 
|  `region1-region2-AWS-Out-Bytes`  |  GB  |  Hourly  |  The amount of data transferred from `region1` to `region2`  | 
|  `region-BatchOperations-Jobs `  |  Count   |  Hourly  |  The number of S3 Batch Operations jobs performed  | 
|  `region-BatchOperations-Objects `  |  Count   |  Hourly  |  The number of object operations performed by S3 Batch Operations  | 
|  `region-Bulk-Retrieval-Bytes`  |  GB  |  Hourly  |  The amount of data retrieved with Bulk S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive requests  | 
|  `region-BytesDeleted-GDA`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from S3 Glacier Deep Archive storage  | 
|  `region-BytesDeleted-GIR`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from S3 Glacier Instant Retrieval storage.  | 
|  `region-BytesDeleted-GLACIER`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from S3 Glacier Flexible Retrieval storage  | 
|  `region-BytesDeleted-INT`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from S3 Intelligent-Tiering storage  | 
|  `region-BytesDeleted-RRS`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from Reduced Redundancy Storage (RRS) storage  | 
|  `region-BytesDeleted-SIA`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from S3 Standard-IA storage  | 
|  `region-BytesDeleted-STANDARD`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from S3 Standard storage  | 
|  `region-BytesDeleted-ZIA`  |  GB  |  Monthly  |  The amount of data deleted by a `DeleteObject` operation from S3 One Zone-IA storage  | 
|  `region-C3DataTransfer-In-Bytes`  |  GB  |  Hourly  |  The amount of data transferred into Amazon S3 from Amazon EC2 within the same AWS Region  | 
|  `region-C3DataTransfer-Out-Bytes`  |  GB  |  Hourly  |  The amount of data transferred from Amazon S3 to Amazon EC2 within the same AWS Region  | 
|  `region-CloudFront-In-Bytes`  |  GB  |  Hourly  |  The amount of data transferred into an AWS Region from a CloudFront distribution  | 
|  `region-CloudFront-Out-Bytes`  |  GB  |  Hourly  |  The amount of data transferred from an AWS Region to a CloudFront distribution  | 
|  `region-DataTransfer-In-Bytes`  |  GB  |  Hourly  |  The amount of data transferred into Amazon S3 from the internet  | 
|  `region-DataTransfer-Out-Bytes`  |  GB  |  Hourly  |  The amount of data transferred from Amazon S3 to the internet1  | 
|  `region-DataTransfer-Regional-Bytes`  |  GB  |  Hourly  |  The amount of data transferred from Amazon S3 to AWS resources within the same AWS Region  | 
|  `region-EarlyDelete-ByteHrs`  |  GB-Hours  |  Hourly  |  Prorated storage usage for objects deleted from, S3 Glacier Flexible Retrieval storage before the 90-day minimum commitment ended2  | 
|  `region-EarlyDelete-GDA`  |  GB-Hours  |  Hourly  |  Prorated storage usage for objects deleted from S3 Glacier Deep Archive storage before the 180-day minimum commitment ended 2  | 
|  `region-EarlyDelete-GIR`  |  GB-Hours  |  Hourly  |  Prorated storage usage for objects deleted or transitioned from S3 Glacier Instant Retrieval before the 90-day minimum commitment ended.  | 
|  `region-EarlyDelete-GIR-SmObjects`  |  GB-Hours  |  Hourly  |  Prorated storage usage for small objects (smaller than 128 KB) that were deleted from S3 Glacier Instant Retrieval before the 90-day minimum commitment ended.  | 
|  `region-EarlyDelete-SIA`  |  GB-Hours  |  Hourly  |  Prorated storage usage for objects deleted from S3 Standard-IA before the 30-day minimum commitment ended3  | 
|  `region-EarlyDelete-SIA-SmObjects`  |  GB-Hours  |  Hourly  |  Prorated storage usage for small objects (smaller than 128 KB) that were deleted from S3 Standard-IA before the 30-day minimum commitment ended3  | 
|  `region-EarlyDelete-ZIA`  |  GB-Hours  |  Hourly  |  Prorated storage usage for objects deleted from S3 One Zone-IA before the 30-day minimum commitment ended3  | 
|  `region-EarlyDelete-ZIA-SmObjects`  |  GB-Hours  |  Hourly  |  Prorated storage usage for small objects (smaller than 128 KB) that were deleted from S3 One Zone-IA before the 30-day minimum commitment ended3  | 
|  `region-Expedited-Retrieval-Bytes`  |  GB  |  Hourly  |  The amount of data retrieved with Expedited S3 Glacier Flexible Retrieval requests  | 
|  `Global-Bucket-Hrs-FreeTier`  | Bucket | Monthly | The number of general purpose buckets in your account within the 2000 bucket account-level free tier | 
|  `Global-Bucket-Hrs`  | Bucket | Monthly | The number of general purpose buckets in your account beyond the 2000 bucket account-level free tier | 
|  `region-Inventory-ObjectsListed`  |  Objects  |  Hourly  |  The number of objects listed for an object group (objects are grouped by bucket or prefix) with an inventory list  | 
|  `region-Metadata-Updates`  |  Updates  |  Hourly  |  Per update fee for updates processed by S3 Metadata  | 
|  `region-Monitoring-Automation-INT`  |  Objects  |  Hourly  |  The number of unique objects monitored and auto-tiered in the S3 Intelligent-Tiering storage class  | 
|  `region-MRAP-Out-Bytes`  |  GB  |  Hourly  |  The amount of data transferred through an S3 Multi-Region Access Points endpoint out of buckets in a Region (MRAP data routing pricing).  | 
|  `region-MRAP-In-Bytes`  |  GB  |  Hourly  |  The amount of data transferred through an S3 Multi-Region Access Points endpoint out of buckets in a Region (MRAP data routing pricing).  | 
|  `regiongroup1-regiongroup2--MRAP-Out-Bytes`  |  GB  |  Hourly  |  The amount of data transferred through an S3 Multi-Region Access Points endpoint from a bucket in `regiongroup1` to a client in `regiongroup2` located outside of the AWS network.  | 
|  `regiongroup1-regiongroup2--MRAP-In-Bytes`  |  GB  |  Hourly  |  The amount of data transferred through an S3 Multi-Region Access Points endpoint to a bucket in `regiongroup1` from a client in `regiongroup2` located outside of the AWS network.  | 
|  `region-OverwriteBytes-Copy-GDA`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from S3 Glacier Deep Archive storage  | 
|  `region-OverwriteBytes-Copy-GIR`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from S3 Glacier Instant Retrieval storage.  | 
|  `region-OverwriteBytes-Copy-GLACIER`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from S3 Glacier Flexible Retrieval storage  | 
|  `region-OverwriteBytes-Copy-INT`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from S3 Intelligent-Tiering storage  | 
|  `region-OverwriteBytes-Copy-RRS`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from Reduced Redundancy Storage (RRS) storage  | 
|  `region-OverwriteBytes-Copy-SIA`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from S3 Standard-IA storage  | 
|  `region-OverwriteBytes-Copy-STANDARD`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from S3 Standard storage  | 
|  `region-OverwriteBytes-Copy-ZIA`  |  GB  |  Monthly  |  The amount of data overwritten by a `CopyObject` operation from S3 One Zone-IA storage  | 
|  `region-OverwriteBytes-Put-GDA`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from S3 Glacier Deep Archive storage  | 
|  `region-OverwriteBytes-Put-GIR`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from S3 Glacier Instant Retrieval storage.  | 
|  `region-OverwriteBytes-Put-GLACIER`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from S3 Glacier Flexible Retrieval storage  | 
|  `region-OverwriteBytes-Put-INT`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from S3 Intelligent-Tiering storage  | 
|  `region-OverwriteBytes-Put-RRS`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from Reduced Redundancy Storage (RRS) storage  | 
|  `region-OverwriteBytes-Put-SIA`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from S3 Standard-IA storage  | 
|  `region-OverwriteBytes-Put-STANDARD`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from S3 Standard storage  | 
|  `region-OverwriteBytes-Put-ZIA`  |  GB  |  Monthly  |  The amount of data overwritten by a `PutObject` operation from S3 One Zone-IA storage  | 
|  `region1-region2-S3RTC-In-Bytes`  |  GB  |  Monthly  |  The amount of data transferred for S3 Replication Time Control (S3 RTC) from `region2` to `region1` by the `PutObjectReplTime`, `GetObjectReplTime`, `InitiateMultipartUploadReplTime`, `UploadPartReplTime`, `CompleteMultipartUploadReplTime`, and `WriteACLReplTime` operations  | 
|  `region1-region2-S3RTC-Out-Bytes`  |  GB  |  Monthly  |  The amount of data transferred for S3 Replication Time Control (S3 RTC) from `region1` to `region2` by the `PutObjectReplTime`, `GetObjectReplTime`, `InitiateMultipartUploadReplTime`, `UploadPartReplTime`, `CompleteMultipartUploadReplTime`, and `WriteACLReplTime` operations  | 
|  `region-Requests-GDA-Tier1`  |  Count  |  Hourly  |  The number of `PUT`, `COPY`, `POST`, `CreateMultipartUpload`, `UploadPart`, or `CompleteMultipartUpload` requests on S3 Glacier Deep Archive objects 6  | 
|  `region-Requests-GDA-Tier2`  |  Count  |  Hourly  |  The number of `GET` and `HEAD` requests on S3 Glacier Deep Archive objects  | 
|  `region-Requests-GDA-Tier3`  |  Count  |  Hourly  |  The number of S3 Glacier Deep Archive standard restore requests  | 
|  `region-Requests-GDA-Tier5`  |  Count  |  Hourly  |  The number of Bulk S3 Glacier Deep Archive restore requests  | 
|  `region-Requests-GIR-Tier1`  |  Count  |  Hourly  |  The number of `PUT`, `COPY`, or `POST` requests on S3 Glacier Instant Retrieval objects.  | 
|  `region-Requests-GIR-Tier2`  |  Count  |  Hourly  |  The number of `GET` and all other non-S3 Glacier Instant Retrieval-Tier1 requests on S3 Glacier Instant Retrieval objects.  | 
|  `region-Requests-GLACIER-Tier1`  |  Count  |  Hourly  |  The number of `PUT`, `COPY`, `POST`, `CreateMultipartUpload`, `UploadPart`, or `CompleteMultipartUpload` requests on S3 Glacier Flexible Retrieval objects 6  | 
|  `region-Requests-GLACIER-Tier2`  |  Count  |  Hourly  | The number of GET and all other requests not listed on S3 Glacier Flexible Retrieval objects | 
|  `region-Requests-INT-Tier1`  |  Count  |  Hourly  |  The number of `PUT`, `COPY`, or `POST` requests on S3 Intelligent-Tiering objects  | 
|  `region-Requests-INT-Tier2`  |  Count  |  Hourly  |  The number of `GET` and all other non-Tier1 requests for S3 Intelligent-Tiering objects  | 
|  `region-Requests-SIA-Tier1`  |  Count  |  Hourly  |  The number of `PUT`, `COPY`, or `POST` requests on S3 Standard-IA objects  | 
|  `region-Requests-SIA-Tier2`  |  Count  |  Hourly  |  The number of `GET` and all other non-S3 Glacier Instant Retrieval-Tier1 requests on S3 Standard-IA objects  | 
|  `region-Requests-Tier1`  |  Count  |  Hourly  |  The number of `PUT`, `COPY`, or `POST` requests for S3 Standard, RRS, and tags, plus `LIST` requests for all buckets and objects  | 
|  `region-Requests-Tier2`  |  Count  |  Hourly  |  The number of `GET` and all other non-Tier1 requests  | 
|  `region-Requests-Tier3`  |  Count  |  Hourly  |  The number of lifecycle requests to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive and standard S3 Glacier Flexible Retrieval restore requests  | 
|  `region-Requests-Tier4`  |  Count  |  Hourly  |  The number of lifecycle transitions to S3 Glacier Instant Retrieval, S3 Intelligent-Tiering, S3 Standard-IA, or S3 One Zone-IA storage  | 
|  `region-Requests-Tier5`  |  Count  |  Hourly  |  The number of Bulk S3 Glacier Flexible Retrieval restore requests  | 
|  `region-Requests-Tier6`  |  Count  |  Hourly  |  The number of Expedited S3 Glacier Flexible Retrieval restore requests  | 
|  `region-Requests-Tier8`  |  Count  |  Hourly  |  The number of S3 Access Grants requests  | 
|  `region-Requests-XZ-Tier1`  | Count |  Hourly  |  The number of `PUT` or `COPY` requests on S3 Express One Zone objects  | 
|  `region-Requests-XZ-Tier2`  | Count |  Hourly  |  The number of `GET` and all other non-S3 Express One Zone-Tier1 requests on S3 Express One Zone objects  | 
|  `region-Requests-ZIA-Tier1`  |  Count  |  Hourly  |  The number of `PUT`, `COPY`, or `POST` requests on S3 One Zone-IA objects  | 
|  `region-Requests-ZIA-Tier2`  |  Count  |  Hourly  |  The number of `GET` and all other non-S3 One Zone-IA-Tier1 requests on S3 One Zone-IA objects  | 
|  `region-Retrieval-GIR`  |  GB  |  Hourly  |  The amount of data retrieved from S3 Glacier Instant Retrieval storage.  | 
|  `region-Retrieval-SIA`  |  GB  |  Hourly  |  The amount of data retrieved from S3 Standard-IA storage  | 
|  `region-Retrieval-XZ`  |  GB  |  Hourly  |  The portion of the data that exceeds 512 KB in a given retrieval request (`PUT` or `COPY`) with S3 Express One Zone storage  | 
|  `region-Retrieval-ZIA`  |  GB  |  Hourly  |  The amount of data retrieved from S3 One Zone-IA storage  | 
| `region-S3DSSE-In-Bytes` |  GB  |  Monthly  |  The amount of data dual-encrypted by Amazon S3  | 
| `region-S3DSSE-Out-Bytes` |  GB  |  Monthly  |  The amount of dual-encrypted data decrypted by Amazon S3  | 
|  `region-S3G-DataTransfer-In-Bytes`  |  GB  |  Hourly  |  The amount of data transferred into Amazon S3 to restore objects from S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage  | 
|  `region-S3G-DataTransfer-Out-Bytes`  |  GB  |  Hourly  |  The amount of data transferred from Amazon S3 to transition objects to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage  | 
|  `region-Select-Returned-Bytes`  |  GB  |  Hourly  |  The amount of data returned with Select requests from S3 Standard storage  | 
|  `region-Select-Returned-GIR-Bytes`  |  GB  |  Hourly  |  The amount of data returned with Select requests from S3 Glacier Instant Retrieval storage.  | 
|  `region-Select-Returned-INT-Bytes`  |  GB  |  Hourly  |  The amount of data returned with Select requests from S3 Intelligent-Tiering storage  | 
|  `region-Select-Returned-SIA-Bytes`  |  GB  |  Hourly  |  The amount of data returned with Select requests from S3 Standard-IA storage  | 
|  `region-Select-Returned-ZIA-Bytes`  |  GB  |  Hourly  |  The amount of data returned with Select requests from S3 One Zone-IA storage  | 
|  `region-Select-Scanned-Bytes`  |  GB  |  Hourly  |  The amount of data scanned with Select requests from S3 Standard storage  | 
|  `region-Select-Scanned-GIR-Bytes`  |  GB  |  Hourly  |  The amount of data scanned with Select requests from S3 Glacier Instant Retrieval storage.  | 
|  `region-Select-Scanned-INT-Bytes`  |  GB  |  Hourly  |  The amount of data scanned with Select requests from S3 Intelligent-Tiering storage  | 
|  `region-Select-Scanned-SIA-Bytes`  |  GB  |  Hourly  |  The amount of data scanned with Select requests from S3 Standard-IA storage  | 
|  `region-Select-Scanned-ZIA-Bytes`  |  GB  |  Hourly  |  The amount of data scanned with Select requests from S3 One Zone-IA storage  | 
|  `region-Standard-Retrieval-Bytes`  |  GB  |  Hourly  |  The amount of data retrieved with standard S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive requests  | 
|  `region-StorageAnalytics-ObjCount`  |  Objects  |  Hourly  |  The number of unique objects monitored in each Storage Class Analysis configuration.  | 
|  `region-StorageLens-ObjCount`  |  Objects  |  Daily  |  The number of unique objects in each S3 Storage Lens dashboard that are tracked by S3 Storage Lens advanced metrics and recommendations.  | 
|  `region-StorageLensFreeTier-ObjCount`  |  Objects  |  Daily  |  The number of unique objects in each S3 Storage Lens dashboard that are tracked by S3 Storage Lens usage metrics.  | 
|  `StorageObjectCount`  |  Count  |  Daily  |  The number of objects stored within a given bucket  | 
|  `region-Tables-CompactedObjects`  |  Objects  |  Hourly  |  The number of objects compacted in Amazon S3 table buckets using the `binpack` compaction strategy in an Amazon S3 Tables compaction job.  | 
|  `region-Tables-SortCompactedObjects-`  |  Objects  |  Hourly  |  The number of objects compacted in Amazon S3 table buckets using `sort` or `z-order` compaction strategies in an Amazon S3 Tables compaction job.  | 
|  `region-Tables-MonitoredObjects `  |  Objects  |  Hourly  |  The number of objects in Amazon S3 table buckets  | 
|  `region-Tables-ProcessedBytes`  |  GB  |  Hourly  |  The amount of data processed for compaction in Amazon S3 table buckets  | 
|  `region-Tables-Requests-Tier1`  |  Count  |  Hourly  |  The number of PUT requests on Amazon S3 table buckets  | 
|  `region-Tables-Requests-Tier2`  |  Count  |  Hourly  |  The number of GET and all other non-Tier1 requests on Amazon S3 table buckets  | 
|  `region-Tables-TimedStorage-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in Amazon S3 table buckets  | 
|  `region-TagStorage-TagHrs`  |  Tag-Hours  |  Daily  |  The total of tags on all objects in the bucket reported by hour  | 
|  `region-TimedStorage-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Standard storage  | 
|  `region-TimedStorage-GDA-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Glacier Deep Archive storage  | 
|  `region-TimedStorage-GDA-Staging`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Glacier Deep Archive staging storage  | 
|  `region-TimedStorage-GIR-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Glacier Instant Retrieval storage.  | 
|  `region-TimedStorage-GIR-SmObjects`  |  GB-Month  |  Daily  |  The number of GB-months that small objects (smaller than 128 KB) were stored in S3 Glacier Instant Retrieval storage.  | 
|  `region-TimedStorage-GlacierByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Glacier Flexible Retrieval storage  | 
|  `region-TimedStorage-GlacierStaging`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Glacier Flexible Retrieval staging storage  | 
|  `region-TimedStorage-INT-FA-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in the Frequent Access tier of S3 Intelligent-Tiering storage5  | 
|  `region-TimedStorage-INT-IA-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in the Infrequent Access tier of S3 Intelligent-Tiering storage  | 
|  `region-TimedStorage-INT-AA-ByteHrs`  |  GB-Month  |  Daily  | The number of GB-months that data was stored in the Archive Access tier of S3 Intelligent-Tiering storage | 
|  `region-TimedStorage-INT-AIA-ByteHrs`  |  GB-Month  |  Daily  | The number of GB-months that data was stored in the Archive Instant Access tier of S3 Intelligent-Tiering storage | 
|  `region-TimedStorage-INT-DAA-ByteHrs`  |  GB-Month  |  Daily  | The number of GB-months that data was stored in the Deep Archive Access tier of S3 Intelligent-Tiering storage | 
|  `region-TimedStorage-RRS-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in Reduced Redundancy Storage (RRS) storage  | 
|  `region-TimedStorage-SIA-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Standard-IA storage  | 
|  `region-TimedStorage-SIA-SmObjects`  |  GB-Month  |  Daily  |  The number of GB-months that small objects (smaller than 128 KB) were stored in S3 Standard-IA storage4  | 
|  `region-TimedStorage-XZ-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 Express One Zone storage  | 
|  `region-TimedStorage-ZIA-ByteHrs`  |  GB-Month  |  Daily  |  The number of GB-months that data was stored in S3 One Zone-IA storage  | 
|  `region-TimedStorage-ZIA-SmObjects`  |  GB-Month  |  Daily  |  The number of GB-months that small objects (smaller than 128 KB) were stored in S3 One Zone-IA storage  | 
|  `region-Upload-XZ`  |  GB  |  Hourly  |  The amount of data that exceeds 512 KB in a given upload request (`PUT` or `COPY`) with S3 Express One Zone  | 

**Notes**

1. The `Global-Bucket-Hrs` and `Global-Bucket-Hrs-FreeTier` usage types apply to general purpose buckets in commercial AWS Regions and AWS GovCloud (US).

1. If you terminate a transfer before completion, the amount of data that is transferred might exceed the amount of data that your application receives. This discrepancy can occur because a transfer termination request cannot be executed instantaneously, and some amount of data might be in transit, pending execution of the termination request. This data in transit is billed as data transferred "out."

1. For objects archived to S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, or S3 Glacier Deep Archive storage classes that are deleted, overwritten, or transitioned before their minimum storage commitment period (90 days for S3 Glacier Instant Retrieval and S3 Glacier Flexible Retrieval, 180 days for S3 Glacier Deep Archive), a prorated charge per gigabyte applies for the remaining days. These charges are reflected as `EarlyDelete-GIR`, `EarlyDelete-ByteHrs`, and `EarlyDelete-GDA` usage types respectively on your bill.

1. For objects that are in S3 Standard-IA or S3 One Zone-IA storage, when they are deleted, overwritten, or transitioned to a different storage class before 30 days, there is a prorated charge per gigabyte for the remaining days.

1. For small objects (smaller than 128 KB) that are in S3 Standard-IA or S3 One Zone-IA storage, when they are deleted, overwritten, or transitioned to a different storage class before 30 days, there is a prorated charge per gigabyte for the remaining days.

1. There is no minimum billable object size for objects in the S3 Intelligent-Tiering storage class. Objects that are smaller than 128 KB are not monitored or eligible for auto-tiering. Smaller objects are always stored in the S3 Intelligent-Tiering Frequent Access tier.

1. When you initiate a `CreateMultipartUpload`, `UploadPart`, or `UploadPartCopy` request to either the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes, requests are billed at S3 Standard request rates until you complete the multipart upload. After the upload is completed, the single `CompleteMultipartUpload` request is billed at the `PUT` rate for the destination S3 Glacier storage. In-progress multipart upload parts for a `PUT` to the S3 Glacier Flexible Retrieval storage class are billed as S3 Glacier Flexible Retrieval Staging Storage at S3 Standard storage rates until the upload is completed. Similarly, in-progress multipart upload parts for a `PUT` to the S3 Glacier Deep Archive storage class are billed as S3 Glacier Deep Archive Staging Storage at S3 Standard storage rates until the upload is completed.

1. S3 Express One Zone applies a flat per-request charge for request sizes up to 512 KB. An additional per GB charge is applied for `PUT` requests and `GET` requests for the portion of request greater than 512 KB.

1. For information about supported features for S3 Express One Zone storage class, see [Amazon S3 features not supported by directory buckets](s3-express-differences.md#s3-express-differences-unsupported-features).

1. Usage types with units that are billed in GB are calculated in bytes in the usage reports.

1. A GB-Month is derived by taking the total number of GB-hours, aggregating these over the course of a month, and then dividing by the number of hours in that month. To learn more see, [Frequently Asked Questions: How will I be charged and billed for my use of Amazon S3?](https://aws.amazon.com/s3/faqs/#Billing)

**Note**  
 In general, S3 bucket owners are billed for requests with HTTP `200 OK` successful responses and HTTP `4XX` client error responses. Bucket owners aren't billed for HTTP `5XX` server error responses, such as HTTP `503 Slow Down` errors. For more information on S3 error codes under HTTP `3XX` and `4XX` status codes that aren't billed, see [Billing for Amazon S3 error responses](ErrorCodeBilling.md). For more information about billing charges if your bucket is configured as a Requester Pays bucket, see [How Requester Pays charges work](RequesterPaysBuckets.md#ChargeDetails). 

## Tracking Operations in Your Usage Reports


Operations describe the action taken on your AWS object or bucket by the specified usage type. Operations are indicated by self-explanatory codes, such as `PutObject` or `ListBucket`. To see which actions on your bucket generated a specific type of usage, use these codes. When you create a usage report, you can choose to include **All Operations**, or a specific operation, for example, `GetObject`, to report on.

## More info

+ [AWS usage reports for Amazon S3](aws-usage-report.md)
+ [AWS Billing reports for Amazon S3](aws-billing-reports.md)
+ [Amazon S3 Pricing](https://aws.amazon.com/s3/pricing/)
+ [Amazon S3 FAQs](https://aws.amazon.com/s3/faqs/#billing)

# Billing for Amazon S3 error responses
Billing for Amazon S3 error responses

 In general, S3 bucket owners are billed for requests with HTTP `200 OK` successful responses and HTTP `4XX` client error responses. Bucket owners aren't billed for HTTP `5XX` server error responses, such as HTTP `503 Slow Down` errors. For more information about billing charges if your bucket is configured as a Requester Pays bucket, see [How Requester Pays charges work](RequesterPaysBuckets.md#ChargeDetails). 

The following table lists specific error codes under HTTP `3XX` and `4XX` status codes that aren't billed. For buckets configured with website hosting, applicable request and other charges will still apply when S3 returns a [custom error document](CustomErrorDocSupport.md) or for custom redirects. 

**Note**  
For `AccessDenied` (HTTP `403 Forbidden`), S3 doesn't charge the bucket owner when the request is initiated outside of the bucket owner's individual AWS account or the bucket owner's AWS organization. 


****  
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/AmazonS3/latest/userguide/ErrorCodeBilling.html)