Cloud Connections in StorageLink
Overview
A Cloud Connection defines the requisite setting needed for allowing a folder to connect to a cloud storage location.
In order to use a Cloud Connection, you will need to map it to a Folder. A Folder can be used as a logical mapping, similar to a mount point.
This includes the setting pertaining to the following cloud providers
- AWS
- Azure
Here is an example of a Cloud Connection:
s3://bryce-sandbox
SSE-S3
Instance Profile
credentials
When creating a Cloud Connection to S3, you will need to fill out the following fields:
S3 URL:
Enter the S3 Bucket name. Remember to follow the standard S3 Bucket naming convention:
Region:
The AWS region in which the S3 Bucket is located. If left blank the region of the StorageLink server will be used.
S3 Encryption Option:
S3 objects are encrypted at the time of upload. The encryption method you define on the Cloud Connection will apply to all subsequently uploaded S3 objects.
Cloud Connection Credentials:
The Use instance profile credentials option leverages the IAM permissions on the EC2 instance. This is the recommended approach, because the access key credentials are handled transparently, and rotated for you automatically.
If you want to restrict S3 permissions on a per-user basis, select the Use unique credentials option. You can set AWS Access Key credentials on the Cloud Connection. And then each can have their own dedicated Cloud Connection.
For creating the unique credentials, refer to this documentation.
You may also use instance identity instead of a Connection String, see this article for Configuring instance identity.
First launch
- AWS
- Azure
Upon first launch of an AWS StorageLink server, there will already be a default S3 bucket (named swiftgw-i-ec2_instance_id) configured and no additional connection is required.
When you log into your StorageLink admin web UI, the first thing you see is a Configure Default Storage popup.
Click OK, and this will take you to a page titled Add Azure Cloud Connection.
Create a Blob Storage Container
If you don't already have a Blob Storage Container, take a moment to create one.
Note: Make sure the Container name is all lowercase, which is an Azure requirement.Add Azure Cloud Connection
You will need to fill out the following form:
When you log into your StorageLink VM, the first thing you see is a Configure Default Storage popup.
Click OK, and this will take you to a page titled Add Google Cloud Connection.
Create a Cloud Storage Container
If you don't already have a Cloud Storage Container, take a moment to create one.
Note: Make sure the Container name is in all lowercase and try to make it unique, as they are Google Cloud requirements.Add Google Cloud Connection
You will need to fill out the following form:
Test Connection
When you have configured all the fields, click Test Connection.
If all goes well, you should see 3 green checkmarks.
Otherwise, check your settings and get this step working before proceeding.
If you are stuck, you can reach out to us at support@thorntech.com.