Parallel Transfers to AWS S3 and AWS EC2

Parallel transfers to cloud storage allow faster uploads by splitting large sets of files across multiple ascp sessions. They are currently supported only for command-line transfers to AWS S3 and AWS EC2. If you are uploading to a cluster, you must use access keys for authentication rather than IAM roles to run parallel transfers, unless you are using Assumed roles.

Server Configuration to Support Parallel Transfers

SSH into your Aspera server:

# ssh -i identity_file -p 33001 ec2-user@ec2_host_ip
# sudo su -

Set a value for the chunk size that is greater than 5 Mb by running the following command (this example sets the chunk size to 64 Mb):

# asconfigurator -x "set_node_data;transfer_protocol_options_chunk_size,67108864"

Open /opt/aspera/etc/trapd/s3.properties. Set the upload part-size to the same value as the chunk size (the default is 64 Mb) and set the gathering policy to ONE_TO_ONE, as in the following example:

aspera.transfer.upload.part-size=64MB
aspera.transfer.gathering-policy=ONE_TO_ONE

Ascp Command Syntax

ascp --tags={\"aspera\":{\"xfer_id\"[:\"optional_tag\"]}} -C nid:ncount [[user@]srcHost:]source_file1[,source_file2,...] [[user@]destHost:]target_path

Notes on the command syntax:

Parallel transfer behavior: