Azure Deployment
Deploy HeySummon to Azure using Terraform.
Prerequisites
Deploy
cd infra/
# Copy and edit variables
cp terraform.tfvars.example terraform.tfvars
# Edit terraform.tfvars with your values
terraform init
terraform plan
terraform applyResources Created
| Resource | Purpose |
|---|---|
| Resource Group | rg-hitlaas-prod |
| Container Registry (ACR) | Store Docker images |
| Container App Environment | Serverless container hosting |
| Container App | The HeySummon platform |
| PostgreSQL Flexible Server | Database (Burstable B1ms) |
| Log Analytics Workspace | Logging & monitoring |
Push Image to ACR
az acr login --name hitlaasprod
docker tag hitlaas-platform hitlaasprod.azurecr.io/hitlaas-platform:latest
docker push hitlaasprod.azurecr.io/hitlaas-platform:latestEstimated Cost
| Resource | Monthly Cost |
|---|---|
| Container App | ~€0-5 (scales to zero) |
| PostgreSQL B1ms | ~€12 |
| ACR Basic | ~€4.50 |
| Total | ~€17-22 |
Production Checklist
- Set strong
NEXTAUTH_SECRET(min 32 chars) - Configure OAuth redirect URIs for your Azure URL
- Enable HTTPS-only ingress
- Set up Azure Monitor alerts
- Configure PostgreSQL backups
- Review CORS origins in middleware