How to recover Elastic IP, when it is released accidently

Below are the few exceptions

  1. You cannot 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
  2. You cannot recover tags associated with an Elastic IP address
  3. You can recover an Elastic IP address using the Amazon EC2 API or a command line tool only

Below are the few pre requisites & steps that needs to be performed to recover Elastic IP

  1. AWS CLI needs to be configured
No alt text provided for this image

2. Allocate a new Elastic IP

No alt text provided for this image

3. Release the Elastic IP

No alt text provided for this image

4. Below are the commands to recover the elastic IP

"aws ec2 allocate-address --domain vpc --address 13.127.68.46" replace the IP address with your IP 

No alt text provided for this image

Elastic IP successfully allocated to our account

No alt text provided for this image



Amith Ajith

Senior Manager Datacenter & Cloud at ABinBev

3 年

Is there a time limit till we can use this method? Like what will happen if somebody is already using that?

回复

要查看或添加评论,请登录

Naveen Vasudevan的更多文章

社区洞察

其他会员也浏览了