Setting Amazon S3 Storage Class Options

Amazon S3 offers several storage options, including Standard, Standard - Infrequent Access, and Reduced Redundancy Storage. Your Aspera transfer server is configured for Standard storage by default. You can configure your Aspera transfer server to work with other storage classes by editing s3.properties, which sets the default storage class for all transfers to S3.

You can also set the storage class in the docroot, as described in Setting Docroots for Object Storage and HDFS.

To set the default storage class for all transfers, follow the instructions below.

  1. Log in to your Aspera server as root.
    # ssh -i identity_file -p 33001 ec2-user@ec2_host_ip
    #  su -
  2. Open the s3.properties file with a text editor.
    The file is located at /opt/aspera/etc/trapd/s3.properties.
  3. Enable Reduced Redundancy or Infrequent Access Storage.
    Locate the following section:
    # Define storage class.
    # This property overrides the legacy 's3service.default-storage-class'
    # Valid values are STANDARD, REDUCED_REDUNDANCY, INFREQUENT_ACCESS
    # Default value is STANDARD
    #storage-class=STANDARD

    Uncomment the last line and enter the desired storage type. For example, to set the default storage class as Reduced Redundancy, enter the following:

    storage-class=REDUCED_REDUNDANCY
  4. Save your changes then restart the Aspera Trapd service to activate them.
    # systemctl asperatrapd restart