Skip to content

Comments

Switch to AWS' dual-stack S3 URLs#284

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

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

Conversation

@edmorley
Copy link
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-21348093.

@edmorley edmorley self-assigned this Feb 24, 2026
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-21348093.
@edmorley edmorley force-pushed the edmorley/s3-dual-stack branch from ec4e388 to 140f221 Compare February 24, 2026 12:57
@edmorley edmorley marked this pull request as ready for review February 24, 2026 12:59
@edmorley edmorley requested review from a team and Malax as code owners February 24, 2026 12:59
@edmorley edmorley enabled auto-merge (squash) February 24, 2026 12:59
@edmorley edmorley merged commit 60cdaf1 into main Feb 24, 2026
6 checks passed
@edmorley edmorley deleted the edmorley/s3-dual-stack branch February 24, 2026 15:00
@heroku-linguist heroku-linguist bot mentioned this pull request Feb 24, 2026
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