将EC2实例迁移到其他子网 [英] migration of EC2 instance to a different subnet

查看:56
本文介绍了将EC2实例迁移到其他子网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将EC2实例迁移到具有相同静态IP地址(非弹性地址)的其他子网?

How can I migrate an EC2 instance to a different subnet with the same static IP Address (NOT ELASTIC ADDRESS)?

推荐答案

-&& gt;弹性IP地址是指静态或固定IP地址,而不是您在会话期间收到的公共IP地址是临时的.

-> Elastic IP address means Static or fixed IP address, other than that what ever public IP you receive during a session is temporary.

->当您在5到10分钟内启动或停止实例时,AWS将为您重新分配新的公共IP地址.(无论您是哪个子网).

-> AWS will reassign you new public IP address when you start or stop your instance in a span of 5 to 10 minutes. ( irrespective of which subnet you are).

-> 因此,如果要迁移具有相同IP地址的EC2实例,则需要分配一个ELastic IP地址.您可以参考此

->Hence if you want to migrate EC2 instance with the same IP address, you need to assign an ELastic IP address.You can refer to this moving ec2 instances to another subnet

这篇关于将EC2实例迁移到其他子网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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