- 最新
- 最多得票
- 最多評論
Hi,
Hope you are having a good day!
I understand you want to implement transfer acceleration for your users(Globally distributed) to access an S3 bucket located in US. Your approach is correct i.e. using <bucket_name>.s3-accelerate.amazonaws.com instead of s3.amazonaws.com, however, the use-case does not require any SFTP client actually, you can achieve the same using AWS CLI only. The endpoint are HTTP/HTTPS endpoints and the client software will be interacting with them using HTTP protocol only (Not SFTP). Considering AWS CLI is available for most of the operating system and is consistent across multiple platforms, it would be a much better alternative.
—AWS CLI: https://aws.amazon.com/cli —Installing AWS CLI: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
In AWS CLI, you can leverage “--endpoint-url” parameter to specify which endpoint the request should be sent. Also, you can edit your default profile to send all requests to transfer acceleration endpoints by default.You can read more about our supported method of using transfer acceleration in the below document,
—Using Transfer Acceleration: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transfer-acceleration-examples.html
AWS CLI reference example $ aws s3 cp file.txt s3://bucketname/keyname --region region --endpoint-url https://s3-accelerate.amazonaws.com
In addition to the above mentioned benefits, you can further optimize file performance of large uploads by altering parameters like maximum concurrent sessions, etc. You can find details about these in the below document,
—How can I optimize performance when I upload large files to Amazon S3?: https://aws.amazon.com/premiumsupport/knowledge-center/s3-upload-large-files/
I will not be able to comment on the workings of WinSCP or Cyberduck in detail as I have very limited exposure of working on these 3rd party softwares. I hope you will understand. Having said that, I learned that these softwares directly access the S3 bucket and communicate using HTTPS endpoints only. I would like to know more about the reasoning of using this client since SFTP client are not required to access S3 buckets. If your intention is to list the bucket as a mountable drive or accessing the S3 bucket using “Transfer for SFTP” service (which accesses the S3 bucket as the back-end storage), kindly let me know. We can discuss a few other alternatives in details but first I would like to know more about the use-case.
相關內容
- AWS 官方已更新 8 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 9 個月前