将 s3 移动到冰川的生命周期策略如何运作?
How does Lifecycle policy for moving s3 to glacier work?
我已经为我的一个存储桶创建了一个生命周期策略,如下所示:
Name and scope
Name MoveToGlacierAndDeleteAfterSixMonths
Scope Whole bucket
Transitions
For previous versions of objects Transition to Amazon Glacier after 1 days
Expiration Permanently delete after 360 days
Clean up incomplete multipart uploads after 7 days
我想得到以下问题的答案:
When would the data be deleted from s3 as per this policy ?
Do i have to do anything on the glacier end inorder to move my s3 bucket to glacier ?
My s3 bucket is 6 years old and all the versions of the bucket are even older. But i am not able to see any data in the glacier console though my transition policy is set to move to glacier after 1 day from the creation of the data. Please explain this behavior.
Does this policy affect only new files which will be added to the bucket post lifepolicy creation or does this affect all the files in s3 bucket ?
请回答这些问题。
When would the data be deleted from s3 as per this policy ?
从不,对于当前版本。将对象转移到 Glacier 的生命周期策略不会从 S3 中删除数据——它将数据从 S3 主存储迁移到 Glacier 存储——但它在技术上仍然是一个 S3 对象。
将其视为 S3 拥有自己的 Glacier 帐户并代表您将数据存储在该单独的帐户中。您不会在 Glacier 控制台中看到这些对象——它们将保留在 S3 控制台中,但如果您检查一个已转换的对象,存储 class 是否会从原来的情况发生变化,例如STANDARD
而会说 GLACIER
.
Do i have to do anything on the glacier end inorder to move my s3 bucket to glacier ?
不,你不知道。如上所述,存储对象的不是 "your" Glacier 帐户。在您的 AWS 账单上,费用将显示在 S3 下,但标记为 Glacier,价格将与 Glacier 的公布定价相同。
My s3 bucket is 6 years old and all the versions of the bucket are even older. But i am not able to see any data in the glacier console though my transition policy is set to move to glacier after 1 day from the creation of the data. Please explain this behavior.
两部分:首先,查看控制台显示的对象存储class或aws s3api list-objects --output=text
。看看你是否没有看到一些 GLACIER
-class 对象。其次,它是一个后台进程。它不会立即发生,但您应该会在创建策略后的 24 到 48 小时内看到事情发生变化。如果您在存储桶上启用了日志记录,我相信转换事件也会被记录下来。
Does this policy affect only new files which will be added to the bucket post lifepolicy creation or does this affect all the files in s3 bucket ?
这会影响存储桶中的所有对象。
我已经为我的一个存储桶创建了一个生命周期策略,如下所示:
Name and scope
Name MoveToGlacierAndDeleteAfterSixMonths
Scope Whole bucket
Transitions For previous versions of objects Transition to Amazon Glacier after 1 days
Expiration Permanently delete after 360 days
Clean up incomplete multipart uploads after 7 days
我想得到以下问题的答案:
When would the data be deleted from s3 as per this policy ?
Do i have to do anything on the glacier end inorder to move my s3 bucket to glacier ?
My s3 bucket is 6 years old and all the versions of the bucket are even older. But i am not able to see any data in the glacier console though my transition policy is set to move to glacier after 1 day from the creation of the data. Please explain this behavior.
Does this policy affect only new files which will be added to the bucket post lifepolicy creation or does this affect all the files in s3 bucket ?
请回答这些问题。
When would the data be deleted from s3 as per this policy ?
从不,对于当前版本。将对象转移到 Glacier 的生命周期策略不会从 S3 中删除数据——它将数据从 S3 主存储迁移到 Glacier 存储——但它在技术上仍然是一个 S3 对象。
将其视为 S3 拥有自己的 Glacier 帐户并代表您将数据存储在该单独的帐户中。您不会在 Glacier 控制台中看到这些对象——它们将保留在 S3 控制台中,但如果您检查一个已转换的对象,存储 class 是否会从原来的情况发生变化,例如STANDARD
而会说 GLACIER
.
Do i have to do anything on the glacier end inorder to move my s3 bucket to glacier ?
不,你不知道。如上所述,存储对象的不是 "your" Glacier 帐户。在您的 AWS 账单上,费用将显示在 S3 下,但标记为 Glacier,价格将与 Glacier 的公布定价相同。
My s3 bucket is 6 years old and all the versions of the bucket are even older. But i am not able to see any data in the glacier console though my transition policy is set to move to glacier after 1 day from the creation of the data. Please explain this behavior.
两部分:首先,查看控制台显示的对象存储class或aws s3api list-objects --output=text
。看看你是否没有看到一些 GLACIER
-class 对象。其次,它是一个后台进程。它不会立即发生,但您应该会在创建策略后的 24 到 48 小时内看到事情发生变化。如果您在存储桶上启用了日志记录,我相信转换事件也会被记录下来。
Does this policy affect only new files which will be added to the bucket post lifepolicy creation or does this affect all the files in s3 bucket ?
这会影响存储桶中的所有对象。