Create an Amazon S3 Connection
This guide will demonstrate how to create an Amazon S3 connection in Ascend.
Prerequisites
- Credentials for your AWS account
- Access Key: The AWS access key to use for the S3 connection.
- Secret Access Key: The secret access key associated with the prior access key.
- An existing Ascend project (see: Create a Project)
- An existing Ascend Workspace (see: Setting Up a Workspace)
- UI
Locate Your Project Folder
- From your Ascend Instance Homepage, click on your Workspace to open it.
- From here, click on the Files icon on the left navigation bar. This will open the File Tree in the left panel.
- In your File Tree, locate your top-level project folder and open it.
- Within the project folder, locate the
connections
folder.
Add a New Connection File
- Right-click on the
connections
folder and click New File. - Provide the file with a name and a
.yaml
extension, such ass3_connection.yaml
. This will open the empty file in the build pane. - From here, you can enter the details for your connection.
Enter Connection Details
Enter the following YAML configuration, replacing the placeholder values with your Amazon S3 connection details:
/my_project/connections/amazon_s3_connection.yaml
connection:
s3:
root: <root_path_to_bucket>
aws_access_key_id: ${secrets.<your_vault>.<access_key>}
aws_secret_access_key: ${secrets.<your_vault>.<secret_access_key>}
To view all available connection options, see the Amazon S3 Connection Reference.
Once you have entered your Connection details, click "Save" to save the file and click "Build Project" to apply the changes.
Now that you have created an Amazon S3 connection, you can start ingesting data from Amazon S3 or writing data out to Amazon S3.