How to revert back from intelligent tiering to standard

0

Hello, I put lifecycle policy for standard to intelligent tiering transition. Now, I need to completely revert back to standard storage class. Even single objects cannot be in intelligent tiering (current or non-current). How to achieve this. Please explain step by step.

Thanks, Ragav

asked a month ago202 views
2 Answers
0

Start by removing the Lifecycle Policy that you enabled Intelligent Tiering.

To specify and move the tier of objects, follow the steps here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-howtoset

Setting the storage class of an object

To set and update object storage classes, you can use the Amazon S3 console, AWS SDKs, or the AWS Command Line Interface (AWS CLI). All of these approaches use Amazon S3 API operations to send requests to Amazon S3.

Amazon S3 API operations support setting (or updating) the storage class of objects as follows:

  • When creating a new object, you can specify its storage class. For example, when creating objects by using the PUT Object, POST Object, and Initiate Multipart Upload API operations, you add the x-amz-storage-class request header to specify a storage class. If you don't add this header, Amazon S3 uses S3 Standard, the default storage class.

  • You can also change the storage class of an object that is already stored in Amazon S3 to any other storage class by making a copy of the object by using the PUT Object - Copy API operation. However, you can't use PUT Object - Copy to copy objects that are stored in the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. You also can't transition from S3 One Zone-IA to S3 Glacier Instant Retrieval.
    You copy the object in the same bucket by using the same key name and specifying the request headers as follows:

    • Set the x-amz-metadata-directive header to COPY.
    • Set the x-amz-storage-class header to the storage class that you want to use.

    In a versioning-enabled bucket, you can't change the storage class of a specific version of an object. When you copy the object, Amazon S3 gives it a new version ID.

  • You can change an object's storage class using the Amazon S3 console if the object size is less than 160GB. If larger, we recommend adding an S3 Lifecycle configuration to change the object's storage class.

  • You can direct Amazon S3 to change the storage class of objects by adding an S3 Lifecycle configuration to a bucket. For more information, see Managing your storage lifecycle.

  • When setting up a replication configuration, you can set the storage class for replicated objects to any other storage class. However, you can't replicate objects that are stored in the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Replication configuration.

profile pictureAWS
EXPERT
iBehr
answered a month ago
profile pictureAWS
EXPERT
reviewed a month ago
  • I couldn't understand your answer completely but slightly understood since its more technical. you are trying to convey about cp command, right (e.g) aws s3 cp s3://YOUR_BUCKET_NAME/ s3://YOUR_BUCKET_NAME/ --recursive --storage-class STANDARD

0

I couldn't understand your answer completely but slightly understood since its more technical. you are trying to convey about cp command, right (e.g) aws s3 cp s3://YOUR_BUCKET_NAME/ s3://YOUR_BUCKET_NAME/ --recursive --storage-class STANDARD

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions