Skip to content

How can you define the maximum upload speed for the AWS CLI?

Many companies still keep data on servers on their own premises or in a conventional data center. The AWS CLI is ideal for transferring this data to AWS S3. With this command-line tool you can easily copy or sync files to S3. It can make sense to limit the upload speed to S3 if:

  • you are working in a corporate network and do not want the load on the Internet connection to slow down other users, or
  • you have your data with a hosting company and want to avoid high transfer costs, especially if you have to copy very large amounts of data.

In this case, you can throttle the upload speed in the AWS CLI as follows:

aws configure set default.s3.max_bandwidth 500KB/s

This setting does not apply to upload processes that are already running, only to ones you start anew.

Searches this page answers

  • AWS CLI upload speed
  • AWS CLI bandwidth
  • AWS CLI bandwidth limit
  • AWS CLI max_bandwidth
  • aws s3 max_bandwidth
  • aws s3 sync speed
  • S3 upload speed limit
  • aws configure set
  • aws configure set default.s3.max_concurrent_requests
  • AWS CLI S3 configuration