Skip to main content

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

Combine S3 storage with CloudFront CDN for HTTPS and global access. Setup:
  1. Follow S3 guide to create bucket and upload artifacts
  2. Create CloudFront distribution:
  1. Configure Collate with CloudFront URL:
    • URL: https://d123abc.cloudfront.net/dbt/

Option 2: Nginx Static File Server

Install Nginx:
Configure Nginx: Create /etc/nginx/sites-available/dbt-artifacts:
Enable the site:

Option 3: Apache Static File Server

Install Apache:
Configure Apache: Create /etc/apache2/sites-available/dbt-artifacts.conf:
Enable the site:

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

  1. In the left navigation menu, select Connections > Database Services.
  2. Click the database service you want to configure.
  3. Go to the Agents tab.
  4. Click Add Agent.
  5. Select DBT from the dropdown.
Configure dbt Source (HTTP): If using Basic Auth: Configure dbt Options:

Verification

Security Considerations

Enable HTTPS

Use Let’s Encrypt for free SSL certificates:

Add Basic Authentication

For Nginx:
For Apache:

IP Whitelisting

For Nginx:

Troubleshooting

Next Steps

Note: See other storage options: S3 | GCS | Azure | Local | dbt Cloud