S3 Bucket Default Storage Class

0

Is it possible to configure a default storage class for a S3 bucket other than Standard. For example can I configure the default storage class of a bucket to Intelligent Tiering so that any objects which are PUT to the bucket will be stored in Intelligent Tiering unless explicitly set otherwise in the initial PUT? This would save the transition cost of each object.

질문됨 2년 전2132회 조회
2개 답변
0

Unfortunately the current behavior of S3 is that everything that every object put on S3 that has no explicit storage class set will be stored with S3 Standard Storage class: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-howtoset

I recommend that you reach out to your AWS Account Representative to address these need. They will make sure that your use case will be added to our list of customer demands which will influence our planning for future development and prioritization.

전문가
답변함 2년 전
0

There's no way to set a "default" storage class, but to add on to @Adreas_S's comment, you can specify the storage class when creating/uploading a new object. For example, when creating objects using the PUT Object, POST Object, and Initiate Multipart Upload APIs, you add the x-amz-storage-class request header to specify a storage class. If you don't add this header, Amazon S3 uses Standard, the default storage class.

Same holds true if you happen to be uploading objects via the AWS Command line you can use the --storage-class INTELLIGENT_TIERING parameter. For example:

aws s3 cp <source file> s3://<destinationBucket> --storage-class INTELLIGENT_TIERING

This is all outlined in Andrea's link above.

AWS
AWSJoe
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠