Aspera On Demand products support the ability to use S3 as storage. This topic walks you through the process of modifying your Aspera On Demand to support this option. The steps below assume the following:
After logging in as admin (the initial account provided with your AOD instance), open the management console by clicking on the Aspera Console link at the top of the screen.
The default login is admin and the default password is the instance ID. After logging in, open the Nodes tab and click the edit button for the node.
Open the Node Accounts tab and click on the edit button for the account you want to configure with the S3 access. In this example we are using the existing xfer2 user. If you prefer, you can also create a new account by clicking on the Add User button. For information on how to add a new account with S3 storage, see add_s3_storage.html.
Add the S3 docroot for that user using the following syntax:
S3://access_id:secret_key@s3.amazonaws.com/my_bucket/my_path
If your S3 Access ID or secret key contains characters known as reserved or unsafe, use URL encoding (also known as percent encoding) for these characters. For example, encode a slash character ( / ) by replacing it with %2F and a plus character ( + ) by replacing it with %2B.
Click on the Save Changes button.
?storage-class=REDUCED_REDUNDANCYFor example:
S3://access_id:secret_key@s3.amazonaws.com/my_bucket/my_path?storage-class=REDUCED_REDUNDANCY
?server-side-encryption=AES256For example:
S3://access_id:secret_key@s3.amazonaws.com/my_bucket/my_path?server-side-encryption=AES256
# service asperanoded restart
If you have licensed Aspera Server On Demand, you can perform a test transfer using an Aspera client to the account that was configured with the S3 docroot in Step 3.
If you have licensed the Application platform with Shares, you need to configure your new S3 node within Shares. To do so, log into Shares as Admin, and add a new node by clicking the + symbol next to the NODES menu heading.
Then, input the underlined settings depicted in the screenshot below. Note that the API password for xfer2 is the Instance ID.
Field | Description |
---|---|
Name | A description of the node. |
Host | The node computer's hostname or IP address, along with a port and path (if applicable). The "port" field represents the port on which the node service is running; which, by default, is 9092. The "path" field is an advanced feature used for URL proxying. In nearly all cases, you may leave this field blank. |
API Username | The node API username that you created when you set up Enterprise Server on your node machine. Note that this user is kept in the redis database for authentication between the Shares application and the node service. |
API Password | The node API password that you created when you set up Enterprise Server on your node machine. |
Use SSL | To encrypt the connection to the node using SSL, enable this
box. Although the node is configured to use Aspera's pre-installed,
self-signed certificate
(/opt/aspera/etc/aspera_server_cert.pem), you can use
your own certificate by replacing the files located in the following
directories:
To generate a new certificate, follow the instructions provided in the Aspera Enterprise Server Admin Guide and use the OpenSSL command-line binary (/opt/aspera/shares/bin/openssl). Note: After generating a new certificate, you must create a
cert.pem file that contains both the private key and
the certificate. To do so, copy and paste the entire body of the
private key file and the certificate file into a single text
file -- for example, my_cert.pem.
Tip: For more information on installing
your own private key, csr, or pem file for the Shares web
server, see the topic Installing an SSL Certificate for Shares.
|
Verify SSL Certificate | To verify the SSL certificate, enable this box. |
Bytes free - warn | If you would like to receive a warning message when the node has equal to or less than a certain number of storage bytes free, then enter that number into this field. You can input the number as G, MB, terrabytes and bytes. |
Percent free - warn | If you would like to receive a warning message when the node has equal to or less than a certain percent of its storage free, then enter that percentage into this field. |
Bytes free - error | If you would like to receive an error message when the node has equal to or less than a certain number of storage bytes free, then enter that number into this field. You can input the number as G, MB, terrabytes and bytes. |
Percent free - error | If you would like to receive an error message when the node has equal to or less than a certain percent of its storage free, then enter that percentage into this field. |
Click the Create Node button when finished.
To verify the new node, go to Home and click the S3 Storage node.
Finally, confirm that you are able to access the contents of your S3 bucket.
For additional instructions on using Shares, please view the IBM Aspera Shares on Demand Admin Guide.