S3 lifecycle rule not being applied on all files

0

We have a lifecycle rule to move objects that are older than 30 days from the Standard class to the Standard IA class.
Only some of the applicable objects have actually moved.
Is there a minimum file size that plays a role here? We have noticed that all of the moved files are > 170kb.

We have had this rule in place for more than a month now.

已提問 10 個月前檢視次數 550 次
1 個回答
2
已接受的答案

S3 lifecycle rules can be configured for object size-based rules.
Is there any possibility that this one is set up?
For example, this can happen if a rule is set to only target objects that are larger than 170 KB.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html#lc-size-rules

There is also an object size limitation on moving object classes, as described in the following documentation.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html

Object Size and Transitions from S3 Standard or S3 Standard-IA to S3 Intelligent-Tiering, S3 Standard-IA, or S3 One Zone-IA When you transition objects from the S3 Standard or S3 Standard-IA storage classes to S3 Intelligent-Tiering, S3 Standard-IA, or S3 One Zone-IA, the following object size constraints apply:
Larger objects – For the following transitions, there is a cost benefit to transitioning larger objects:
From the S3 Standard or S3 Standard-IA storage classes to S3 Intelligent-Tiering.
From the S3 Standard storage class to S3 Standard-IA or S3 One Zone-IA.
Objects smaller than 128 KB – For the following transitions, Amazon S3 does not transition objects that are smaller than 128 KB:
From the S3 Standard or S3 Standard-IA storage classes to S3 Intelligent-Tiering or S3 Glacier Instant Retrieval.
From the S3 Standard storage class to S3 Standard-IA or S3 One Zone-IA.

profile picture
專家
已回答 10 個月前
profile picture
專家
已審閱 10 個月前
profile picture
專家
已審閱 10 個月前
  • If the object size is smaller than 128 KB, it will not be moved, but what is the size of the object in question?

  • Hi, It is the second scenario as we did not specify a minimum object size in the rule. The not moved objects are indeed smaller than 128 KB (most of them are ~60 KB in size).

    Thanks.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南