通过 Web 界面在区域之间移动 Amazon EC2 AMI? [英] Move Amazon EC2 AMIs between regions via web-interface?

查看:27
本文介绍了通过 Web 界面在区域之间移动 Amazon EC2 AMI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在区域之间移动和自定义 AMI 映像的任何简单方法?(东京 -> 新加坡)

Any easy way to move and custom AMI image between regions? (tokyo -> singapore)

我知道你可以搞砸 API 和 S3 来完成它,但有没有更简单的方法来做到这一点?

I know you can mess up with API and S3 to get it done, but there there any easier way to do it?

推荐答案

截至 2012 年 12 月,Amazon 现在支持通过 UI 工具(Amazon 管理控制台)将 AMI 迁移到另一个区域.查看他们的文档此处

As of December, 2012, Amazon now supports migrating an AMI to another region through the UI tool (Amazon Management Console). See their documentation here

所以,我是怎么做到的..

So, how I've done it is..

  1. 从 AMI 中找出 Snapshot-ID 及其附加方式(例如/dev/sda1)
  2. 选择快照,单击复制",设置目标区域并进行复制(需要一段时间!)
  3. 选择新快照,点击创建图像"

      架构:(选择 32 位或 64 位)

        Architecture: (choose 32 or 64 bit)

      名称/描述:(给一个)

        Name/Description: (give it one)

      内核 ID:在迁移 Linux AMI 时,如果您选择默认",它可能会失败.对我有用的是去亚马逊内核列表这里找到Amazon 支持的内核,然后在创建镜像时指定)

        Kernel ID: when migrating a Linux AMI, if you choose "default" it may fail. What worked for me was to go to the Amazon Kernels listing here to find the kernels Amazon supports, then specify it when creating the image)

      根设备名称:/dev/sda1

        Root Device Name: /dev/sda1

      点击是,创建"

        Click "Yes, Create"

  4.从新的 AMI 启动一个实例并测试您可以连接.

  4.Launch an instance from the new AMI and test that you can connect.

这篇关于通过 Web 界面在区域之间移动 Amazon EC2 AMI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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