- Newest
- Most votes
- Most comments
Unfortunately, it is not possible - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses
A public IP address is assigned to your instance from Amazon's pool of public IPv4 addresses, and is not associated with your AWS account. When a public IP address is disassociated from your instance, it is released back into the public IPv4 address pool, and you cannot reuse it.
If you require a persistent public IP address that can be associated to and from instances as you require, use an Elastic IP address instead.
Unfortunately, it is not possible to convert a existing public IP to elastic IP. The reason is that both the public and elastic IP use different IP address pool.
Hence, if an elastic IP is required, it can be associated to the instance post which the existing public IP will be released back to the pool.
Relevant content
- asked 2 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 days ago
Where us your DNS record stored are you able to control the DNS TTL?