Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.
Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.
In AWS, do you need to use IPv6 on EC2 to enable IPv6 with an ELB? Question
I have a website hosted in Amazon Web Services (AWS) that uses Elastic Compute Cloud (EC2) instances behind an Elastic Load Balancer (ELB). The load balancer is the newer "application" type.
I've tried unsuccessfully to make the site available over IPv6 in addition to IPv4. I have:
- Enabled IPv6 on the ELB
- Added
AAAA
records to my DNS that point to the ELB.
IPv6 still isn't working. I suspect it is because my EC2 instances don't support IPv6. I think that when the ELB receives a request over IPv6, it tries to forward it to EC2 over IPv6.
I was hoping that I could have the ELB talk to EC2 only over IPv4. I haven't found any configuration for making that happen. Do I need to enable IPv6 on all my EC2 instances, or is there a way to configure the ELB to terminate the IPv6 connection and talk to EC2 over IPv4?
1 answer
Evidentially my site is working over IPv6 with just the ELB IPv6 enable and AAAA
record.
ELB listener configuration
The load balancer does have configuration on how to route requests to EC2. Here is a screenshot of the configuration for me where it clearly says it is doing so over IPv4:
Testing tools
Last time I tried to test this, I saw failures over IPv6 with a tool that shows screenshots of my website over both IPv4 and IPv6. I just tried the tool again and found that my site is available over IPv6, but it shows an error for IPv4. It looks like the tool is not super reliable and errors from it are not always problems with your site. I've also tried two other testing tools which show that my site is working properly (but which do not show screenshots:)
0 comment threads