-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 9.10-HF41, 10.10-HF23, 11.1, 2021.0
-
Component/s: S3
-
Release Notes Summary:S3 Transfer Acceleration is enabled.
-
Tags:
-
Impact type:Configuration Change
-
Upgrade notes:
-
Team:FG
-
Sprint:nxFG 11.1.12
We should enable S3 Transfer Acceleration. This is a setting enabled on specific S3 buckets that enables accelerated uploads (and downloads?) with multi-part transfer. Details here: https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html
I enabled S3 transfer acceleration on my bucket and set my `nuxeo.s3storage.endpoint` but got `exception_message : To enable accelerate mode, please use AmazonS3ClientBuilder.withAccelerateModeEnabled(true)`.
(Florent Guillaume) "we're not compatible out of the box. That's because of how the AWS SDK is coded. There is a technical reason though: in accelerate mode, the endpoint in request is regionless. We need the client-wide endpoint to fetch the region information and pick the correct signer."
Among other things, it looks like this contribution needs to add the "accelerateMode" config:
https://github.com/nuxeo/marketplace-amazon-s3/blob/master/ear/src/main/resources/s3binaries/nxserver/config/s3directupload-config.xml.nxftl#L67
e.g.:
<property name="accelerateMode">${nuxeo.s3storage.transient.accelerateMode}</property>
Even creating an XML override in Studio and setting the accelerateMode config did not enable this to work.
- is related to
-
NXP-28526 Make S3 Direct Upload compatible with S3-like storage
- Resolved
- Is referenced in