开发者

Download an Amazon EC2 AMI?

I would like to download a public Amazon EC2 AMI, such as this one (Ubunt开发者_如何学Cu Lucid), so that I can programmatically extract its contents.

How do I do this? I suspect there is an S3 address somewhere? This blog post looks like it once described this process, but the link seems to no longer work.

So far I can only find explanations of how to move around EC2 instance within AWS. I believe manifest files are an important piece of the puzzle.


Use the ec2-download-bundle in the AMI Tools to download AMIs. Create an instance, then immediately create an AMI. Use ec2-download-bundle to retrieve and decrypt the AMI.


Seems an approach would be to create a volume directly from the public ami. Then you could run an instance, mount the volume you created from the ami, and download the files from the instance using any file transfer scheme.


Is there a real problem that you're trying to solve?

Because if there is, and you need the contents of a particular AMI to solve it, then your best approach is going to be starting an instance and taking a snapshot of its running EBS (which you can then download). If you're not using an EBS-backed instance, then you can use the Amazon tools to create an AMI from your current instance.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜