将AWS快照复制到S3存储桶 [英] Copying aws snapshot to S3 bucket

查看:707
本文介绍了将AWS快照复制到S3存储桶的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将EBS快照复制到我的S3存储桶中,但是在尝试和研究后我找不到解决方法。
我将感谢您提供任何可能使我着手解决方案的信息。

I want to copy an EBS snapshot to my S3 bucket, but i cannot find a way to do it after trying and researching. I shall be grateful to you for any information that could get me started on a solution.

推荐答案

使用Amazon EBS,您可以创建卷的时间点快照,这些快照可以存储在Amazon S3中。创建快照并将其复制到Amazon S3后,您可以将其从一个AWS区域复制到另一个区域,或在同一区域内。快照副本ID与原始快照的ID不同。
EBS快照存储在Amazon S3中。但是,您不会在任何S3存储桶中找到快照。 AWS使用S3基础架构来存储您的EBS快照,但是当它们驻留在S3中时您将无法访问它们。
您可以复制 AWS EBS快照使用AWS EC2控制台或命令行。

With Amazon EBS, you can create point-in-time snapshots of volumes, which can be stored in Amazon S3. After you've created a snapshot and it has finished copying to Amazon S3, you can copy it from one AWS region to another, or within the same region. The snapshot copy ID is different than the ID of the original snapshot. EBS snapshots are stored in Amazon S3. However, you will not find your snapshots in any of your S3 buckets. AWS uses the S3 infrastructure to store your EBS snapshots, but you cannot access them while they reside in S3. You can copy the AWS EBS Snapshot using either AWS EC2 Console or Command Line.

i)使用Console-复制$ EBS快照:
打开EC2控制台->在导航窗格->从操作列表中选择复制->在复制快照对话框中,提供必要的详细信息,例如目标区域,描述,加密等,然后选择复制。

i) Copy EBS snapshot using Console-: Open the EC2 console-> Choose snapshot in the navigation pane-> Choose copy from actions list -> In Copy Snapshot dialog box provide necessary details like destination region, description, encryption etc and select copy.

ii)复制EBS使用命令行-:
快照在AWS CLI中运行以下命令:

ii) Copy EBS snapshot using Command line-: Run the below command in AWS CLI:

aws --region<目标区域> ec2 copy-snapshot --source-<源区域> --source -snapshot-id< snap-0xyz9999999> --description

这篇关于将AWS快照复制到S3存储桶的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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