How can I test the upload speed of Amazon S3 Transfer Acceleration for a specific file size?

Last updated: 2019-05-30

I want to use S3 Transfer Acceleration to improve the file upload speed to my Amazon Simple Storage Service (Amazon S3) bucket. I want to compare the speeds between uploading directly to the S3 bucket and using S3 Transfer Acceleration. How can I do that?


To compare the general upload speed across Amazon S3 regions, you can use the Amazon S3 Transfer Acceleration Speed Comparison tool. To test the upload speed of a specific file size, you can use the following scripts from the Amazon Web Services - Labs GitHub website:

Before you run or, you must:

1.    Review your AWS Identity and Access Management (IAM) user credentials to be sure that you have the permissions to enable Transfer Acceleration. You need the s3:PutAccelerateConfiguration permission to enable or disable Transfer Acceleration. Additionally, you need the s3:GetAccelerateConfiguration permission to view whether a bucket has Transfer Acceleration enabled. For more information, see Requirements for Using Amazon S3 Transfer Acceleration.

2.    Enable Transfer Acceleration on your S3 bucket.

3.    Install and configure the AWS Command Line Interface (AWS CLI) on your machine.

Requirements for

Before you run, you must first install the bc language on your Linux machine. Run this command to install bc on an Ubuntu or Debian machine:

apt-get install bc

Run this command to install bc on an Amazon Linux, CentOS, RHEL, or Fedora machine:

yum install bc

Requirements for

Before you run, you must first install coreutils on your macOS machine. Follow these steps:

1.    Run this command to install Homebrew:

ruby -e "$(curl -fsSL"

2.    Run this command to install coreutils using brew:

brew install coreutils