Lurker News

Comments (18) 11 threads

Show all comments

Showing thread 3 of 11

lmz2 replies#
AWS could offer an Elastic IP record type for Route53 that is deleted automatically.
relistan#
+1 Seems like an obvious and good solution.
w3ll_w3ll_w3ll1 reply#
Already exists, they are called Alias record.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/re...
"An Amazon VPC interface endpoint – Route 53 responds with one or more IP addresses for your interface endpoint."
"When you use an alias record to route traffic to an AWS resource, Route 53 detects changes in the resource on its own. For example, suppose an alias record for example.com points to an Elastic Load Balancing load balancer at lb1-1234.us-east-2.elb.amazonaws.com. If the IP address of the load balancer changes, Route 53 starts responding to DNS queries with the new IP address."

lmz1 reply#
It's been a while since I did this, but the page doesn't mention Elastic IPs as eligible Alias targets.
w3ll_w3ll_w3ll#
I think you can point to any network interface on a VPC, but I never did it myself.