Server Set up in Alibaba Cloud

With an Aspera entitlement, an Aspera server can be installed on an instance in Alibaba Cloud Object Storage Service and run as a self-managed, cloud-based server that enables high-speed transfers with your Alibaba Cloud storage.

Prerequisites:

  • You have an Alibaba Cloud account.
  • You have a vault and know your access id and password.
  • The Aspera transfer server is installed on a VM instance in Alibaba Cloud.
  • You can log in to your VM instance with root privileges.
  • Your instance's Linux Kernel is 2.6.34 or higher. Run the following command to confirm:
    $ uname -a
  • Your local and cloud firewalls allow FASP-required connections (TCP/22, TCP/33001, UDP/33001).
  1. Login to your instance.
    Connect to a Linux instance using SSH and elevate to root privileges:
    # ssh -i identity_file -p 33001 user@host_ip_address
    # sudo su -
  2. Set the transfer user's docroot.
    # asconfigurator -x "set_user_data;user_name,username;absolute,docroot"
    Where docroot has the following syntax:
    oss://access_key:secret_key@endpoint/path
  3. Open /opt/aspera/etc/trapd/oss.properties for editing.
    Alibaba Cloud does not support retrieving vault location, so this feature must be disabled. Find the line #aspera.session.check-bucket.transfer=true, uncomment it, and change the value to false. For example:
    #Whether to check against cross-region transfers
    #Default is true
    aspera.session.check-bucket.transfer=false

    Using vault names in requests does not work if DNS is not configured. To disable the use of vault names in the request hostname, find the line #s3service.disable-dns-buckets=false, uncomment the line, and change the value to true. For example:

    #Disable use of bucket name in request hostname.
    #Default (and recommended) is false
    s3service.disable-dns-buckets=true
  4. Enable the Trapd service.
    # /opt/aspera/bin/astrap-config.sh enable
  5. Restart Trapd to activate your changes.
    # systemctl asperatrapd restart