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
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 OpenMetadata 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 OpenMetadata
Configuration
- Go to Settings → Services → Database Services
- Click on your database service
- Go to the Ingestion tab
- Click Add Ingestion
- Select dbt from the dropdown
If using Basic Auth:
Configure dbt Options: