简体   繁体   中英

Strange Behavior with AWS S3 Lifecycle Policy

As we know that we can not move objects to S3 IA or S3 IA One Zone only after passing 30 days. So when we try to migrate those objects after one day in S3 for example.We will get this message:

S3 IA 存储类消息

Now.My question why this is not happening with Glacier.In fact,I could change the Lifecycle policy to make transition to Glacier even after one day in S3 Standard which is normally is not possible because Glacier request that objects are stored for at least 90 days.So we expect to get a message same like for S3 IA.

S3 深度归档存储类

My question is why this is not happening with Glacier.

Because this is only applicable for transitioning TO s3- standard-IA or s3 one zone IA . There is no limitation to transition TO Glacier

As per docs 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.

Glacier request that objects are stored for at least 90 days

There is misunderstanding on your part 90 days holds good when object is stored inside glacier stored class not for that object has to be stored for 90 days in other class

From docs

Number of days you plan to keep objects archived – S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive are long-term archival solutions. The minimal storage duration period is 90 days for the S3 Glacier Flexible Retrieval storage class and 180 days for S3 Glacier Deep Archive.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM