Questions about modifing S3 storage classes

0

Currently, I am managing bucket lifecycle rules.

Basically, we are aware that the storage class cannot be switched from standard to Glacier Instant Retrieval unless the size of the s3 object exceeds 128KiB.

However, I found out that it is possible to change the storage class of certain objects that do not exceed 128KiB to Glacier Instant Retrieval through the AWS console.

Can we say that the storage class of this changed object has changed from standard class to Glacier Instant Retrieval?

Also, is it possible to change the storage class of an object whose size does not exceed 128 KiB to Glacier Instant Retrieval through cli?

질문됨 3달 전119회 조회
1개 답변
3
수락된 답변

Hello.

Can we say that the storage class of this changed object has changed from standard class to Glacier Instant Retrieval?

The storage class itself is saved as Glacier Instant Retrieval.
Prices will change at that time.
For example, an 80KB object will be billed as 128KB.
https://aws.amazon.com/s3/pricing/?nc1=h_ls

S3 Glacier Instant Retrieval has a minimum billable object size of 128 KB. Smaller objects may be stored but will be charged for 128 KB of storage at the appropriate storage class rate.

Also, is it possible to change the storage class of an object whose size does not exceed 128 KiB to Glacier Instant Retrieval through cli?

You can use the "--storage-class" option in the "aws s3 cp" command options.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html

aws s3 cp --storage-class GLACIER_IR s3://test-s3/test.txt s3://test-s3/test.txt
profile picture
전문가
답변함 3달 전
profile picture
전문가
검토됨 2달 전
profile pictureAWS
전문가
검토됨 3달 전
  • Thank to you, my issue has been solved !! 🙏

  • If we are moving 200 million files from Standard to Glacier_IR using "aws s3 cp --recursive --storage-class GLACIER_IR s3://test-s3 s3://test-s3" what are we paying for this process? Is it only COPY operations for Standard storage class? E.g. $0.005/1000*200m = $1000 ?

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

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

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

관련 콘텐츠