Setting up S3

If EventNative uses RedShift as a destination, it requires you to have an AWS S3 Bucket setup. S3 is used for temporary storage for RedShift COPY statement, which is the most efficient way to load data. In other words, data travels as EventNative → S3 → RedShift.

We'll walk you through how to do this in the following guide.

  • Login to you AWS console and select S3 under the storage section.

  • In the Create Bucket screen make sure to enter a unique Bucket Name and select the Region closest to your EventNative deployment. You don't need to modify the additional settings when creating your Bucket.

  • After creating your S3 Bucket, you'll want to go into IAM and add a user that you will use to connect with your S3 Bucket.

  • In Step 1, enter a User name and select Programmatic access.

  • In Step 2, select Attach existing policies directly followed by Create policy.

  • In the next screen select JSON and enter the following:

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject",
"s3:HeadBucket"
],
"Resource": "arn:aws:s3:::<your_bucket_name>"
}
]
}

Please make sure to update your_bucket_name with the name of the bucket that you've created.

  • After creating the policy, you can refresh the Add User page and proceed to associate the policy you've just created with the user account.

  • After creating the user, make sure to make note of you Access key ID and Secret access key

  • You're done! Read our Configuring EventNative to learn how to connect your S3 Bucket with Event Native.