1 Answer
- Newest
- Most votes
- Most comments
0
Is there a reason for the private IPs being dynamic? If not, you could assign them fixed private IPs and resolve them via DNS using a Route 53 private hosted zone assigned to your VPC. This requires enableDnsHostnames
and enableDnsSupport
settings enabled in your VPC.
answered a year ago
Relevant content
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
I believe private IP's never change for existing EC2's, only public IP's do on a stop start.
Thank you, that is really useful. Gary - I think you are right re: private IPs but I should perhaps have clarified we also would rather also not have to change config if the EC2 is destroyed and recreated