Use the same IP address when moving to a new instance

0

Hi there, I just created a new EC2 instance by cloning the existing instance with Windows Server 2019. I would like to use the existing IP address for the new instance if I can turn off the existing one. Is it possible to do this?

Thanks

已提问 1 年前1263 查看次数
2 回答
1

When you first create the new EC2 instance, you can assign a static, primary IP address. As you go through the instance creation screen, expand the "Advanced network configuration" drop-down just under where you define security group rules. You should see a field where you can enter the IP address you want to assign to the new EC2 instance. Note: This is only available when you first create the EC2 instance - you cannot change the primary IP address after creation.

Screenshot of advanced network configuration

profile pictureAWS
已回答 1 年前
0

Ok thanks! If I stop the old instance, is it good enough to use its IP address on the new one, or does it need to be terminated?

已回答 1 年前
  • It will need to be terminated since stopping an instance does not release the private IP address.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则