S3 Life Cycle Rules -> Intelligent Tiering

0

Hello,

in my bucket "A", i have two folders with the names "Folder A" and "Folder B". Folder A has one subfolder "Tiering".

With the life cycle, I would like to automatically transition all files and sub-folders with files in this sub-folders in "Folder A/Tiering" to the Intelligent Tiering storage class after 3 days.

I have created a life cycle rule:

<LifecycleConfiguration> <Rule> <ID>Transition Rule</ID> <Filter> <Prefix>Folder A/Tiering/</Prefix> </Filter> <Status>Enabled</Status> <Transition> <Days>3</Days> <StorageClass>Intelligent Tiering</StorageClass> </Transition> </Rule> </LifecycleConfiguration>

This rule is activ, but not work. I have uploaded files 5 days ago, but the storage class is "Standard".

How can I set the rule so that all subfolders including files in the subfolders in the "Folder A/Tiering" folder are transferred to the "Intelligent Tiering" storage class after 3 days.

Thx! Greetings

Hacky
質問済み 1年前566ビュー
3回答
0

is your file size less than 128KB.

From our documentation you can find the following:

"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."[1] -From the S3 Standard storage class to S3 Standard-IA or S3 One Zone-IA. As your objects are smaller than 128KB then the lifecycle rule will skip them.

Please note, Lifecycle rules run daily at 00:00UTC so starting this time objects will start to transition or expire. In some cases with bucket that have millions of objects to transition to, you may experience some delay in such cases. There might be a delay between the transition date in the S3 Lifecycle configuration rule and the date of the physical transition.

AWS
回答済み 1年前
0

Thx for your fast answer!

No, my files are all larger than 10 GB. Is the prefix correct?

Hacky
回答済み 1年前
0

I think storage class name is misconfigured check this documentation https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-intelligent-tiering.html#moving-data-to-int-tiering-lifecycle and below sample LC.

<LifecycleConfiguration> <Rule> <ID>Transition Rule</ID> <Filter> <Prefix>Folder A/Tiering/</Prefix> </Filter> <Status>Enabled</Status> <Transition> <Days>3</Days> <StorageClass>INTELLIGENT_TIERING</StorageClass> </Transition> </Rule> </LifecycleConfiguration>
AWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ