Deployment view
- Shows: What runs in one stage of an ecosystem, how many of each, on which database servers, and who calls whom there.
- Drawn for: a stage of an ecosystem, one view each.
- In the viewer's picker: under Deployment.
- As a file:
kq svg --env <path>, andkq pngthe same way.
Reading it
What runs in one stage of an ecosystem: PRD, TST or any other it declares. It is offered for every stage an ecosystem declares, and draws only what states that stage. Kanoniq never guesses where something runs.
- Each part that runs there carries its number of instances in a badge on its lower edge,
×8; a user interface carriesper device. A component inside a deployable module or a monolith that says nothing of its own is drawn inside it, unbadged, since it runs where its holder does. - What it runs on frames it: networks, hosts, app platforms and platform services that state the stage are drawn too, and each box sits inside what it runs on, else inside its network, else in the ecosystem. A VM sits inside its physical server, and a component on a cluster inside the cluster, its type line naming its platform, Backend · in Retail. A part that states no host keeps its platform or monolith as its frame. Domains and storages are not drawn.
- A host's installations are a row at its foot, under what runs on it, each reading its name and version, Windows Server 2016.
- Hosts, app platforms and platform services carry their badges too; a scale set's range reads
×2..10. DNS names and certificates are boxes too. A line joins two linked networks, labeled with the kind of link; a gateway to what it forwards to and to the interfaces it publishes; a platform to what it uses; a DNS name to what it points at; and a certificate to what serves it and the vault it is stored in. A call through a gateway is drawn through the gateway, from the caller to the gateway and on to the target. - Database servers are drawn with their badges. A line from a server to the component whose storage it hosts is labeled with the storage's code, and a line from a primary to its replica with
failover. - Brokers are drawn with their badges. Their channels fold into the lines through them unless you turn channels on.
- Turn boundaries on, and a line that crosses a trust boundary in this stage carries its mark where it leaves its source's network or ecosystem.
- A call that leaves the stage ends on a faded box saying where that end runs instead, runs in DEV, TST or no environment stated, with its ecosystem's name first when it is another one's.
- The footer counts the ecosystem's parts that say nothing about where they run, 14 parts state no environment, and the parts drawn that name no host, 9 parts state no host. That is information, not a warning.
Collapse a platform, monolith, network, host or app platform, and it carries the sum of the counts inside it unless it has its own; a collapsed host hides its installations. Interface detail works as on the whole model; lenses and focus don't apply. On a transition, a part that starts or stops running in the stage is marked as arrived or gone, and a changed count reads old to new, ×4 → ×8.
The diagram in words
Meridian Rail · Deployment view · PRD
Boxes
- Meridian Rail (Ecosystem)
- Crew Rostering (Monolith: Custom): ×1
- Roster engine (Backend): ×2
- Duty builder (Backend)
- Crew portal (Module: Deployable): ×2
- Crew web (User-facing app)
- Scheduler (Module: Deployable): ×1
- Copy train services (Job)
- Notify duty changes (Job)
- Publish next week's rosters (Job)
- Close the month's hours (Job)
- Check rest between duties (Job)
- Reload all train services (Job)
- Rebuild all duties (Job)
- Production VNet (Network: vnet)
- Azure SQL - Primary (Db Server: azure.sql-managed-instance): ×1
- Azure SQL - Secondary (Db Server: azure.sql-managed-instance): ×1
- Azure SQL - Elastic (Db Server: azure.sql-database): ×1
- Journey planner VMs (Host: azure.vm-scale-set): ×2..10
- Journey planner (Backend): ×3
- Journeys (GraphQL API)
- Ubuntu 24.04 (Installation: os)
- Journey planner (Backend): ×3
- AKS production (App Platform: azure.aks): ×1
- AKS ingress (Gateway: ingress): ×1
- Payment hub (Backend): ×3
- Payments (HTTP API)
- payment-events (HTTP API)
- Refund worker (Backend): ×1
- Timetable Service (Backend): ×2
- timetable-feed (gRPC API)
- Timetable API (HTTP API)
- Train Tracker (Backend): ×3
- Live positions (WebSocket API)
- Departure boards (Backend): ×2
- Live departures (SignalR hub)
- Web shop (User-facing app): ×4
- Web shop (SPA): per device
- Retail BFF (Backend): ×4
- Retail API (HTTP API)
- Fare engine (Backend): ×2
- Quotes (gRPC API)
- Functions (App Platform: azure.functions): ×1
- Revenue exporter (Integration): ×1
- Notifier (Integration): ×1
- API Management (Gateway: azure.api-management): ×1
- NAT gateway (Gateway: azure.nat-gateway): ×1
- sql-live.privatelink.database.windows.net (Dns: azure.private-dns)
- sql-pool.privatelink.database.windows.net (Dns: azure.private-dns)
- kv-meridian.privatelink.vaultcore.azure.net (Dns: azure.private-dns)
- apim-meridian.privatelink.azure-api.net (Dns: azure.private-dns)
- functions.privatelink.azurewebsites.net (Dns: azure.private-dns)
- Key vault (Vault: azure.key-vault): ×1
- Hub (Network: azure.virtual-wan)
- Depot LAN (Network: lan)
- Depot servers (Host: physical): ×2
- TIX server (Host: vm): ×1
- TIX (Monolith: COTS): ×1
- TIX booking API (HTTP API)
- Booking office terminal (Desktop App): per device
- Windows Server 2012 R2 (Installation: os)
- TIX (Monolith: COTS): ×1
- Maintenance management (COTS): ×1
- maximo-api (HTTP API)
- Windows Server 2022 (Installation: os)
- TIX server (Host: vm): ×1
- Ticket machines (Host: device): ×480
- Ticket machine (Desktop App): per device
- Depot servers (Host: physical): ×2
- Container registry (Registry: azure.container-registry): ×1
- Functions storage (Storage Account: azure.storage-account): ×1
- Public web content (Storage Account: azure.storage-account): ×1
- Live departures (SPA): per device
- Front Door (Gateway: azure.front-door): ×1
- www.meridian-rail.example (Dns: public)
- api.meridian-rail.example (Dns: azure.dns)
- partners.meridian-rail.example (Dns: azure.dns)
- www.meridian-rail.example (Certificate: managed)
- api.meridian-rail.example (Certificate)
- Backups (Backup Vault: azure.backup-vault): ×1
- Log Analytics (Db Server: azure.log-analytics): ×1
- Defender for Cloud (Security Service: azure.defender-for-cloud): ×1
- Sentinel (Security Service: azure.sentinel): ×1
- Customer (Platform)
- CRM (SaaS): context, one relationship away, no environment stated
- crm-api (HTTP API): context, one relationship away
- Contact centre (SaaS): context, one relationship away, no environment stated
- Mail relay (SaaS): context, one relationship away, no environment stated
- SMTP (Mail API): context, one relationship away
- CRM (SaaS): context, one relationship away, no environment stated
- Fleet (Platform)
- On-train unit (COTS): context, one relationship away, no environment stated
- Telemetry ingest (Integration): ×2
- Identity (Platform)
- Staff directory (SaaS): context, one relationship away, no environment stated
- Directory (LDAP API): context, one relationship away
- Traveller identity (SaaS): context, one relationship away, no environment stated
- Sign-in (HTTP API): context, one relationship away
- Staff directory (SaaS): context, one relationship away, no environment stated
- Integration (Platform)
- API gateway (SaaS): ×2
- Partner API (HTTP API)
- API gateway (SaaS): ×2
- Observability (Platform)
- Monitoring (SaaS): ×1
- SNMP traps (SNMP API)
- Monitoring (SaaS): ×1
- Operations (Platform)
- Station screen (Desktop App): per device
- Screen controller (COTS): ×1
- Display panel (IPC API)
- Live departures site (User-facing app): ×2
- Retail channels (Platform)
- Meridian app (Mobile App): per device
- Agent portal (User-facing app): ×2
- Robotic process automation (Monolith: COTS): ×1
- Refund reader (Robot)
- Refund booker (Robot)
- Crew Rostering (Monolith: Custom): ×1
- PayCore Payments (Ecosystem)
- Payment gateway (Platform)
- Checkout API (SaaS): context, one relationship away, PayCore Payments · no environment stated
- Payments (HTTP API): context, one relationship away
- Webhook sender (SaaS): context, one relationship away, PayCore Payments · no environment stated
- Checkout API (SaaS): context, one relationship away, PayCore Payments · no environment stated
- Payment gateway (Platform)
- National Rail Authority (Ecosystem)
- Settlement (Platform)
- Clearing house (COTS): context, one relationship away, National Rail Authority · no environment stated
- Settlement (Platform)
Lines
- Crew web → Roster engine: connection, in-process
- Roster engine → Duty builder: connection, in-process
- Copy train services → Roster engine: connection, in-process
- Notify duty changes → Roster engine: connection, in-process
- Publish next week's rosters → Roster engine: connection, in-process
- Close the month's hours → Roster engine: connection, in-process
- Check rest between duties → Roster engine: connection, in-process
- Reload all train services → Roster engine: connection, in-process
- Rebuild all duties → Duty builder: connection, in-process
- Roster engine → Timetable API: connection, HTTP/XML
- Roster engine → Directory: connection, LDAP · kerberos
- Contact centre → crm-api: connection, HTTP/JSON
- CRM → SMTP: connection, E-mail
- Payment hub → NAT gateway: connection, HTTP/JSON · key
- NAT gateway → Payments: connection, HTTP/JSON · key
- Payment hub → Notifier: connection, Storage queues, 2 relationships
- Refund worker → Payments: connection, HTTP/JSON · workload-identity
- Refund worker → CRM: connection, Service Bus Namespace, 2 relationships
- Refund worker → Notifier: connection, Service Bus Namespace, 2 relationships
- Revenue exporter → Payments: connection, HTTP/JSON · client-credentials
- Revenue exporter → Key vault: connection, HTTP · client-credentials
- Revenue exporter → Clearing house: connection, 2 relationships
- On-train unit → Telemetry ingest: connection, Event Hub, 2 relationships
- On-train unit → SNMP traps: connection, SNMP
- Telemetry ingest → maximo-api: connection, HTTP/JSON
- Telemetry ingest → Train Tracker: connection, Kafka, 2 relationships
- Telemetry ingest → Departure boards: connection, Kafka, 2 relationships
- Telemetry ingest → Maintenance management: connection, 2 relationships
- Maintenance management → Train Tracker: connection, Event Grid, 2 relationships
- API gateway → AKS ingress: connection, HTTP/JSON
- AKS ingress → Retail API: connection, HTTP/JSON
- Notifier → SMTP: connection, E-mail
- Station screen → Live departures: connection, SignalR · none
- Live departures site → Live departures: connection, SignalR · none
- Departure boards → Live positions: connection, WebSocket
- Station screen → Display panel: connection, IPC
- Train Tracker → Departure boards: connection, Kafka, 2 relationships
- Web shop → Front Door: connection, HTTP/JSON · user-token
- Front Door → Retail API: connection, HTTP/JSON, 3 relationships
- Meridian app → Front Door: connection, HTTP/JSON · user-token
- Ticket machine → Front Door: connection, HTTP/JSON · certificate
- Agent portal → API Management: connection, HTTP/XML
- API Management → Partner API: connection, HTTP/XML
- Agent portal → Sign-in: connection, HTTP · client-credentials
- Web shop → Contact centre: connection, E-mail, 2 relationships
- Retail BFF → Journeys: connection, GraphQL
- Retail BFF → Quotes: connection, gRPC
- Retail BFF → TIX booking API: connection, Book a journey, HTTP
- Retail BFF → Payments: connection, HTTP/JSON · client-credentials
- Retail BFF → Key vault: connection, HTTP · client-credentials
- Retail BFF → crm-api: connection, HTTP/JSON · on-behalf-of
- Retail BFF → Refund worker: connection, Service Bus queues, 2 relationships
- Journey planner → timetable-feed: connection, gRPC
- Journey planner → Live positions: connection, WebSocket
- Refund reader → Booking office terminal: connection, UI
- Refund reader → Refund booker: connection, RPA queues, 2 relationships
- Refund booker → Booking office terminal: connection, UI
- TIX → Payments: connection, HTTP/XML
- TIX → SNMP traps: connection, SNMP
- TIX → Payment hub: connection, 2 relationships
- Webhook sender → payment-events: connection, HTTP/JSON
- Azure SQL - Primary → Azure SQL - Secondary: replication, failover
- Azure SQL - Primary → Crew Rostering: hosting, roster-db
- Azure SQL - Secondary → Crew Rostering: hosting, roster-db
- Azure SQL - Primary → Payment hub: hosting, payments-db
- Azure SQL - Secondary → Payment hub: hosting, payments-db
- Azure SQL - Primary → Maintenance management: hosting, maximo-db
- Azure SQL - Secondary → Maintenance management: hosting, maximo-db
- Azure SQL - Primary → Timetable Service: hosting, timetable-db
- Azure SQL - Secondary → Timetable Service: hosting, timetable-db
- Azure SQL - Elastic → Agent portal: hosting, agency-db
- Azure SQL - Primary → Fare engine: hosting, fare-db
- Azure SQL - Secondary → Fare engine: hosting, fare-db
- Azure SQL - Primary → TIX: hosting, tix-db
- Azure SQL - Secondary → TIX: hosting, tix-db
- Hub → Production VNet: link, peering
- Hub → Depot LAN: link, vpn
- AKS production → Container registry: uses, uses
- Functions → Functions storage: uses, uses
- Front Door → AKS ingress: forwards to
- Front Door → Public web content: forwards to
- Front Door → Retail API: publishes, publishes
- AKS ingress → AKS production: forwards to
- AKS ingress → Retail API: publishes, publishes
- API Management → AKS ingress: forwards to
- API Management → Partner API: publishes, publishes
- www.meridian-rail.example → Front Door: dns
- api.meridian-rail.example → Front Door: dns
- partners.meridian-rail.example → API Management: dns
- sql-live.privatelink.database.windows.net → Azure SQL - Primary: dns
- sql-pool.privatelink.database.windows.net → Azure SQL - Elastic: dns
- kv-meridian.privatelink.vaultcore.azure.net → Key vault: dns
- apim-meridian.privatelink.azure-api.net → API Management: dns
- functions.privatelink.azurewebsites.net → Functions: dns
- Front Door → www.meridian-rail.example: serves, serves
- AKS ingress → api.meridian-rail.example: serves, serves
- api.meridian-rail.example → Key vault: stored in, stored in
- Sentinel → Log Analytics: uses, uses
In the viewer's picker, a deployment view is under Deployment, by its ecosystem's name and the stage. On the command line it is kq svg --env <path>, such as kq svg --env shop/PRD; see kq svg.
© 2026 Extenza Works. All rights reserved.