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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则