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.

asked 9 months ago513 views
1 Answer
2
Accepted Answer

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
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago
profile picture
EXPERT
reviewed 9 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions