gpt4 book ai didi

amazon-web-services - Amazon S3 生命周期追溯应用程序

转载 作者:行者123 更新时间:2023-12-01 19:56:00 25 4
gpt4 key购买 nike

相当简单的问题。我设置的 Amazon S3 生命周期规则是否会追溯应用于数据?如果是这样,在开始归档或删除旧数据之前我可能会遇到什么样的延迟?

举例来说,假设我有一个存储了 3 年备份数据的存储桶。如果我创建一个新的生命周期,其中数据将在 31 天后存档,并在 365 天后删除,该新规则是否会应用于现有数据?多久开始执行?

最佳答案

是的,它是具有追溯力的(即所有已经存在并且匹配的东西都会得到规则)。
可能会有轻微的延迟(即规则将具有天粒度并每天运行),但规则将立即生效。如果您有大量预先存在的数据,则可能需要一段时间,具体取决于您需要删除/移动的数据量。

来源:S3 常见问题解答:http://aws.amazon.com/s3/faqs/

Lifecycle policies apply to both existing and new S3 objects, ensuring that you can optimize storage and maximize cost savings for all current data and any new data placed in S3 without time-consuming manual data review and migration.

After an Object Expiration rule is added, the rule is applied to objects that already exist in the bucket as well as new objects added to the bucket. Once objects are past their expiration date, they are identified and queued for removal. You will not be billed for storage for objects on or after their expiration date, though you may still be able to access those objects while they are in queue before they are removed. As with standard delete requests, Amazon S3 doesn’t charge you for removing objects using Object Expiration. You can set Expiration rules for your versioning-enabled or versioning-suspended buckets as well.

关于amazon-web-services - Amazon S3 生命周期追溯应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31547572/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com