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

답변함 일 년 전
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠