Skip to content

Switch to AWS' dual-stack S3 URLs#144

Merged
edmorley merged 1 commit intomainfrom
edmorley/s3-dual-stack
Feb 26, 2026
Merged

Switch to AWS' dual-stack S3 URLs#144
edmorley merged 1 commit intomainfrom
edmorley/s3-dual-stack

Conversation

@edmorley
Copy link
Copy Markdown
Member

The default AWS S3 URLs only support IPv4, whereas the dual-stack URLs support both IPv4 and IPv6:
https://docs.aws.amazon.com/AmazonS3/latest/API/ipv6-access.html
https://docs.aws.amazon.com/AmazonS3/latest/API/dual-stack-endpoints.html

By switching to the dual-stack URLs, it means systems that support IPv6 will now use it instead of IPv4, which is helpful in IPv6 environments where IPv4 traffic has to fall back to being routed via NAT gateways (which has performance and ingress cost implications).

See also:
https://salesforce-internal.slack.com/archives/C01R6FJ738U/p1770827176094169

GUS-W-21348359.

The default AWS S3 URLs only support IPv4, whereas the dual-stack
URLs support both IPv4 and IPv6:
https://docs.aws.amazon.com/AmazonS3/latest/API/ipv6-access.html
https://docs.aws.amazon.com/AmazonS3/latest/API/dual-stack-endpoints.html

By switching to the dual-stack URLs, it means systems that support IPv6
will now use it instead of IPv4, which is helpful in IPv6 environments where
IPv4 traffic has to fall back to being routed via NAT gateways (which has
performance and ingress cost implications).

See also:
https://salesforce-internal.slack.com/archives/C01R6FJ738U/p1770827176094169

GUS-W-21348359.
@edmorley edmorley self-assigned this Feb 24, 2026
@edmorley edmorley marked this pull request as ready for review February 24, 2026 13:43
@edmorley edmorley requested a review from a team February 24, 2026 13:43
@edmorley edmorley removed the request for review from a team February 24, 2026 13:44
@edmorley edmorley merged commit 22a8663 into main Feb 26, 2026
1 check passed
@edmorley edmorley deleted the edmorley/s3-dual-stack branch February 26, 2026 11:01
@edmorley edmorley mentioned this pull request Feb 26, 2026
edmorley added a commit that referenced this pull request Feb 26, 2026
To pick up #144.

Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants