Why is my S3 lifecycle configuration isn't working as expected?

0

Hi,

I have a versioned bucket where I want deleted and other non-current objects to be moved to Glacier after some period of time. I configured a bucket policy that should move non-current versions after 1 day to test this:

{
    "Rules": [
        {
            "ID": "Move deleted to Glacier",
            "Filter": {},
            "Status": "Enabled",
            "NoncurrentVersionTransitions": [
                {
                    "NoncurrentDays": 1,
                    "StorageClass": "GLACIER_IR"
                }
            ]
        }
    ]
}

Enter image description here

But the object is still there with the "Standard" storage class more than 10 days after it was deleted:

Enter image description here

Why is this, and how can I move all non-current and deleted objects to another storage class (Glacier)?

leshik
질문됨 2년 전335회 조회
1개 답변
0

Thanks for posting. First, a "Delete" marker is a placeholder for a versioned file in the "s3" bucket, and it will only allow performing the "Delete" action into this. Because "Delete" marked files or objects are not coupled with any data or access control list (ACL) value. Furthermore, it cannot retrieve anything from "GET" requests due to free for any data association. and even cant performed any API calls except "Delete".

As per definition, the only action that can be performed is "Delete", Therefore "Delete" markers will not be able to transition or move from the standard bucket to any other storage class bucket or vice-versa.

VISI
답변함 2년 전

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

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

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

관련 콘텐츠