Destinations
Connect S3 as a destination
Create AWS credentials and connect an S3 bucket, so your pipeline writes append-only Parquet files to it.
Create AWS credentials
Artie signs in to AWS in one of two ways: static access keys (Static credentials) or an IAM role Artie assumes (Role assumption). Both use the same IAM policy.
Create an IAM user with access keys
For Static credentials, run this Terraform script. It creates an IAM user, a policy that lists, reads and writes the bucket, and an access key.
provider "aws" {
region = "us-east-1" # Your AWS Region
}
resource "aws_iam_user" "artie_transfer" {
name = "artie-transfer" # Your service account name
}
resource "aws_iam_policy" "s3_read_write_policy" {
name = "s3-read-write-policy"
description = "Ability to list, read and write to the bucket"
policy = jsonencode({
Version = "2012-10-17"
Statement = [
{
Effect = "Allow"
Action = [
"s3:ListBucket",
"s3:GetEncryptionConfiguration"
]
Resource = "arn:aws:s3:::your-bucket-name"
},
{
Effect = "Allow"
Action = [
"s3:GetObject",
"s3:PutObject"
]
Resource = "arn:aws:s3:::your-bucket-name/*"
},
// If the bucket is encrypted with KMS:
{
Effect = "Allow",
Action = [
"kms:GenerateDataKey",
"kms:Decrypt",
],
Resource = [
"arn:aws:kms:your-region:your-account-id:key/your-kms-key-id",
]
}
]
})
}
resource "aws_iam_user_policy_attachment" "user_policy_attachment" {
user = aws_iam_user.artie_transfer.name
policy_arn = aws_iam_policy.s3_read_write_policy.arn
}
resource "aws_iam_access_key" "artie_transfer_key" {
user = aws_iam_user.artie_transfer.name
}
output "access_key_id" {
value = aws_iam_access_key.artie_transfer_key.id
sensitive = false
}
output "secret_access_key" {
value = aws_iam_access_key.artie_transfer_key.secret
sensitive = true
}Replace us-east-1 with your AWS region and both your-bucket-name values with your bucket. The third policy statement applies only when the bucket is encrypted with KMS. If it is, replace the key ARN with your KMS key’s ARN.
The access_key_id and secret_access_key outputs are the values you enter in Artie.
Create an IAM role for role assumption
For Role assumption, create an IAM role and attach the s3-read-write-policy from the Terraform script to it. Then add this trust policy to the role, so Artie can assume it.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::788826912768:user/ci"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"sts:ExternalId": "my-external-id"
}
}
}
]
}The Principal is Artie’s AWS identity. On a bring your own cloud (BYOC) data plane, trust the IAM identity of the data plane’s AWS credentials instead.
The Condition block is optional. Include it only when you enter an AWS external ID in Artie, and replace my-external-id with that exact value.
Add the destination in Artie
In a new pipeline, the setup checklist has a Destination section. Follow these steps there.
Choose the destination
On the Choose destination step, select S3.
Prepare the credentials
On the Prepare destination step, create your AWS credentials, then select Continue. The step shows the same Terraform script as Create an IAM user with access keys.
Enter the settings
On the Connect and verify step, fill in the required settings.
Verify the destination
Select Verify destination. The step shows Destination verified.
Verify destination is available once the pipeline has tables. To check the destination later, select Verify later.
If you choose an existing S3 destination, setup skips Prepare destination. Connect and verify then asks only for the bucket settings, because the credentials and region belong to the existing destination.
To change the bucket settings on an existing pipeline, open its Destination: S3 tab.
Required settings
Each field name matches its label in the Dashboard. Authentication method decides which credential fields appear.
| Field | Shown for | Value |
|---|---|---|
| Authentication method | Both methods | Static credentials (the default) or Role assumption. |
| AWS access key ID | Static credentials | The access key ID of the IAM user. It starts with AKIA or ASIA. |
| AWS secret access key | Static credentials | The secret access key of the IAM user. |
| AWS role ARN | Role assumption | The ARN of the IAM role, for example arn:aws:iam::123456789012:role/YourRole. |
| AWS region | Both methods | An AWS region, selected from the list. |
| Bucket name | Both methods | The bucket Artie writes to. |
Optional settings
The first field applies to Role assumption. The other two set where files land inside the bucket.
| Field | Default | Value |
|---|---|---|
| AWS external ID (optional) | None | The external ID in the role’s trust policy. Artie sends it when it assumes the role. |
| Folder name (optional) | None | A folder inside the bucket. Artie stores every file under it. |
| Table name separator | / | The text that joins the database, schema and table name in each file’s path. |
Bucket structure
Artie writes append-only Parquet files to your S3 bucket. The files use GZIP compression. Artie does not create a Delta transaction log.
Each file’s path follows this layout:
/BUCKET_NAME/[FOLDER_NAME/]TABLE_PATH/date=YYYY-MM-DD/UNIX_TIMESTAMP_MS_RANDOM.parquetArtie fills each part of the path as follows.
| Part | Value |
|---|---|
BUCKET_NAME | The value of Bucket name. |
FOLDER_NAME | The value of Folder name (optional). Artie leaves this part out when the field is empty. |
TABLE_PATH | The database, schema and table name, joined with the table name separator. With the default separator: s3/SCHEMA/TABLE. |
date=YYYY-MM-DD | The date Artie writes the file. The date= prefix follows Hive’s partitioning format. |
UNIX_TIMESTAMP_MS | A Unix timestamp in milliseconds. |
RANDOM | 4 random letters or digits. |
S3 has no databases, so the database part of TABLE_PATH is always s3. The schema part is the source table’s schema, or public when the source table has none.
For example, a pipeline with bucket artie and folder foo writes the orders table from the public schema to this path:
/artie/foo/s3/public/orders/date=2026-08-21/1787322600000_abc1.parquetWas this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.