How to get data into the S3 Intelligent-Tiering storage class
There are two main ways to get data into the S3 Intelligent-Tiering storage class:
Direct PUT operation:
- When uploading an object to S3, you can specify the storage class in theINTELLIGENT_TIERINGheader.x-amz-storage-class
- Example CLI command:aws s3 cp local_file.txt s3://my-bucket/my-object.txt --storage-class INTELLIGENT_TIERING
- When uploading an object to S3, you can specify the
Lifecycle policy transition:
- You can create a lifecycle policy to automatically transition objects from the S3 Standard or S3 Standard-IA storage classes to the S3 Intelligent-Tiering storage class.
- This can be done using the AWS Management Console, AWS CLI, or AWS SDK.
- Example lifecycle policy configuration:{ "Rules": [ { "Status": "Enabled", "Transitions": [ { "StorageClass": "INTELLIGENT_TIERING", "TransitionInDays": 30 } ] } ] }
Comments
Post a Comment