Access Amazon S3 Static Website Through IPv6

amazon s3amazon-route53amazon-web-servicesdomain-name-systemstatic-content

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?

Best Answer

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

Related Topic