dbt Artifact Storage: HTTP Server Configuration
This guide walks you through configuring an HTTP/HTTPS server as the artifact storage layer for dbt Core + Collate integration. Ideal for multi-cloud or on-premises deployments.Prerequisites Checklist
HTTP Server Options
Option 1: S3 + CloudFront (Recommended)
Combine S3 storage with CloudFront CDN for HTTPS and global access. Setup:- Follow S3 guide to create bucket and upload artifacts
- Create CloudFront distribution:
- Configure Collate with CloudFront URL:
- URL:
https://d123abc.cloudfront.net/dbt/
- URL:
Option 2: Nginx Static File Server
Install Nginx:/etc/nginx/sites-available/dbt-artifacts:
Option 3: Apache Static File Server
Install Apache:/etc/apache2/sites-available/dbt-artifacts.conf:
Step 2: Upload Artifacts from dbt
2.1 Manual Upload with rsync
2.2 Automated Upload in Airflow DAG
2.3 Upload with curl (Simple HTTP POST)
If your server accepts POST requests:Step 3: Configure Collate
Configuration
- In the left navigation menu, select Connections > Database Services.
- Click the database service you want to configure.
- Go to the Agents tab.
- Click Add Agent.
- Select DBT from the dropdown.
If using Basic Auth:
Configure dbt Options: