Use Existing Private IP

0

I want to create a new instance with the AMI created of the old instance and also want to retain the Private IP address of the old instance as well. Is this possible?. If yes, How can this be done?

質問済み 1年前290ビュー
1回答
1
承認された回答

Greetings,

I understand that you currently trying to create a new instance from the AMI created of the old instance and also want to use the Private IP of the old instance.

Yes, you can Preserve the Private IP of the old instance and attach it to a new instance by following the steps below.

  1. Create an AMI of the old instance.

  2. In the Networking tab of the old Instance click on the eni-interface assigned to the instance.

  3. Select the ENI and Change the termination behavior of the Elastic Network Interface (ENI).

ENI ---> Actions ---> Change termination behavior ---> Uncheck “Enable” ---> Save

  1. Terminate the old instance

  2. Launch a new Instance from the created AMI.

Note: Select “Advanced Network Configuration” and add the network interface here, please make sure you are using the correct subnet.

  1. The New Instance will have the same Private IP as the old one.

Below are some additional documents for your reference.

References:

[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html

[2] https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/best-practices-for-configuring-network-interfaces.html

AWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ