Menu
Amazon Simple Storage Service
Console User Guide

How Do I Configure Storage Class Analysis?

If you are in the old Amazon S3 console, to use the new console, choose Opt In in the following box, which appears on the old Amazon S3 console home page. Note that Opt In is not available in all Regions.  


                            Opt-in to new Amazon S3 console UI

By using the Amazon S3 analytics storage class analysis tool you can analyze storage access patterns to help you decide when to transition the right data to the right storage class. Storage class analysis observes data access patterns to help you determine when to transition less frequently accessed STANDARD storage to the STANDARD_IA (IA, for infrequent access) storage class. For more information, see Amazon S3 Analytics – Storage Class Analysis in the Amazon Simple Storage Service Developer Guide.

To configure storage class analysis

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

  2. In the Bucket name list, choose the name of the bucket for which you want to configure storage class analysis.

  3. Choose the Management tab, and then choose Analytics.

  4. Choose Add.

  5. Type a name for the filter. If you want to analyze the whole bucket, leave the Prefix / tags field empty.

  6. In the Prefix / tags field, type text for the prefix or tag for the objects that you want to analyze, or choose from the dropdown list that appears when you start typing.

  7. If you chose tag, enter a value for the tag. You can enter one prefix and multiple tags.

  8. Optionally, you can choose Export data to export analysis reports to a comma-separated values (.csv) flat file. Choose a destination bucket where the file can be stored. You can type a prefix for the destination bucket. The destination bucket must be in the same AWS Region as the bucket for which you are setting up the analysis.

  9. Choose Save.

  10. If you chose the Export data option, you must create a bucket policy on the destination bucket to grant permissions to Amazon S3 to write objects to the bucket.

    1. Choose the name of the destination bucket from the Bucket name list. (If the bucket is in a different account, sign into that account.)

    2. Choose Permissions, and then choose Bucket Policy.

    3. Copy the bucket policy from Granting Permissions for Amazon S3 Inventory and Amazon S3 Analytics in the Amazon Simple Storage Service Developer Guide and paste the policy into the Bucket policy editor text box.

      In the Bucket policy editor, make the following changes to the example policy:

      • In Resource, replace destination-bucket with the name of the destination bucket that you chose in Step 8. This is the bucket that you're adding the policy to.

      • In Condition - ArnLike, replace source-bucket with the name of the source bucket for the analysis.

      • In Condition - StringEquals, replace 1234567890 with the account number of the source bucket.

    4. Choose Save.

For information about the exported data and how the filter works, see Amazon S3 Analytics – Storage Class Analysis in the Amazon Simple Storage Service Developer Guide.