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 年前檢視次數 1264 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南