Deployment Guide
Cloud Health Office is cloud-native: containerized .NET services on Kubernetes, with MongoDB-compatible storage, Kafka and Redis. The same manifests run on a laptop, on Azure (AKS) and on Google Cloud (GKE), so a plan chooses where it runs and who operates it.
Choose an operating model
Every model runs the same source-available software in a tenant dedicated to one plan. The right choice depends on your cloud standards, security requirements, engineering capacity and desired level of operational control. Compare the operating models in detail.
| Model | Status | Who operates it | Next step |
|---|---|---|---|
| In your cloud | Available | Your team, on your Kubernetes and cloud account | Follow this guide |
| In your cloud, operated by Aurelianware | By engagement | Aurelianware, to the scope the engagement defines | Discuss managed operation |
| Hosted by Cloud Health Office | Under evaluation — not offered today | Aurelianware | Register interest |
| Local evaluation | Available | You, on a workstation, with synthetic data | Run it locally |
What you deploy
| Component | What it is | Choices |
|---|---|---|
| Application services | About 36 .NET 8 services (claims, benefit plans, FHIR, eligibility, providers, appeals and more) and a Blazor operations portal, one container each | Any conformant Kubernetes |
| Database | MongoDB wire protocol only (ADR 017) | MongoDB in-cluster, or a managed MongoDB-compatible service (on Azure: Azure DocumentDB) |
| Event streaming | Kafka topics for claims, remittance, RFAI and dead-letter flows | In-cluster (Strimzi) or a managed Kafka service, by configuration |
| Cache and key ring | Redis | In-cluster or managed Redis |
| Documents | Attachments and generated documents behind a document-store interface | Azure Blob Storage or Google Cloud Storage |
| Secrets | A secret-provider interface in every service | Kubernetes Secrets, Azure Key Vault or HashiCorp Vault today; other cloud secret managers per engagement |
Prerequisites
| Tool | Used for |
|---|---|
kubectl 1.28+ | Every environment |
Docker 24+ | Building images; local evaluation |
Terraform 1.6+ and gcloud | Google Cloud |
Azure CLI and Bicep | Azure |
Path 1: Local evaluation
Runs the full platform on Docker Desktop Kubernetes, with MongoDB, Redis and Kafka in the same namespace and service-DNS layout used in the cloud. Synthetic data only. See the Kubernetes quickstart for the walkthrough.
# Build and deploy everything to Docker Desktop Kubernetes
./scripts/deploy-local.sh
# Check the services
kubectl get deployments -n cloudhealthoffice
Path 2: Google Cloud (GKE) reference deployment
Terraform in infrastructure/gcp/ creates a GKE cluster, an Artifact Registry repository, a documents bucket and keyless GitHub Actions access through Workload Identity Federation. The deploy-gcp-gke.yml workflow builds the images and applies the same service manifests used locally.
# Create the environment
cd infrastructure/gcp
terraform init
terraform apply -var="project_id=YOUR_PROJECT_ID"
# Then run the "Deploy demo to GKE" workflow, or scripts/deploy-gke.sh
As shipped, this environment is for evaluation with synthetic data. A production deployment on Google Cloud adds a Google BAA, customer-managed encryption keys, a private cluster with Private Service Connect, production token signing, and managed services for state (Managed Service for Apache Kafka, Cloud Storage, and Secret Manager or HashiCorp Vault). See GCP-DEMO.md for the full list.
Path 3: Azure (AKS)
Bicep templates in infrastructure/azure/ provision the Azure environment, and the deploy-azure-aks.yml workflow deploys the services to AKS with keyless OIDC authentication from GitHub Actions.
# Copy and fill in the parameters (base name, SFTP and messaging settings)
cp infrastructure/azure/main.parameters.example.json main.parameters.json
# Provision infrastructure into a resource group
az deployment group create \
--resource-group YOUR_RESOURCE_GROUP \
--template-file infrastructure/azure/main.bicep \
--parameters @main.parameters.json
For the full production design on Google Cloud, including network, identity, data, operations and compliance, with the status of each component, see the reference architecture blueprint.
Other clouds and on-premises Kubernetes
The services depend on Kubernetes and the components above, not on one cloud's proprietary services. AWS (EKS) and on-premises clusters use the same manifests; infrastructure code and managed-service bindings for them are scoped per engagement. Talk to us about your environment.
Secret management
Services read secrets through one secret-provider interface, so the backing store is a configuration choice rather than a code change.
| Provider | Status |
|---|---|
| Kubernetes Secrets | Default |
| Azure Key Vault (Workload Identity) | Implemented — see AZURE-KEYVAULT-INSTALLATION.md |
| HashiCorp Vault (Kubernetes auth) | Implemented |
| Google Secret Manager, AWS Secrets Manager | Per engagement, behind the same interface |
Configuration keys use the .NET hierarchy, for example MongoDb__ConnectionString as an environment variable or MongoDb--ConnectionString as a Key Vault secret name.
CI/CD
Deployments run from GitHub Actions without stored cloud credentials: OIDC federation on Azure and Workload Identity Federation on Google Cloud. Environment protection rules gate promotion between environments.
Before any real data, move token signing to Cloud KMS or Key Vault and give each service its own identity. See Tenant Security & Multi-Tenant Authentication.
Post-deployment verification
# All pods running
kubectl get pods -n cloudhealthoffice
# Service health
kubectl exec -it deploy/claims-service -n cloudhealthoffice -- curl -s localhost:5001/health/live
# FHIR capability statement
curl https://api.your-domain.example/fhir/r4/metadata | jq .status
Complete the Production Readiness Checklist, run an isolated restore using the Backup & Disaster Recovery Runbook, and test paging with the Observability & Incident Response Runbook before routing production traffic. Production use requires a commercial license.