14

I host a static website on Amazon S3 with DNS hosted on Amazon Route 53. I'd like my site to be accessible via IPv4 and IPv6 (because it's about time).

When I use the Route 53 AWS Management Console to add an A (IPv4) "Alias" record for my S3 bucket, I am prompted with the name of my S3 bucket to use as an endpoint. When I try to add an AAAA (IPv6) "Alias" record, I am given no such option:

enter image description here

Trying to manually set an AAAA record by cloning the existing A record after it was created resulted in an error:

enter image description here

I know for a fact that the A "Alias" record puts a proper IPv4 IP address into Route 53 DNS:

enter image description here

I'm afraid to manually set an IPv6 address as I don't think there is any guarantee it will remain. The Alias Target setting is what Amazon prescribes for Static S3 sites.

My question therefore is, does Amazon AWS support accessing S3 Static Websites via IPv6, and if so, how can I set it up?

3 Answers3

19

Good news! AWS has support for IPv6 in CloudFront and S3.

AWS currently (2016-04-01) has very limited IPv6 support, only ELBs in EC2 Classic can do IPv6 – and they are being phased out in favour of VPCs.

There is no support for IPv6 in Route53, S3, CloudFront, EC2 nodes or VPC-based load balancers (ELBs).

Many are waiting for AWS to add IPv6 support, myself included. Until then your best choice is probably a different provider that has good IPv6 support.

sandstrom
  • 498
10

AWS has close to none of IPv6 support. However, if you need it really badly there is an ugly solution - you could use their load balancer in front of your static web site. It supports IPv6 but it may not be ideal or not work at all depending on your situation. Another option would be to consider service like CloudFlare. They will do the translation back and forth for you. The only real solution is move away from AWS to platforms that support IPv6 natively. For instance, RackSpace has decent IPv6 support as well as linode and others.

dtoubelis
  • 4,797
  • 1
  • 31
  • 32
4

Amazon now has support for IPv6 across a range of services.

IPv6 Support for Amazon S3

In order to start accessing your content via IPv6, you need to switch to new dual-stack endpoints that look like this:

https://BUCKET.s3.dualstack.REGION.amazonaws.com

or this:

https://s3.dualstack.REGION.amazonaws.com/BUCKET

Scott
  • 156