简体   繁体   English

在一天的什么时间S3对象转换到S3-IA或Glacier

[英]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. 我在2018年8月2日上午9:00:00将对象A上传到我的S3桶。

Let's say i have put Lifecycle rule for the transition to Standard-IA One day after object's creation date. 比方说,我已经把生命周期规则对象的创建日期之后过渡到标准-IA 一天

Will the object A gets transitioned to Standard-IA at 3rd August 2018 at 9:00:01 AM? AM对象A是否会在2018年8月3日上午9:00:01过渡到Standard-IA? or it will get transitioned to Standard-IA at 3rd August 2018 00:00:01 AM? 或者它将在2018年8月3日00:00:01 AM过渡到Standard-IA?

As per AWS Documentation and Blog post and chat I once had with AWS Support team: 根据AWS文档和博客文章以及曾与AWS Support团队聊天的帖子和聊天:

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 . AWS使用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 . 我把一个对象放在8月2,2018 9:00 AM IST ,那将是UTC 3:30一天删除或转换标准,所以亚马逊将检查8月3日UTC 00:00是否满足标准,但你可以看到有一天没有完成,因此不会采取任何行动

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 . 现在,在时间4 UTC 00:00 ,它将再次检查是否符合标准,因此现在将删除该对象。

Hope this clarify! 希望这澄清一下!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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