S3 Lifecycle policy really effective within 2-3 days?

0

I have an s3 bucket consisting of around 53 TB of data . I have enabled lifecycle policies : Expire current versions of objects Permanently delete noncurrent versions of objects Delete expired object delete markers or incomplete multipart uploads

Bucket was created and live since March 2017. I have enabled the expiration of objects after 675 days. Thus all the old objects which were created on 2017-2019 should have been deleted as its older than 675 days as of today 3rd Nov 2022. Its been 4 days since policy is live still , I Can see objects from 2017,2018,2019. Also the bucket size hasn't been reduced. Whats the possible issue? Should I wait for more days? Please help !

2回答
0

Here's some information on how you can figure out when your objects would be deleted or expired. https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-expire-general-considerations.html

回答済み 1年前
0

Hello,

Kindly note that the Lifecycle executes once a day, then marks the objects for deletion, and the objects are removed asynchronously. Therefore, there may be a delay between the expiration date and the date at which Amazon S3 removes an object[1]. However, you are not charged for expiration or the storage time associated with an object that has expired[2].

It's important to review your policy configuration, including the expiration period and any filters applied, to ensure they accurately target the desired objects without conflicting or overlapping lifecycle actions[3].

And to answer your question, yes, as explained from above, you should continue to wait a few more days to allow the Lifecycle to delete the objects.

Please see the documentation below for reference:

[1] Expiring objects: https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-expire-general-considerations.html

[2] How to find when objects will expire https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-expire-general-considerations.html#lifecycle-expire-when

[3] Overlapping filters, conflicting lifecycle actions, and what Amazon S3 does with non-versioned buckets https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html#lifecycle-config-conceptual-ex5

AWS
回答済み 9ヶ月前

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

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

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