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:

  1. Direct PUT operation:

    • When uploading an object to S3, you can specify the 
      INTELLIGENT_TIERING
       storage class in the 
      x-amz-storage-class
       header.
    • Example CLI command:
      aws s3 cp local_file.txt s3://my-bucket/my-object.txt --storage-class INTELLIGENT_TIERING
  2. 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

Popular posts from this blog

Difference b/w General-purpose and a Directory bucket in Amazon S3

How to reduce the EBS snapshots storage cost

Difference between full snapshots and incremental snapshots

Snapshot storage tier types and cost difference

Where the EBS snapshot stores and snapshot charges

Key features of Amazon S3

Pros and cons of On-Demand, Reserved, Spot and Saving Plans EC2 instances

How burstable CPU performance works in T series EC2 instances

Differences between an IAM User and Role

AWS Storage types