Deployment Guide
Overview
Deployment Architecture
4-Tier Environment Strategy
Environment
Catalog
Deployed By
Service Principal
Purpose
Prerequisites and Setup
1. Local Development Setup
# Databricks CLI
databricks --version # Should be >= 0.200.0
# UV package manager
uv --version
# AWS CLI (for S3 volume access)
aws --version
# Git
git --version2. Service Principal Setup
3. GitHub Secrets
Sandbox Deployment (Developer Local)
Deploy to Your Sandbox
Sandbox Cleanup
Dev Deployment (Automatic on PR Merge)
Workflow Trigger
Manual Dev Deployment
Verify Dev Deployment
Troubleshooting Dev Deployment
Staging Deployment (Automatic After Dev)
Workflow Trigger
Deployment Process
Verify Staging Deployment
Staging-Specific Considerations
Production Deployment (Automatic After Staging)
Workflow Trigger
Deployment Process
Production Safety Checks
Verify Production Deployment
Production Monitoring
Verification Steps for Each Environment
Post-Deployment Checklist
Sandbox Verification
Dev Verification
Staging Verification
Production Verification
Rollback Procedures
Rollback Strategy
Git-Based Rollback (Recommended)
Pipeline-Specific Rollback
Data Rollback (Time Travel)
Model Rollback
Emergency Rollback (Full Environment)
Common Deployment Issues
1. Bundle Validation Failures
2. Authentication Failures
3. Permission Errors
4. Pipeline Deployment Failures
GitHub Actions Workflow Explanation
Workflow Structure
Workflow Dependencies
Service Principal Authentication
Best Practices
1. Always Test in Sandbox First
2. Monitor Deployment Progress
3. Use Feature Flags for Risky Changes
4. Gradual Rollout
5. Keep Environments in Sync
Related Documentation
This Repository
Cross-Repository Documentation
Emergency Contacts
Last updated