是否有可能改变现有的EC2 t1.micro实例的可用区域? [英] Is it possible to change the availability zone of an existing EC2 t1.micro instance?

查看:166
本文介绍了是否有可能改变现有的EC2 t1.micro实例的可用区域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时候尝试推出我的t1.micro EC2实例时,不能配置和亚马逊建议尝试不同的可用区。是否有可能改变这种对现有的实例?

Sometimes when trying to launch my t1.micro EC2 instance, it cannot be provisioned and Amazon recommends trying a different availability zone. Is it possible to change this for an existing instance?

推荐答案

您不能移动现有EC2实例,直接一个不同的可用区。

You cannot move an existing EC2 instance to a different availability zone directly.

但是,下面的方法可用于通过一个新的AMI一个实例移动到不同的可用区间接:

However, the following approach can be used to move an instance to a different availability zone indirectly through a new AMI:

  1. 停止(不终止!)旧实例在老可用区。

  1. Stop (do not terminate!) the old instance in the old availability zone.

创建一个AMI基于旧的实例。

Create an AMI based on the old instance.

在新的可用性区域中运行的新的AMI一个新的实例。这将是你的旧实例的一个相当精确的复制。

Run a new instance of the new AMI in the new availability zone. It will be a fairly exact copy of your old instance.

如果你使用的是弹性IP地址,它与新的实例重新关联。

If you were using an Elastic IP address, re-associate it with the new instance.

一旦你已经测试了新的实例,并知道它运作良好,终止于老可用区的旧实例。

Once you have tested the new instance and know that it's working well, terminate the old instance in the old availability zone.

这篇关于是否有可能改变现有的EC2 t1.micro实例的可用区域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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