S3 Lifecycle Rule not running

0

I have an S3 bucket with the following 2 rules:

RULE 1 Rule 1a Rule 1b

RULE 2 Rule 2a Rule 2b Rule 2c

These rules have been configured and unchanged for several months. As of today (2023-12-26) there are objects in the bucket from (2023-12-14). How is this possible and how do I correct it?


UPDATED 2023-12-27: See below screenshot indicating that an object is not locked and actually should have been expired by the rules on the 18th:

Object Screenshot

질문됨 9달 전197회 조회
2개 답변
0

Is versioning enabled? Has it been disabled by any chance? These rules will only apply if versioning is enabled.

profile picture
전문가
답변함 9달 전
  • Yeah, good thought, I had considered that too. But it is enabled.

0

If versioning is not enabled then rule 1 is enough to delete all objects. If versioning is enabled/suspended then rule 2 along with rule 1 should delete all objects (current, non-current, delete markers, incomplete multipart upload) and bucket should be empty. Through your screenshots it is confirmed that rules are applied to all objects so only possibility I can think of is you might have objects protected by object lock retention or legal hold. Can you pls check ?. If no object lock then S3 access log or a support ticket should investigate further.

AWS
razguru
답변함 9달 전
  • I have updated the question with an additional screenshot to show that object lock is not enabled and in fact the object should have been expired back on the 18th of December.

    @razguru - Since you work at AWS, can you open a support ticket please?

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

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

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