简体   繁体   中英

At what time of the day does the S3 objects get transitioned to S3-IA or Glacier

I have Object A uploaded to my S3 bucket on 2nd August 2018 at 9:00:00 AM.

Let's say i have put Lifecycle rule for the transition to Standard-IA One day after object's creation date.

Will the object A gets transitioned to Standard-IA at 3rd August 2018 at 9:00:01 AM? or it will get transitioned to Standard-IA at 3rd August 2018 00:00:01 AM?

As per AWS Documentation and Blog post and chat I once had with AWS Support team:

Expiration – Specifies an expiration period for the objects that are subject to the rule, as a number of days from the object's creation date.

We calculate the expiration date for an object by adding that object's creation time to the expiration period and rounding off the resulting time to midnight of that day .

AWS Calculates everything with UTC .

Let me try to explain with example :

I put an object at Aug 2,2018 9:00 AM IST that would be UTC 3:30 with one day deletion or transition criteria, So Amazon will check On Aug 3 UTC 00:00 if the criteria is met but as you can see one day is not done thus it will take no action .

Now on A ug 4 UTC 00:00 it will again check if and this time the criteria will be met and thus the object will now be deleted .

Hope this clarify!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM