是否可以更改现有 EC2 t1.microinstance 的可用性区域?

有时在尝试启动我的 t1.microEC2实例时,无法提供它,Amazon 建议尝试不同的可用性区域。是否可以对现有实例进行更改?

64271 次浏览

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

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

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

  2. Create an AMI based on the old instance.

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

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.