Amazon S3
Amazon S3 (Simple Storage Service) is a cloud-based storage service provided by Amazon Web Services (AWS), allowing you to store and retrieve data from virtually anywhere on the web. S3 is commonly used with Tonkean for general file storage as well as for automated file orchestration.
Prerequisites
Before connecting Amazon S3 with Tonkean, you must generate the access key and secret key for the relevant S3 bucket. Additionally, Tonkean requires the following permissions:
s3:PutObject
- To allow file uploads3:GetObject
- To allow file downloads3:DeleteObject
- To allow file deletions3:PutObjectAcl
- To allow editing file permissionss3:ListBucket
- To allow file data collections3:ListAllMyBuckets
(Only required for Global - List All Buckets permission type)
You may adjust permissions granted as needed based on your use case.
Authenticate with Amazon S3
To use S3 in Tonkean, you must first connect it as a data source:
Select the main nav icon,
, in the upper left and select Enterprise Components. The Enterprise Components screen displays.
Select + New Data Source in the upper right.
Select Cloud Application. The Add New Data Source window displays.
Enter "Amazon S3" in the search field, then select Amazon S3. The New Amazon S3 Connection window displays.
Select Create a new connection. The Set Up Data Source window displays.
Select the Permission Type. The required configuration fields and available options differ based on which permission type you select. See the relevant section below for your selected permission type.
Set Up the Amazon S3 Data Source with Global Permission Type
The Global permission type connects the entire S3 instance to Tonkean and lists available buckets for you to connect to:
In the Permission Type field, select Global - List Buckets.
Retrieve the required credentials in your AWS instance and populate the following fields:
Region
Access Key
Secret Key
Optionally, you may select Enable S3 Event Notifications via SNS Webhooks, turning on the option to use webhooks with your connected S3 bucket.
To use webhooks with the Amazon S3 integrations, your AWS credentials must have the required permissions to create and manage SNS topics. Ensure your IAM user role has the necessary SMS permissions before enabling the webhooks. See the required permissions below:
SNS:CreateTopic
SNS:SetTopicAttributes
SNS:Subscribe
SNS:DeleteTopic
s3:PutBucketNotification
s3:GetBucketNotification
The SNS resource prefix is
TonkeanS3Topic_
When finished, select Connect. The bucket and path selection fields display.
In the dropdown provided, select the buckets you want to collect files from, as well as the specific Path if you want to collect files from a bucket subfolder.
You can only select a subfolder Path if you have one bucket selected.
When finished, select Save. Your Amazon S3 bucket is connected and Tonkean can begin collecting your S3 data.
Set Up the Amazon S3 Data Source with Restricted Permission Type
The Restricted permission type connects a specific bucket to Tonkean.
In the Permission Type field, select Restricted - Specific Buckets.
Retrieve the required credentials in your AWS instance and populate the following fields:
Region
Access Key
Secret Key
Bucket Name
Optionally, you may select Enable S3 Event Notifications via SNS Webhooks, turning on the option to use webhooks with your connected S3 bucket.
To use webhooks with the Amazon S3 integrations, your AWS credentials must have the required permissions to create and manage SNS topics. Ensure your IAM user role has the necessary SMS permissions before enabling the webhooks. See the required permissions below:
SNS:CreateTopic
SNS:SetTopicAttributes
SNS:Subscribe
SNS:DeleteTopic
s3:PutBucketNotification
s3:GetBucketNotification
The SNS resource prefix is
TonkeanS3Topic_
When finished, select Connect. The bucket and path selection fields display (however, only the Path field is editable).
If desired, specify a Path if you want to collect files from a bucket subfolder.
When finished, select Save. Your Amazon S3 bucket is connected and Tonkean can begin collecting your S3 data.