Skip to content

Service Map

Complete map of all services in the Monozu Cloud monorepo — where they live, what they do, and how to reach them.

PropertyValue
PathBackend/
LanguageGo 1.26
FrameworkFiber v3
Port (local):8000
Production URLhttps://api-cloud.monozu.io (docs); Edge default https://api.cloud.monozu.io — unify TBD
Development URLhttps://dev-api-cloud.monozu.io
DeploymentDocker → Azure Container Registry → Azure Container Apps
DatabaseAzure SQL Server (multi-tenant RLS)

Responsibilities:

  • REST API for all Cloud Frontend features (/api/v1/*)
  • WebSocket hubs for real-time features (/api/ws/vpn, /api/ws/security)
  • JWT authentication and OIDC (Microsoft Entra ID)
  • Multi-tenant data isolation via Azure SQL Row-Level Security
  • Background jobs: CVE feed sync, vulnerability scanning, SLA notifications, audit retention
  • Transactional email via Azure Communication Services (noreply@cloud.monozu.io / noreply@cloud-dev.monozu.io)
  • Edge claim-code registration and command dispatch (/api/v1/devices/*, /api/v1/commands — Edge clients call /v1/...)
  • Internal M2M for Management (/internal/* including device assign)
  • Admin cross-tenant /api/v1/admin/*removed (404)

PropertyValue
PathFrontend/
LanguageTypeScript / React 19
Build toolVite
Port (local):3000
Production URLhttps://cloud.monozu.io
Development URLhttps://dev.cloud.monozu.io
DeploymentVite build → Cloudflare Pages

Responsibilities:

  • Primary web interface for end users (CMDB, ITSM, Security, VPN, Backup)
  • Communicates exclusively with Cloud Backend API
  • Stores access token in memory, refresh token in HttpOnly cookie
  • Feature-flagged modules loaded from GET /api/v1/me/features post-login

PropertyValue
PathManagement/management-backend/
LanguageGo 1.26
FrameworkFiber v3
Port (local):8080
Production URLhttps://api-manage.monozu.io
Development URLhttps://dev-api-manage.monozu.io
DeploymentDocker → ACR → Azure Container Apps

Responsibilities:

  • Tenant provisioning and lifecycle management
  • License activation and propagation to Cloud via HMAC webhook
  • Edge fleet: assign claim codes to tenants, device list
  • M2M communication with Cloud Backend using X-Internal-Token
  • Entra ID OIDC for management staff authentication

PropertyValue
PathManagement/management-frontend/
LanguageTypeScript / React 19
Port (local):5173
Production URLhttps://manage.cloud.monozu.io
Development URLhttps://dev.manage.cloud.monozu.io
DeploymentVite build → Cloudflare Pages

Responsibilities:

  • Admin UI for tenant provisioning, licenses, and Edge claim assignment
  • Used by Monozu operators, not end customers

PropertyValue
Pathingestor/
LanguageGo
Production URLhttps://ingest.cloud.monozu.io
Development URLhttps://dev-ingest.cloud.monozu.io
DeploymentAzure Container Apps

Responsibilities:

  • High-throughput ingestion of telemetry from Edge appliances
  • Single endpoint: POST /v1/ingest
  • Auth via X-Device-Key header (device api_key from claim-complete)
  • Payload kinds: telemetry, log, security_alert, discovery, backup_event, host_inventory (planned)

PropertyValue
PathEdge/
LanguageRust
PackagingRAUC-updatable image + monozu CLI
DeploymentOn customer premises (OT/IT LAN)

Responsibilities:

  • Claim-code pairing (monozu edge register)
  • Network discovery, telemetry, security alerts → Ingestor
  • Command polling from Cloud Backend
  • Planned: Host Agent LAN gateway

PropertyValue
Pathhostzu/
StatusSpec / design — not implemented yet
DocsHost Agents

PropertyValue
PathWebsite/
FrameworkAstro + Tailwind
Production URLhttps://monozu.io
DeploymentCloudflare Pages
LanguagesPolish + English

PropertyValue
PathWebsiteContactApi/
RuntimeCloudflare Workers

Responsibilities:

  • Contact form submissions from marketing website
  • Cloudflare Turnstile CAPTCHA + email via Resend (marketing only — Cloud Backend transactional mail uses Azure Communication Services)

PropertyValue
PathDocumentation/
FrameworkAstro + Starlight
Production URLhttps://docs.cloud.monozu.io

PropertyValue
PathInternal-Documentation/
FrameworkAstro 6 + Starlight
Production URLhttps://internal.docs.cloud.monozu.io
Development URLhttps://dev.internal.docs.cloud.monozu.io
DeploymentCloudflare Pages

flowchart LR
  Website["monozu.io"]
  CloudSPA["cloud.monozu.io"]
  CloudAPI["api-cloud.monozu.io"]
  Ingest["ingest.cloud.monozu.io"]
  InternalDocs["internal.docs.cloud.monozu.io"]
  PublicDocs["docs.cloud.monozu.io"]
  MgmtSPA["manage.cloud.monozu.io"]
  MgmtAPI["api-manage.monozu.io"]
  Edge["Edge appliance"]

  CloudSPA -->|"REST and WS"| CloudAPI
  MgmtSPA -->|"REST"| MgmtAPI
  MgmtAPI -->|"HMAC webhook"| CloudAPI
  CloudAPI -->|"M2M"| MgmtAPI
  Edge -->|"claim and commands"| CloudAPI
  Edge -->|"POST /v1/ingest"| Ingest
  Website -.-> PublicDocs
  Website -.-> InternalDocs
PackagePathUsed by
licensingpackages/licensing/Cloud Backend, Management Backend

CI/CD pipeline definitions live alongside each service (typically azure-pipelines.yml or pipelines/).