Skip to main content
Reference architecture only. This page is not a production-certified deployment procedure and predates the current activation, image-pinning, secret-management, and network-isolation baseline. Use the supported on-premises guide or complete an enterprise architecture review before deployment.

Overview

This guide walks you through deploying CaseBender on Azure using pre-built Docker images with Azure Container Apps and managed services.

Prerequisites

  1. Azure Account
  2. Azure CLI installed
  3. 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 separate quarantine, 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.
The canonical runtime variables are 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

  1. Enable Azure Defender for all services
  2. Implement Azure Private Link
  3. Use Managed Identities
  4. Regular security assessments
  5. Enable diagnostic logging

Cost Optimization

  1. Use consumption plan for Container Apps
  2. Implement auto-scaling rules
  3. Choose appropriate service tiers
  4. Monitor usage patterns
  5. Use Azure Reserved Instances

Next Steps

  • Set up CI/CD with Azure DevOps
  • Implement comprehensive monitoring
  • Configure disaster recovery
  • Review security compliance