brandonweiss / discharge

⚡️ A simple, easy way to deploy static websites to Amazon S3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPv6 support

tambry opened this issue · comments

S3 website hosting supports IPv6 in some regions. Albeit being undocumented, it works without problems.

For example:

# host s3-website.dualstack.us-east-1.amazonaws.com
s3-website.dualstack.us-east-1.amazonaws.com has address 52.216.225.2
s3-website.dualstack.us-east-1.amazonaws.com has IPv6 address 2600:1fa0:8090:8b89:34d8:e2ea::

# host s3-website.dualstack.ca-central-1.amazonaws.com
s3-website.dualstack.ca-central-1.amazonaws.com has address 52.95.147.19

It should be safe to use dualstack endpoints for all regions, even those, which don't support IPv6 yet, so IPv6 will be magically enabled once they're dualstacked.

Interesting! Let me do some reading on this to make sure I understand it!