Create a bucket with the Default S3 Options
Go to IAM > Users and click “Add users”
Give the user a name (e.g. “luabase-s3”) and check “Access key - Programmatic access”
Click “Attach existing policies directly” and “Create Policy”. Paste the snippet below into the JSON editor (be sure to change BUCKET_NAME
)
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetBucketLocation",
"s3:ListBucket",
"s3:GetObject",
"s3:DeleteObject",
"s3:GetLifecycleConfiguration",
"s3:PutLifecycleConfiguration"
],
"Resource": [
"arn:aws:s3:::BUCKET_NAME",
"arn:aws:s3:::BUCKET_NAME/*"
]
}
]
}
<aside>
💡 DeleteObject
is optional, but certain types of workflow (e.g. replacing files) will not work without it.
</aside>
Grant the policy to the user
Click review, then click “Download .csv”
Add the access key and secret to Luabase in “Settings” (cog icon in right sidebar)
You can send data from Luabase to S3 or GCS one time or on a schedule. Click the three dots to the left of any cell, then “Settings” > “Destination” > “Amazon S3”