When will AWS S3 delete the expired objects?

Question:

I have a AWS S3 bucket with a 1 day expiration lifecycle rule. But the AWS didn’t delete the expired objects automatically. How can I let AWS delete the expired objects automatically? Are there still additional cost for these expired but unremoved objects?

Answer:

No AWS will evaluate the expiration rules once in a day and will not be charged for that as said in below doc.

We evaluate the expiration rules once each day. During this time,
based on their expiration dates, any object found to be expired will
be queued for removal. You will not be billed for any associated
storage for those objects on or after their expiration date. If server
access logging has been enabled for that S3 bucket, an
S3.EXPIRE.OBJECT record will be generated when an object is removed.

https://aws.amazon.com/blogs/aws/amazon-s3-object-expiration/

Leave a Reply