Lifecycle policy on S3 not working

Mudasar Yasin

I have simply enabled a file cycle policy on a bucket in Amazon S3. This is the configuration:

root@iserver:~# aws s3api get-bucket-lifecycle-configuration --bucket ee-shares --profile s3toglacier
{
"Rules": [
{
"Status": "Enabled",
"Prefix": "",
"Transitions": [
{
"Days": 180,
"StorageClass": "GLACIER"
}
],
"ID": "test"
}
]
}

But I cannot see data on Glacier and objects older then 180 days do not show "Initial Restore" option in S3.

John Rotenstein

Amazon S3 lifecycle policies do not execute immediately. Allow up to 24 hours for them to archive content.

Once archived, the objects will still appear in Amazon S3, but their storage class will be set to Glacier.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Strange Behavior with AWS S3 Lifecycle Policy

Skip Certain folders in S3 Lifecycle Policy

How does Lifecycle policy for moving s3 to glacier work?

Unable to add lifecycle policy to s3 bucket using serverless

Multiple Expire lifecycle policy configs in S3

Does s3 lifecycle rules overwrite Deny Delete Bucket or DeleteObject policy is s3 bucket?

Terraform module s3 lifecycle rule not not working

Does AWS S3 copy to same bucket preserves TTL (Expiration date - Lifecycle Policy)?

S3 Lifecycle Policy Delete All Objects WITHOUT A Certain Tag Value

S3 Policy not working when resource is specified

Why is this AWS S3 deny-user policy not working?

Cannot 'getObject' from S3 bucket - policy not working

AWS S3 Bucket Policy not working on mobile browsers

How do I create an S3 lifecycle policy that moves everything to intelligent tiering and maintains a single previous version for a window of X days

S3 Bucket access policy: Deny on IP range and VPC Endpoint not working

Not sure why this aws s3 bucket policy isn't working?

Boto S3 Lifecycle expiration

S3 lifecycle rule with suffix

Amazon S3 lifecycle retroactive application

aws_dlm_lifecycle_policy's retain_rule - can you mix retain rules?

S3 CORS policy for public bucket

Policy Denying Access On Amazon S3

Amazon S3 Policy Signing in Java

Cloudformation SQS Policy for S3 events

Malformed S3 policy from Terraform

AWS S3 bucket policy with condition

AWS S3 Bucket Policy is not valid

Error on S3 Policy with FineUploader in Rails

Terraform - attach policy to s3 bucket