Skip to content

aws: use dual-stack endpoints for S3 Express - #828

Open
pdeva wants to merge 1 commit into
apache:mainfrom
pdeva:pdeva/s3-express-dualstack-upstream
Open

aws: use dual-stack endpoints for S3 Express#828
pdeva wants to merge 1 commit into
apache:mainfrom
pdeva:pdeva/s3-express-dualstack-upstream

Conversation

@pdeva

@pdeva pdeva commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

S3 Express endpoints currently omit the dualstack label. In IPv6-only environments, both session creation and zonal object requests therefore resolve only IPv4 addresses and fail to connect.

This change centralizes S3 Express endpoint construction and uses the AWS dual-stack hostname:

https://{bucket}.s3express-{zone}.dualstack.{region}.amazonaws.com

The same endpoint feeds both the internal session credential provider and the zonal data client.

Validation:

  • cargo fmt --all -- --check
  • cargo test -p object_store --features aws test_s3_express_endpoint

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.

1 participant