내용으로 건너뛰기

Need to Reassign Elastic IP from Old EC2 to New EC2 Instance

0

My previous EC2 instance (now terminated) became corrupted, and I had several configurations tied to its Elastic IP address. I have launched a new EC2 instance and assigned it a different IP. However, I need to reassign the old Elastic IP to this new instance to maintain continuity across services.

Is it possible to reassociate the old Elastic IP with the new EC2 instance?

If yes, what steps should I follow to do that safely?

If the Elastic IP was accidentally released, is there any way to recover it?

Please advise on the best approach.

질문됨 일 년 전204회 조회

1개 답변
0

Hello.

Do you still have the old Elastic IP address in your account?
If so, you can move it by detaching it from the old EC2 instance and attaching it to the new EC2 instance.
You can replace it by following the steps in the document below.
https://repost.aws/knowledge-center/ec2-move-elastic-ip

If the Elastic IP was accidentally released, is there any way to recover it?

If you accidentally release an Elastic IP address, you can restore it by following the steps in the following document.
However, this only applies if you have not acquired an Elastic IP address in another AWS account since releasing it.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing-eips-releasing.html

You can't recover an Elastic IP address if it has been allocated to another AWS account, or if it will result in your exceeding your Elastic IP address limit.
You can't recover tags associated with an Elastic IP address.

전문가

답변함 일 년 전

전문가

검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠