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 + OpenMetadata 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 OpenMetadata 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 OpenMetadata

Configuration

  1. Go to Settings → Services → Database Services
  2. Click on your database service
  3. Go to the Ingestion tab
  4. Click Add Ingestion
  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

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