Someone notices the bucket is mostly thumbnails, writes a lifecycle rule to push them to Standard-IA after thirty days, enables it, and moves on. A quarter later the storage line has not moved. The rule is still there. It is still enabled. The prefix still matches.
It is working exactly as designed, and transitioning nothing.
The 128 KB floor
By default, S3 Lifecycle does not transition objects smaller than 128 KB. That is the whole explanation. If your objects are 40 KB thumbnails, the rule matches them, evaluates them, and leaves them in Standard forever.
{ "Rules" : [ { "ID" : "thumbs-to-ia" , "Status" : "Enabled" , "Filter" : { "Prefix" : "thumbs/" } , "Transitions" : [ { "Days" : 30 , "StorageClass" : "STANDARD_IA" } ] } ] }
Enter fullscreen mode
Exit fullscreen mode
Nothing above is wrong. The prefix is right β every thumbnail is under thumbs/ . The rule ID is fine; hyphens are legal and IDs are free-form labels. The status is Enabled.β¦