Skip to main content

dbt Artifact Storage: Azure Blob Storage Configuration

This guide walks you through configuring Azure Blob Storage as the artifact storage layer for dbt Core + OpenMetadata integration. Perfect for Microsoft Azure deployments.

Prerequisites Checklist

Step 1: Azure Blob Storage Setup

1.1 Create Storage Account and Container

Expected output:

1.2 Create Blob Container

1.3 Configure Access (Choose One Option)

Option A: Using Storage Account Key (Simplest)
Option B: Using SAS Token (Read-only for OpenMetadata)
Option C: Using Managed Identity (Recommended for AKS)

1.4 Verify Blob Storage Access

Step 2: Upload Artifacts from dbt

2.1 Understanding dbt Artifacts

OpenMetadata requires these dbt-generated files: Generate all artifacts:

2.2 Complete Airflow DAG

This is a complete, working DAG for Azure deployments. Save as dbt_with_azure.py in your Airflow DAGs folder:

2.3 Alternative: Azure CLI Upload

For simpler setups, use Azure CLI directly:

Step 3: Configure OpenMetadata

Configuration

  1. Go to Settings → Services → Database Services
  2. Click on your database service (e.g., “production-synapse”)
  3. Go to the Ingestion tab
  4. Click Add Ingestion
  5. Select dbt from the dropdown
Configure dbt Source (Azure): Azure Credentials (choose one): Option A: Using Account Key Option B: Using Connection String Configure dbt Options: Test & Deploy:
  1. Click Test Connection
  2. If successful, click Deploy
  3. Click Run to trigger immediately

Verification

After running the full pipeline, verify:

Troubleshooting

Next Steps

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