Azure Setup
This guide outlines a typical Azure deployment aligned with the product architecture. Adjust SKUs and regions to your compliance and latency requirements.
Architecture summary
Section titled “Architecture summary”Users → CDN (Frontend) → App Gateway / TLS → App Service (API) ↓ Azure SQL (RLS) ↓ Blob storage (edge snaps, optional)Deployment steps
Section titled “Deployment steps”-
Azure SQL — Create database; run Flyway migrations from your release pipeline. Enable RLS policies per the internal runbook
Backend/docs/deployment/row-level-security.md. -
App Service — Deploy API container from ACR; configure app settings from Environment Variables. Set
SQL_SERVER+SQL_DATABASEwith managed identity, orDATABASE_URLfor dev. -
Frontend — Build
Frontendwith production API URL; deploy static assets to CDN. SetAPP_BASE_URLandALLOW_ORIGINSon the API. -
DNS — Point
cloud.monozu.io(SPA/API) andingest.cloud.monozu.io(device ingest) to respective endpoints. -
Observability — Configure
APPLICATIONINSIGHTS_CONNECTION_STRINGand log level for production. -
Secrets — Store
SECRET_KEY, OAuth secrets, and optional feed API keys in Key Vault references.