Skip to main content

Deploy blueboard: choose your option

Every deployment of blueboard starts safe by default — read-only Microsoft permissions and BROKER_EXECUTE=false (dry-run mode) — so you can test incidents, AI agents, and human approvals before anything touches your tenant.

Pick the deployment path that matches your team, toolchain, and governance model.

Which option fits you?​

OptionTimeTools neededBest forEntry point
1. Local Docker Demo~2 minDocker Compose v2Trying the full UI, agents, approvals & playbooks with zero Azure account./scripts/demo.sh up
2. Guided Deploy Wizard~20 minAzure Cloud Shell or Bash + azSimplest Azure deploy — interactive prompts, zero env vars to memorise./infra/wizard.sh
3. Azure Cloud Shell (Release)~20 minBrowser only (Cloud Shell Bash)Deploying a checksum- & provenance-verified release with no local .NET/Node installBB_RELEASE=vX.Y.Z ./infra/up.sh
4. Workstation (From Source)~25 minaz, jq, .NET 10, Node 22 + pnpmBuilding and deploying directly from a reviewed git commit or forkPOLICY_FILE=policy.json ./infra/up.sh
5. Direct Bicep (.bicepparam)~25 minaz + Bicep CLIPlatform teams running declarative az deployment group what-if / createinfra/params/
6. GitHub Actions (OIDC)~15 min setupGitHub + Azure OIDC federated identityAutomated secretless deployments with GitHub Environment approval gatestemplates/ci/github-actions-deploy.yml
7. Azure DevOps Pipelines~15 min setupAzure DevOps + WIF service connectionEnterprise Microsoft SOCs standardising on Azure Pipelinestemplates/ci/azure-pipelines-deploy.yml
8. Local Developer Mode~10 minDocker (Postgres) + .NET 10 + Node 22Developing API, UI or custom MCP agents locally with live hot reload./scripts/dev-db.sh

Choose a security profile (Azure options)​

All Azure options deploy into a single Australian region (australiaeast or australiasoutheast) enforced in infra/main.bicep.

ProfileNetworking & SecretsDatabase & AuditWhen to use
mvp (default)Public HTTPS with Entra JWT auth; @secure() app settings; TLS 1.2Burstable PostgreSQL (Entra-only auth); local audit_logFast evaluation, non-production tenant testing, dry-run pilots
productionVNet integration, NSGs, NAT Gateway static egress, Private Endpoints (Postgres, Storage, Key Vault), TLS 1.3Zone-redundant HA PostgreSQL + 35-day geo-backups + 1-min export to BlueboardAudit_CL in SentinelAny board handling real Defender XDR / Sentinel / Purview incident data
production + Front Door (FRONT_DOOR=true)Everything in production + Azure Front Door Premium WAF (OWASP DRS 2.1, Bot Manager, geo allow-list, origin lockdown)Same as production + edge access & WAF logs in Log AnalyticsRegulated environments requiring edge WAF and country restrictions

Option 1: 2-minute local demo (no Azure needed)​

Run the entire stack — React console, .NET 10 API & MCP server, PostgreSQL, mock Defender/Graph tenant, and a scripted enrichment agent — on your laptop:

git clone https://github.com/jusso-dev/blueboard.git
cd blueboard
./scripts/demo.sh up

Open http://localhost:3417/dev-login and sign in as SOC Analyst (dev). Stop and clean up anytime with ./scripts/demo.sh down.

Full walkthrough: Local Demo Guide.


Option 2: Interactive guided wizard (simplest Azure deploy)​

Don't want to remember environment variables? Run the interactive wizard in Azure Cloud Shell (Bash) or your local terminal. It asks 8 plain-English questions, copies a starter policy if needed, prints the exact reproducible command, runs read-only preflight, and launches ./infra/up.sh:

git clone https://github.com/jusso-dev/blueboard.git
cd blueboard
./infra/wizard.sh

What the wizard handles for you:

  • Validates your environment name and Australian region (australiaeast / australiasoutheast).
  • Lets you pick production or mvp, verified release vs local source, and a starter policy (readonly, balanced, or strict).
  • Optionally enables GROUP_ADD_ME=1 (instant /setup access), FRONT_DOOR=true (in safe Detection mode first), and Sentinel workspace linking.
  • Prints the exact command so you can save it into a change ticket or run it directly.

Option 3: Azure Cloud Shell — zero local toolchain​

Deploy a published, SHA-256 checksummed and Sigstore-attested release straight from Azure Cloud Shell (Bash) without installing .NET or Node:

# 1. Pin your target tenant & subscription
az account set -s <subscription-id>
export AZURE_TENANT_ID=<tenant-id> AZURE_SUBSCRIPTION_ID=<subscription-id>

# 2. Clone the release tag and pick a starter policy
git clone --branch vX.Y.Z https://github.com/jusso-dev/blueboard.git && cd blueboard
cp templates/policies/starter-balanced-soc.json policy.json # add your protected_* lists

# 3. Deploy (resumable; hands off Entra permissions cleanly if you lack Privileged Role Admin)
BB_ENV=prod BB_RELEASE=vX.Y.Z BB_PROFILE=production GROUP_ADD_ME=1 POLICY_FILE=policy.json ./infra/up.sh

Separated duties? If you don't hold Privileged Role Administrator, up.sh stops cleanly after deploying infrastructure and writes infra/out/prod/handoff.md with the exact command for your Entra administrator. Once they run it, re-run the same up.sh command to finish.

Full staged walkthrough: Quickstart & Staged Go-Live.


Option 4: Workstation — build from source​

Use this when you want to build the .NET 10 Function App and React SPA locally from a reviewed commit or internal fork (requires Azure CLI 2.60+, jq, zip, .NET 10 SDK, Node 22 + pnpm):

az login --tenant <tenant-id> && az account set -s <subscription-id>
cp templates/policies/starter-balanced-soc.json policy.json
dotnet run --project api/Blueboard.Tools -- policy-check policy.json

BB_ENV=prod BB_PROFILE=production GROUP_ADD_ME=1 POLICY_FILE=policy.json ./infra/up.sh

Option 5: Direct Bicep with .bicepparam files (pure IaC)​

Prefer declarative Azure Resource Manager deployments with what-if change previews instead of the wrapper script? Starter parameter files live in infra/params/mvp.bicepparam and infra/params/production.bicepparam.

# 1. One-time Entra app & groups setup (outputs BOARD_API_CLIENT_ID)
BB_ENV=prod ./infra/entra-app.sh
BB_ENV=prod ./infra/entra-groups.sh

# 2. Preview infrastructure changes (read-only)
export BOARD_API_CLIENT_ID="<app-client-id>"
export BOARD_API_AUDIENCE="api://blueboard-prod"
az group create -n rg-blueboard-prod -l australiaeast
az deployment group what-if -g rg-blueboard-prod -f infra/main.bicep -p infra/params/production.bicepparam

# 3. Apply infrastructure
az deployment group create -g rg-blueboard-prod -f infra/main.bicep -p infra/params/production.bicepparam

Then publish the API and Web packages (or run ./infra/deploy.sh to build, publish, wire the SPA redirect URI, and verify /healthz) and grant Graph/Defender permissions via ./infra/grant-permissions.sh.


Option 6: GitHub Actions CI/CD (secretless OIDC)​

Deploy automatically from your own fork or internal repository with zero stored client secrets using Azure Workload Identity Federation (OIDC) and GitHub Environment reviewers:

  1. Copy templates/ci/github-actions-deploy.yml into .github/workflows/deploy-blueboard.yml.
  2. Create a GitHub Environment named blueboard-prod with required human reviewers and add the environment variables listed at the top of the template (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_SUBSCRIPTION_ID, BB_ENV, RESOURCE_GROUP, LOCATION, BB_PROFILE, POLICY_FILE).
  3. Create a federated credential on your Azure deployer identity trusting that repository and environment, then trigger Actions → Deploy blueboard to Azure → Run workflow.

Option 7: Azure DevOps Pipelines (Workload Identity Federation)​

For SOC teams running on Azure DevOps:

  1. Create an Azure Resource Manager service connection using Workload Identity Federation scoped to your target resource group (Owner, or Contributor + conditioned RBAC Administrator).
  2. Create an Azure DevOps Environment (blueboard-prod) with manual approval checks.
  3. Import templates/ci/azure-pipelines-deploy.yml, set azureServiceConnection, and run the pipeline (Preflight → approval → Deploy).

Option 8: Local developer mode (hot reload)​

Developing custom agents, playbooks, API endpoints, or React components?

# Terminal 1: local PostgreSQL + migrations + dev seed identities
./scripts/dev-db.sh

# Terminal 2: .NET 10 Azure Functions API & MCP server (http://localhost:7071)
cd api/Blueboard.Api && func start

# Terminal 3: Vite React front end with hot reload (http://localhost:5173)
cd web && pnpm install && pnpm dev

See Developer Guide for testing, contracts, and debugging.


After any Azure deployment: 3-step safe go-live​

  1. Verify health & SSO: Open https://<web-host>/setup as an admin and confirm Database, Sign-in, and Read permissions are OK. Apply Conditional Access in report-only mode first:
    BB_ENV=prod CA_EXCLUDE_IDS="<break-glass-ids>" CA_APPLY=1 ./infra/conditional-access.sh
  2. Run a 1-week dry-run pilot: Ingest real incidents (or trigger a safe test alert using Defender Test Alerts), connect an agent (Connecting AI Agents), and review Reports → Dry run.
  3. Enable only the actions you want: Grant specific write permissions and opt into live execution explicitly (BROKER_EXECUTE is never remembered across deploys):
    BB_ENV=prod BB_REDO=permissions ACTIONS="isolate_device release_device run_av_scan revoke_sessions" ./infra/up.sh
    BB_ENV=prod BROKER_EXECUTE=true POLICY_FILE=policy.json ./infra/deploy.sh

Next reads: Quickstart & Staged Go-Live · Full Azure Deployment Reference · SSO, Groups & Conditional Access · Operations & Monitoring