Can't use S3 Transfer Acceleration

Created on 10 September 2017, over 7 years ago
Updated 15 January 2025, about 2 months ago

There doesn't seem to be a way to use Amazon's S3 Transfer Acceleration with s3fs.
After enabling acceleration in your AWS console, you're given a new endpoint for accelerated requests: <bucket name>.s3-accelerate.amazonaws.com

The only method I could see to use this endpoint in the S3fs settings is by using it as a Custom Host. Setting the Custom Hostname to either <bucket name>.s3-accelerate.amazonaws.com or s3-accelerate.amazonaws.com throws the following error message:

An unexpected Aws\Common\Exception\TransferException occured, with the following error message:
[curl] 3: <url> malformed [url] //<bucket name>.?max-keys=1

Is there a way we can use accelerated endpoints for S3?

✨ Feature request
Status

Active

Version

4.0

Component

Miscellaneous

Created by

πŸ‡³πŸ‡ΏNew Zealand khalor

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Drupal 7 end-of-life triage:
    Drupal 7 reached end of life on January 5th.

    The 7.x branches of S3FS do not have any additional planned releases.

    Moving this to a feature request in 4.0.x.

    This may be already possible, as it appears the endpoint errors raised may have been related to other known issues regarding configuration of the endpoint (protocol required) however that does not mean we can't consider adding this as an advanced option for ease of configuration.

Production build 0.71.5 2024