Skip to main content
Amazon S3 is AWS object storage. Paradime supports using AWS S3 custom buckets in the customer’s VPC to store logs and run artifacts generated in each dbt™️ command when running schedules using Bolt.

What you can do

  • Store Bolt schedule logs and dbt™️ run artifacts in an S3 bucket you own, inside your own VPC.
  • Keep run metadata (such as manifest.json and run_results.json) organized by schedule name.

Bolt

Prerequisites

  • An AWS account with permissions to create S3 buckets, IAM policies, and IAM users.
  • The bucket must be created in the same region where your Paradime instance is hosted.
  • The Admin role in Paradime, to connect the bucket. The bucket is connected once for your entire organization, so every workspace uses it.

Set up your S3 bucket

Step 1: Create your own AWS S3 bucket

In your AWS account navigate to Amazon S3 > Buckets > Create Bucket. Enter the custom bucket name and select the region where you want to create your bucket in.
The bucket region should be the same as the region where your Paradime instance is hosted. When you connect the bucket, the form shows this region under Region.

Step 2: Create IAM policy

Next create the IAM policy that provides the minimum required permissions for Paradime to access the Amazon S3 bucket. Sign in to your AWS account and open the IAM Management Console and in the navigation pane, choose Policies, then Create policy.
Select the JSON tab and copy the permissions JSON as shown below to create a new IAM policy. The Amazon S3 connect form in Paradime shows the same policy with your bucket name, and a Copy button.

Step 3: Create AWS User and attach the previously created IAM policy

  • Assign the IAM policy created in the previous step to this user.

Step 4: Configure CORS policy for the S3 bucket

Set up the CORS policy to enable Paradime to access files when the request is initiated from the Paradime app.
  • In AWS navigate to S3 Bucket and select the Paradime S3 bucket created in the previous steps.
  • Select Permissions and then Cross-origin resource sharing (CORS)
  • Provide the below configurations

Step 5: Create Access Key ID and Secret Access Key

To generate the credentials needed for Paradime integration:
  1. Navigate to IAM > Users and select the user you created in the previous step
  2. Go to the Security credentials tab
  3. Click Create Access key
  1. On the “Access key best practices & alternatives” page:
  • Select Third-party service as your use case since Paradime will be accessing your S3 bucket
  • AWS will display a warning recommending temporary security credentials (IAM roles) instead of long-term access keys
  • Check the confirmation box “I understand the above recommendation and want to proceed to create an access key”
  • Click Next
  1. Optionally add a description tag for the access key
  2. Click Create Access key
Important: Copy and securely store both the Access Key and Secret Access Key - the secret key will not be shown again

Step 6: Connect the bucket in Paradime

The Amazon S3 Connect form in Settings > Integrations with Bucket name, Region, Access key ID, and a masked Secret access key filled in, All checks passed for the six checks from Access keys are valid to Delete objects (s3:DeleteObject), and Save enabled, next to the Amazon S3 setup guide
  1. In Paradime, go to Settings > Integrations (see connecting integrations).
  2. In the Organization section, under Storage, find Amazon S3 and click Connect.
  3. Fill in the fields:
  1. Click Test connection. Paradime runs these checks in order:
If the access keys or the bucket check fails, Paradime skips the checks after it. If the write fails, Paradime skips the read. A failed check shows the permission and the resource it needs, so you can fix the IAM policy from Step 2. If the delete fails, the test object stays in your bucket, and the check shows its path.
  1. When the form shows All checks passed, click Save. Save is available only after a test passes with the values in the form, so test again after you change a field. Paradime runs the checks again when you save.
After you save, new Bolt runs write their logs and dbt™️ artifacts to your bucket, and Paradime redeploys every Bolt schedule. Runs from before stay readable in Paradime.

Replace the access keys

  1. Go to Settings > Integrations, find Amazon S3, and click Manage. The panel shows the Bucket, the Region, and the last 4 characters of the Access key ID.
  2. Click Replace keys. The form opens with the bucket name and region filled in.
  3. Enter the new Access key ID and Secret access key, then click Test connection and Save.

Disconnect the bucket

Go to Settings > Integrations, find Amazon S3, click Manage, and then Disconnect. Confirm with Disconnect. New runs go back to the bucket that Paradime hosts, and Paradime redeploys every Bolt schedule. Runs stored in your bucket no longer open in Paradime.

FAQ

How are the dbt™️ artifacts stored in the S3 buckets?

In the S3 bucket you will see the Bolt folder which will contain all the artifacts by schedule name using the below folder structure.

Example