Overview
This guide walks you through deploying CaseBender on Azure using pre-built Docker images with Azure Container Apps and managed services.Prerequisites
- Azure Account
- Azure CLI installed
- Docker installed
Step 1: Initial Setup
Install and Configure Azure CLI
Initialize Project
Step 2: Set Up Azure Infrastructure
Connect existing Blob storage
CaseBender uses customer-owned private Blob containers. It does not create, configure, empty, or delete storage accounts or containers. Provision separatequarantine, records, and ephemeral containers before this deployment.
Azure Blob code is implemented under canonical provider ID azure. It is not currently declared release-supported in
scripts/storage/certification-matrix.json. Complete live qualification before
making a production support claim.
Use a system-assigned or user-assigned Managed Identity through
DefaultAzureCredential. Assign Storage Blob Data Contributor only at the
required container scope. Do not list account keys or grant storage-account
administration.
STORAGE_PROVIDER=azure,
AZURE_STORAGE_ACCOUNT, and AZURE_CONTAINER. azure-blob and
AZURE_STORAGE_CONTAINER are invalid runtime names.
See Enterprise Storage Overview and
Storage Security Baseline.
Set Up Azure Database for PostgreSQL
Set Up Azure Cache for Redis
Step 3: Create and Configure Container Registry
Step 4: Deploy Services
Create Container Apps Environment
Step 5: Set Up Azure Front Door
Step 6: Configure Custom Domain (Optional)
Monitoring and Maintenance
Set Up Application Insights
Configure Alerts
View Logs
Scaling Configuration
Backup and Disaster Recovery
Configure Database Backups
Configure Geo-Replication
Security Best Practices
- Enable Azure Defender for all services
- Implement Azure Private Link
- Use Managed Identities
- Regular security assessments
- Enable diagnostic logging
Cost Optimization
- Use consumption plan for Container Apps
- Implement auto-scaling rules
- Choose appropriate service tiers
- Monitor usage patterns
- Use Azure Reserved Instances
Next Steps
- Set up CI/CD with Azure DevOps
- Implement comprehensive monitoring
- Configure disaster recovery
- Review security compliance