Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to turn a non-elastic IP into an elastic IP on aws?

I have done some research and don't think it is possible but figured I would ask on here just to be sure.

My predecessor decided to use the public and private IP of one of our database servers in an extremely large amount of places, now that we are going to be resizing this DB server going through and changing all of those IPs over would take a large amount of time and the possibility of missing one is pretty high.

I am wondering if it is at all possible to take the current IP on the server ( which is not elastic ) and some how convert it to an elastic IP. To clarify I am not looking to add a new elastic IP to the server but rather take the IP that is currently assigned to it and make that elastic. If this is not something that I can do using the SDK / Console is it something that Amazon could do behind the scenes if we were to get support?

Thanks !

like image 433
Kevin Avatar asked May 08 '14 20:05

Kevin


People also ask

Can we convert public IP to elastic IP in AWS?

AWS continues to bill for Elastic IP addresses associated with a stopped instance. Note: You can't convert an auto-assigned dynamic public IP address to an Elastic IP address.

How do I make an EC2 elastic IP?

Click the Elastic IPs link in the EC2 Dashboard. Click Allocate New Address and choose VPC or EC2 from the drop-down list, depending whether you're going to associate this IP with an instance in Amazon EC2-Virtual Private Cloud (VPC) or Amazon EC2-Classic, respectively. Click Yes, Allocate to confirm your choice.

Can Cloudformation create elastic IP?

You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP).


1 Answers

No, it is not possible.

The Elastic IP addresses are a separate pool from the Public IP addresses. There is no public means to convert a public (or private) IP address to an Elastic IP.

Standard Amazon support is unlikely to be able to make such a switch for you. While technically an Amazon network engineer can probably make such a switch, it is very unlikely that support could make that happen.

like image 187
Eric J. Avatar answered Oct 02 '22 13:10

Eric J.