使用生命周期存档规则时,AWS如何将S3对象传输到Glacier存档? [英] How does AWS transfer S3 objects to Glacier archives when you use lifecycle archive rules?

查看:363
本文介绍了使用生命周期存档规则时,AWS如何将S3对象传输到Glacier存档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Amazon Web Services(AWS)S3允许您自动将对象从S3传输/存档到Glacier。

Amazon Web Services (AWS) S3 allows you to automatically transfer/archive objects from S3 to Glacier.

我找不到任何人解释的 如何 进行转移。

Nowhere that I can find does anybody explain how that transfer happens.

S3对象归档到哪个冰川金库?生命周期策略是否在其创建的Glacier档案中设置了任何形式的描述?会为每个S3对象创建一个存档吗?

What Glacier vault do S3 objects archive to? Does the lifecycle policy set any sort of description on the Glacier archives it creates? Does it create an archive per S3 object?

推荐答案


问:我可以使用亚马逊吗? Glacier API可以访问我已归档到Amazon Glacier的对象?

因为Amazon S3维护了用户定义的对象名称与Amazon Glacier系统之间的映射定义的标识符,使用Amazon Glacier选项存储的Amazon S3对象只能通过Amazon S3 API或Amazon S3管理控制台进行访问。

Because Amazon S3 maintains the mapping between your user-defined object name and Amazon Glacier’s system-defined identifier, Amazon S3 objects that are stored using the Amazon Glacier option are only accessible through the Amazon S3 APIs or the Amazon S3 Management Console.

https://aws.amazon.com/s3/faqs/#glacier

为简单起见,S3不会创建拥有或可以操纵的Glacier档案。 S3创建 S3 拥有和管理的Glacier档案。

To put this in slightly simpler terms, S3 doesn't create Glacier archives that you own or can manipulate. S3 creates Glacier archives that S3 owns and manages.

您到这些对象的唯一接口是通过S3,它代表您向Glacier发出请求。因此,对于您的问题,每个答案基本上都是相同的:

Your only interface to these objects is through S3, which makes requests to Glacier on your behalf. So, for your questions, the answer for each one is essentially the same:

没关系。归档文件由S3管理,不能通过Glacier API或控制台进行用户访问。

实际上,似乎S3并未访问您的冰川。无需授予权限即可允许S3访问您的 Glacier(相反,当其他服务在您的 S3中创建对象时,您必须明确授予权限)。 Glacier似乎也不知道或不在乎S3中的对象来自您的AWS账户。在月度结算中,S3会向您收取Glacier存储空间的费用,而不是Glacier。

In fact, it appears that S3 isn't accessing "your" Glacier at all. No permission grants are needed to allow S3 to access "your" Glacier (by contrast, when other services create objects in "your" S3, you have to explicitly grant permission). Glacier also doesn't appear to know or care that the objects from S3 are from your AWS account. On the monthly billing, S3 charges you for the Glacier storage -- not Glacier.

其建模方式类似于S3拥有自己的AWS账户,并且S3是Glacier客户。 S3在Glacier中创建这些对象,然后将存储费用转回给您。

It is modeled as if S3 has its own AWS account, and S3 is a Glacier customer. S3 creates these objects in Glacier, then passes the storage charges back to you.

我敢肯定,这过于简单了,但是当S3为您归档对象时,您与Glacier直接交互的能力就不存在了...因此解释为什么找不到这些问题的答案:因为答案未知,不是公共信息,也不相关或重要。

That's an oversimplification, I'm sure, but your ability to interact with Glacier, directly, when S3 is archiving objects there for you is non-existent... thus explaining why you can't find answers to these questions: because the answers are not known, not public information, and not relevant or important.

S3对象存档到Glacier 仍然是S3对象。您仍然可以向S3发送 HEAD HTTP请求,并查看对象的元数据。您只有在从Glacier发起还原(由S3管理)并完成还原操作后,才能下载对象。还原对象后,它现在将保留在Glacier 中,并且在S3 REDUCED_REDUNDANCY 存储中拥有一个可下载的临时副本,S3在此之后将再次丢弃该副本。您要求S3还原对象时指定的天数。

S3 objects archived to Glacier are still S3 objects. You can still send a HEAD HTTP request to S3 and see the object's metadata. You just can't download the object until you initiate a restore from Glacier, which S3 manages, and the restore operation completes. When the object is restored, it now persists in Glacier and has a temporary, downloadable copy held in S3 REDUCED_REDUNDANCY storage, which S3 will discard again after the number of days you specified when you asked S3 to restore the object.

这篇关于使用生命周期存档规则时,AWS如何将S3对象传输到Glacier存档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆