I've setup an internal load balancer for my SQL read servers in EC2, but I can't figure out how to point DNS at it. I have a private hosted zone in Route 53. When I attempt to setup an ALIAS record to the LB, the internal load balancer does not appear in the dropdown, though all the public LBs do, which leads me to believe I'm going about this the wrong way. None of my Googling has led me to any information specific to private load balancers, so maybe it's just not possible and I have to use the long AWS domain name?
Asked
Active
Viewed 1.2k times
8
-
5Your private LB still has a valid public name (example, `internal-name-123456789.region.elb.amazonaws.com`), but the DNS servers will resolve it to the corresponding private IP address. – jweyrich Jun 27 '16 at 17:44
-
1If I try to set the target manually, Route 53 keeps adding "dualstack." to the beginning of the name. Is this normal? – rich remer Jun 27 '16 at 17:47
-
1Yes do not worry about the dual stack AWS adds that because the application should support both both IPv4 and IPv6. – Piyush Patil Jun 27 '16 at 17:58
-
1FWIW, [here's the AWS official documentation on Internal Load Balancers](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-internal-load-balancers.html). – jweyrich Jun 27 '16 at 20:19
-
Yeah, it's just confusing because AWS provides autocomplete for public LBs, but not private LBs, leading me to believe I was doing something wrong. Then when I tried manually, the "dualstack." led me to believe I was doing something wrong. – rich remer Jun 27 '16 at 20:33
-
I agree. It's somewhat confusing. Did you test to confirm it's working? – jweyrich Jun 28 '16 at 17:32
-
1Yes, it works, thank you! – rich remer Jun 28 '16 at 17:38
-
2How did you resolve this? I pointed the private DNS to the internal ELB (A record with Alias to ELB's DNS) but didnt work – Casper Aug 17 '16 at 18:04
1 Answers
2
My experience : I was trying to create single HTTPS contact point for my application, so I tried setting up internal load-balancer hoping when I point it to A Record in Route 53 it would work with just A Record url.
To answer your question :
- Internal Load Balancers do list in Load Balancer listing for Route 53.
- You can not use A Record url to publicly point to internal load-balancer unless you are actually connected to VPC

Aditya T
- 1,566
- 2
- 13
- 26