I want to change the S3 bucket to have default storage class of Infrequent Access.
So if I upload file to the bucket, it should directly go to Infrequent Access storage.
I don't want to use the Lifecycle
Amazon S3 Standard-Infrequent Access (S3 Standard-IA) S3 Standard-IA is for data that is accessed less frequently, but requires rapid access when needed. S3 Standard-IA offers the high durability, high throughput, and low latency of S3 Standard, with a low per GB storage price and per GB retrieval charge.
Before you transition objects from the S3 Standard or S3 Standard-IA storage classes to S3 Standard-IA or S3 One Zone-IA, you must store them at least 30 days in the S3 Standard storage class.
There is no concept of a default storage class for an Amazon S3 bucket.
The storage class is specific to the object and can be specified when the object is created in the bucket.
You will need to change your upload process to specify the storage class at the time of object creation.
You can use the lifecycle rules to later change storage classes based upon the age of the object, which is as close as you'll get to a "default storage class".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With