Skip to main content
Version: 0.4.1

Technology

Say where each system runs and what hosts its data.

Environments and database servers​

An environment is one of six fixed stages, DEV, TST, ACC, UAT, EPH and PRD, read as Development, Test, Acceptance, User acceptance, Ephemeral and Production. The ecosystem declares the ones it uses, once, shared by all its platforms and monoliths. A component, a deployable module, a monolith or a broker says which stages it runs in, and how many instances; a user interface says only which, since it runs on each user's device; devices your organization places, such as ATMs, are a host that says how many. A part runs only where what holds it runs. A part may run in one stage on several hosts or platforms, each with its own count, which is how a stage spans regions. A part that says nothing about environments is not placed anywhere by default.

A database server is a database engine, technology drawn in green like a broker. Its kind is the engine, such as postgresql, or a provider's product word, such as azure.sql-database, and it runs as the rest of the infrastructure does. It runs in one stage and may hold pools, capacity its databases share. A storage names the servers it is hosted on, and the pool it is in, and runs where they do, and a replica names its primary, as a failover. Replication between two servers is not a sync: a sync copies entities between components.

Infrastructure​

The infrastructure is what parts run on and requests pass through, each element in one stage. It is written out, element by element; nothing is assumed from a product you didn't name.

Infrastructure elementUse it for
Data centerA building your organization or a colocation supplier runs, in a country, holding every stage, with its own zones
NetworkA private network, vnet, vpc, lan, or a hub the others attach to
HostA machine your organization runs: a vm, a physical server, or a device such as an ATM. A scale set is one host whose count is a range
InstallationSoftware installed on a host: an os, a runtime, an sdk, a web-server or middleware, in its host's stage. A host's operating system is one
App platformWhere application code runs: kubernetes, app-hosting, functions, containers, workflows, data-pipelines, static-sites, ci-runners
Database serverA database engine, with its pools
GatewaySomething requests pass through: an api-gateway, a load balancer, an edge, an ingress, a firewall, a nat, a bastion. It names the APIs it publishes and what it forwards to
DNS recordA host name pointing at an endpoint, in a public or a private zone
CertificateA TLS certificate, by its subject: who issued it, how often it is rotated and the vault it is stored in, or managed by what serves it
Storage accountWhat a provider bundles under one account: its blob, file and table storages and its queues. A bucket, such as aws.s3, is a storage account holding one storage
VaultWhere secrets, keys and certificates are kept, the ones its kind holds
RegistryRepositories of packages and images, each with its format, such as oci or npm
AI platformWhere the model deployments your systems call run
Backup vaultWhere backups are kept. A storage, a host or a database server says it is backed up there, and for how long
Security serviceWhat watches the stages it covers: posture, threat-detection, vulnerability-scanning, siem
  • A kind is a generic kind or a provider's product word. A product word, such as azure.postgresql or aws.rds.postgresql, names the product in its provider's namespace and fixes its generic kind and how it runs, so a policy on postgresql reaches it. A product with no word of its own is the generic kind, with the product in technology.
  • A platform service states how it runs: paas, run by its provider, or on a host or app platform of your own. App platforms, database servers, gateways, brokers, storage accounts, vaults, registries, AI platforms, backup vaults and security services are platform services. Neither way is a default: one that states neither says nothing about how it runs, which is an error for a generic kind (KQ261).
  • A link joins two networks of one stage, a relationship of kind peering, vpn, private-link or dedicated: linked networks reach each other, and nothing more is said about routing.
  • in places a host or a platform service in a network, and public makes it reachable from the internet as well. A paas element with no in is public.
  • A part says what it runs on in each stage, a host or an app platform, with on on its environment line. A user interface may run on a storage account, as a static site, and an agent on an AI platform.
  • Exposure is worked out, never written; encryption in transit is worked out unless you state it. Whether an endpoint is reachable from the internet, Kanoniq reads from where it and the gateways publishing it are placed. Whether what reaches it is encrypted, it reads from what an API or a broker states with in-transit (Interface), else from the certificates served, the transports that take no plaintext and the calls made with auth certificate, for your policies.
  • Where something runs is a location and its zones. A network, a host or a platform service states its region, a location word such as azure.westeurope, or the data center it is in; what is in a network is where the network is. A part is where what it runs on is, worked out, and a saas component states its own region or country. An environment states none, since one stage may span regions. Zones are the provider's names for the zones an element spans, or zone-redundant where the provider spreads it. Nothing is assumed: where nothing says it, the location is unstated.

Subnets, security groups and route tables are not modeled. See Writing infrastructure for how to write each, and Infrastructure for the rules.

Writing environments and database servers​

ecosystem big-bank "Big Bank plc" { environments DEV, PRD db-server db-live "Oracle - Primary" technology "Oracle 12c" environment PRD x1 db-server db-standby "Oracle - Secondary" technology "Oracle 12c" environment PRD x1 replica of db-live failover monolith internet-banking "Internet Banking System" : custom { module api-tier "API tier" : deployable technology "Java and Spring MVC" { environment PRD x8 environment DEV x1 component api "API Application" : backend { sql database "Database" on db-live, db-standby } } spa web-ui "Single-Page Application" technology "JavaScript and Angular" { environment PRD } } }
  • environments names the stages the ecosystem uses, once, shared by every platform and monolith in it. A stage is one of six, in capitals: DEV, TST, ACC, UAT, EPH and PRD, read as Development, Test, Acceptance, User acceptance, Ephemeral and Production. You can't name one of your own.
  • environment <stage> x<count> says a part runs there, with that many instances: environment PRD x8. Write it in a component, a deployable module, a monolith or a broker, a line per stage, first in the block and on the declaration, not in a reopening (KB007); a grouping module takes none (KB010). A stage may take several lines, each on a different host or platform, environment PRD x2 on aks-weu and environment PRD x2 on aks-neu (KQ295). A user interface takes environment <stage> with no count, in a block of its own, since it runs on each user's device.
  • on <host or app-platform> after the count, or after the stage where there is none, says what the part runs on there: environment PRD x3 on aks-prd, or a client's environment PRD on atms on a device. It may also name a storage account, for a client served from it as a static site, or an AI platform, for an agent built on it. Without on, the line says nothing about what the part runs on.
  • A part runs where what holds it runs. A component in a deployable module or a monolith states only the holder's stages, or none to run wherever its holder does. A user interface in its backend component runs only where that component runs.
  • No environment says nothing. It is not a default, and a model that never mentions environments is complete.
  • A database server is declared in an ecosystem, a platform or a monolith, like a broker, with its one stage and count after environment. Written with its kind, db-server <code> "<name>" : <kind> …, it says how it runs and where, as the rest of the infrastructure does, and takes technology after the count; written with no kind, its product goes after technology, before environment, and it says nothing of how it runs. replica of <server> failover names the primary it replicates, in the same stage. Its block holds its pools, pool <code> "<name>", capacity its databases share, such as an elastic pool.
  • A storage names its servers after its name, with on: database servers, or a storage account. Its component runs in each of those servers' stages. pool <pool> after them names the pool it is in, and backup <backup-vault> retain <period> where it is backed up and for how long: sql orders "Orders" on sql-prd pool shared backup bv-prd retain P35D.

A stage states no location: where something runs is written on the network or the element that is there, as Writing infrastructure says.

Writing infrastructure​

The hosts, platforms, gateways and services your parts run on and your requests pass through, each in one stage:

ecosystem shop "Shop" { environments PRD data-center dc-ams "Amsterdam DC1" country NL technology "Equinix AM3" { zone hall-a } network spoke-prd "Shop production VNet" : vnet location azure.westeurope environment PRD network hub-prd "Hub" : azure.virtual-wan location azure.westeurope environment PRD network dc-lan "DC LAN" : lan location dc-ams environment PRD host web "Web servers" : azure.vm-scale-set in spoke-prd zones 1, 2, 3 environment PRD x2..10 installation ubuntu "Ubuntu" : os on web version "22.04" host vm-db "DB VM" : vm in dc-lan zones hall-a environment PRD x1 host atms "ATMs" : device kiosk environment PRD x2400 app-platform aks-prd "AKS production" : azure.aks in spoke-prd environment PRD x1 technology "AKS 1.30" db-server orders "Orders DB" : postgresql on vm-db environment PRD x1 db-server sql-prd "Orders SQL" : azure.sql-database in spoke-prd zone-redundant environment PRD x1 { pool shared "Shared pool" } gateway apim "API Management" : azure.api-management in hub-prd environment PRD x1 publishes payments/api/rest forwards-to aks-prd waf gateway front "Front Door" : azure.front-door environment PRD x1 forwards-to apim dns api "api.shop.com" : azure.dns -> front environment PRD certificate api-cert "api.shop.com" issuer "DigiCert" rotate P1Y served-by front environment PRD storage-account st-prd "Payments storage" : azure.storage-account in spoke-prd environment PRD x1 { broker queues "Queues" : azure.storage-queue } vault kv-prd "Payments vault" : azure.key-vault in spoke-prd environment PRD x1 registry acr "Container registry" : azure.container-registry in hub-prd environment PRD x1 { repository images oci } ai-platform foundry-prd "Foundry" : azure.foundry in spoke-prd environment PRD x1 { model gpt "GPT-4.1" } backup-vault bv-prd "Backups" : azure.backup-vault location azure.northeurope environment PRD x1 security-service defender "Threat detection" : threat-detection paas environment PRD x1 covers PRD dns sql-dns "orders-sql.database.windows.net" : azure.private-dns in spoke-prd -> sql-prd environment PRD dns storage-dns "paymentsstorage.blob.core.windows.net" : azure.private-dns in spoke-prd -> st-prd environment PRD dns foundry-dns "foundry.openai.azure.com" : azure.private-dns in spoke-prd -> foundry-prd environment PRD dns acr-dns "shopacr.azurecr.io" : azure.private-dns in hub-prd -> acr environment PRD dns vault-dns "paymentsvault.vault.azure.net" : azure.private-dns in spoke-prd -> kv-prd environment PRD dns apim-dns "shop.azure-api.net" : azure.private-dns in hub-prd -> apim environment PRD platform payments "Payments" { component genesys "Genesys Cloud" : saas location aws.eu-central-1 component api "Payments API" : backend { environment PRD x3 on aks-prd http-api rest "Payments API" sql payments "Payments" on sql-prd pool shared backup bv-prd retain P35D blob receipts "Receipts" on st-prd } api -> foundry-prd/gpt over http auth workload-identity } link hub-prd <-> spoke-prd : peering }

The infrastructure is declared in an ecosystem, and so is a data-center. An app-platform, a db-server, a gateway, a storage-account, a vault, a registry, an ai-platform, a backup-vault and a security-service may also be declared in a platform or a monolith, as a broker is. Each states its one stage on its own line, environment <stage> with its count where it has one, never in a block. Each is declared once and never reopened. Its clauses come in this order:

DeclarationAfter the nameAfter the stage
data-center <code> "<name>"country <cc>, technology "<text>", its block of zonesit states no stage
network <code> "<name>": <kind>, locationddos
host <code> "<name>": <kind>, a device's word, on <host>, in <network>, public, location, zones or zone-redundantits count, technology "<text>", backup
installation <code> "<name>": <kind>, on <host>it states no stage
app-platform <code> "<name>": <kind>, how it runs, in <network>, public, location, zones or zone-redundantits count, technology, uses
db-server <code> "<name>": <kind>, how it runs, in <network>, public, location, zones or zone-redundantits count, technology, replica of, uses, backup, its block of pools and brokers
gateway <code> "<name>": <kind>, how it runs, in <network>, public, location, zones or zone-redundantits count, technology, uses, publishes, forwards-to, waf, ddos
dns <code> "<name>": <zone>, in <network>, -> <endpoint>nothing
certificate <code> "<name>"issuer "<text>", then managed, or rotate <period> and stored-in <vault>, then served-by <endpoint>, …nothing
storage-account <code> "<name>": <kind>, how it runs, in <network>, public, location, zones or zone-redundantits count, technology, uses, its block of brokers
vault <code> "<name>", backup-vault <code> "<name>": <kind>, how it runs, in <network>, public, location, zones or zone-redundantits count, technology, uses
registry <code> "<name>": <kind>, how it runs, in <network>, public, location, zones or zone-redundantits count, technology, uses, its block of repositories
ai-platform <code> "<name>": <kind>, how it runs, in <network>, public, location, zones or zone-redundantits count, technology, uses, its block of model deployments
security-service <code> "<name>": <kind>, how it runs, on a database server too, in <network>, public, location, zones or zone-redundantits count, technology, uses, covers <stage>, …
  • The kind follows :: a generic kind, such as vm or postgresql, or a provider's product word, kebab-case words joined by dots, such as azure.postgresql or aws.rds.postgresql, which fixes what the element is and how it runs. Neither is a reserved word, so vm or edge stays a Code you can use. A word that is neither, for the element it follows, is KB079. A host of kind device says what it is with a second word, : device kiosk.
  • How a platform service runs follows its kind: paas, run by the provider, or on <host or app-platform>, run on your own. Neither is a default; a generic kind that states neither is KQ261. A product word already says how it runs, so paas after one is KQ262. A host may run on another host, a VM on a physical server.
  • in <network> places a host or a platform service in a network, reached there by a private endpoint where the provider runs it; public after it says it is reachable from the internet too.
  • location <region or data center> says where an element is: a region, as its provider spells it in its namespace, azure.westeurope, aws.us-east-1, gcp.europe-west4, or a data-center by its Code. A region the registry doesn't hold is KB089. A network states it where it is regional, and an element in it states none of its own (KQ292); a host or a platform service in no network, or in one that states none, states its own. A saas component or monolith states its own after its kind, component genesys "Genesys Cloud" : saas location aws.eu-central-1, or country <cc> where its vendor gives only a country. Any other component states none: it is where what it runs on is.
  • zones <zone>, … names the zones a host or a platform service spans, in its provider's names, zones 1, 2, 3 in Azure, euw1-az1 in AWS, europe-west4-a in GCP, or its data center's own; each is one its location has (KQ293). zone-redundant says the provider spreads it without you naming them, and takes no zones (KQ294).
  • A data-center is a building, data-center dc-ams "Amsterdam DC1" country NL technology "Equinix AM3", its country two capitals (KB085) and technology the facility. It holds every stage, so it states no environment; its block declares its zones, zone hall-a, one a line.
  • An installation is software installed on a host: installation jre "Java" : runtime on vm-db version "17". Its kind is os, runtime, sdk, web-server or middleware, and on <host> is mandatory: one with none, or on anything but a host, is KQ266. It is declared where its host is, and states no environment and no count: it is in its host's stage, with its host's count. Nothing is deployed on an installation; a component runs on the host beside it. A host has no os: its operating system is an installation of kind os.
  • A host's count may be a range, x2..10, for a scale set or an autoscaling group. Only a host takes one. A network, a DNS record and a certificate state their stage with no count.
  • uses <element>, … names a part a platform service needs itself, such as the storage account a Functions app needs, not one its components call. What an element names stays in its stage, a registry aside (KQ259).
  • A gateway publishes the APIs it exposes and forwards-to gateways, hosts and app platforms. waf says it filters requests with a web application firewall, and ddos, on a gateway or a network, that it has DDoS protection beyond the provider's base. A call names the gateway it goes through with via (see Connections).
  • A dns record's name is its host name. Its zone, public, private or a product word, follows :, and -> names what it points at: a gateway, a host, a platform service or an API. A private zone states in <network> (KQ260).
  • A certificate's name is its subject. managed says what serves it also issues, stores and renews it, so it takes no rotate and no stored-in. served-by names what serves it.
  • A storage-account holds what its provider bundles: a blob, file or table storage names it after on, as it names a database server, and its block holds its queue broker. A bucket, aws.s3 or gcp.cloud-storage, is a storage account holding one storage. A client served from it as a static site names it on its environment line: environment PRD on web-bucket.
  • A vault is what a credential and a certificate are stored-in. A call to it lands on it, orders -> kv-prd over http auth workload-identity.
  • A registry's block holds its repositories, repository <code> ["<name>"] <format>, the format one of oci, npm, nuget, maven, pypi, go, cargo, rubygems, swift, helm, terraform, apt, yum and generic.
  • An ai-platform's block holds its model deployments, model <code> "<name>", named after the model. A call lands on a deployment by its path, api -> foundry-prd/gpt over http, and an agent built on the platform is a component whose environment line names it after on.
  • backup <backup-vault> retain <period>, on a host, a database server or a storage, says where it is backed up and for how long.
  • A security-service of kind posture, threat-detection, vulnerability-scanning or siem names the stages it watches with covers <stage>, …; a siem runs on the database server that is the log store it reads.
  • link <network> <-> <network> : <kind> joins two networks of one stage, in an ecosystem's block, after its declarations. It has no Code; a - before it removes it in a later plateau.

A product the registry has no word for is the generic kind, with the product in technology. See Infrastructure for what each element means.

Writing the life cycle​

A component, a monolith, a host, an installation and every platform service may say where it is in its life, what you intend for it, its version and its vendor's dates. A network, a link, a DNS record and a certificate state none. Moving an ERP to a new stack:

host erp-old "ERP VM, old stack" : vm in dc-lan environment PRD x1 status phasing-out future replace successor erp-new installation win2016 "Windows Server" : os on erp-old version "2016" status phasing-out end-of-extended-support 2027-01-12 db-server erp-db "ERP DB" : sql-server on erp-old environment PRD x1 version "2016" status phasing-out end-of-extended-support 2026-07-14 installation jre11 "Java" : runtime on erp-old version "11" host erp-new "ERP VM, new stack" : vm in dc-lan environment PRD x1 status building installation win2022 "Windows Server" : os on erp-new version "2022" db-server erp-db-new "ERP DB" : sql-server on erp-new environment PRD x1 version "2022" platform finance "Finance" { component erp "ERP" : cots version "7.2" status phasing-out contract-end 2027-06-30 { environment PRD x1 on erp-old } }

A monolith states them after its kind and marks. A bought system with no inner structure, to be replaced:

monolith tix "TIX" : cots idp version "4.2" status active future replace { environment PRD x1 }

Each clause is optional and written once, at the end of the declaration's header and before its block, in this order:

ClauseTakes
version "<text>"The product's version as its vendor writes it: version "2016", version "11.0.22"
status <status>Where it is now, one of the statuses below
future <future>What you intend for it, one of the futures below
successor <element>The element that takes its place
end-of-mainstream-support <date>The day the vendor stops adding fixes and features
end-of-extended-support <date>The day the vendor stops all support, security fixes included
contract-end <date>The day a license, subscription or support contract ends
StatusMeans
proposedRequested or considered, not approved
plannedApproved and scheduled, work not started
buildingBeing built, implemented, configured, onboarded or installed
pilotLimited use to validate fit
activeIn production and supported by your organization
phasing-outStill running, closed to new use, being replaced or removed
retiredSwitched off; its data archived or migrated
FutureMeans
investGrow, modernize, add capability
maintainKeep as is, fix and patch only
migrateKeep the capability, change what runs it: a newer version, platform or host
replacePut another product or service in its place
retireRemove it with no successor

Nothing has a default: an element that states no status says nothing, and an absent future is undecided.

  • A version is the vendor's text, which Kanoniq doesn't parse or order, not a call's v1. A component has one version: a new major version that runs beside the old one is a second component, linked by successor.
  • Legacy is not a status: it is an active element whose future is migrate, replace or retire.
  • A component in a monolith states its own clauses and inherits none of its monolith's: one that states no status says nothing. It lives within its monolith, though: one that isn't retired and is held in a retired monolith is an error (KQ263), and its end-of-support notice is answered by its monolith's answer as well as its own.
  • A successor goes with replace or migrate, is of the element's own type, except that a monolith's may be a component and a component's a monolith, and is not the element itself (KQ265). Nothing that isn't retired runs, is deployed, installed or hosted on, uses or calls a retired element (KQ263), a phasing-out element's future is not invest (KQ264), and extended support doesn't end before mainstream support (KQ267).
  • The end-of-support notice reports an element that isn't retired whose end-of-extended-support or contract-end is past or close, unless the model already answers it: its status is phasing-out, or its future replace, migrate or retire. Two settings in kanoniq.repository.json say how close: within end-of-support-warning, 12 months unless you set it, it is a lint (KQ123); within end-of-support-error it is an error (KQ268). The error is off unless you set it; kq init writes it as 6m. Each is "<months>m" or false.
  • The notice counts from the day it runs, so once a date comes within the error period, a model that passed fails with no edit. See Life cycle for the rules.

Suppliers and contracts​

domain operations "Operations" { function-group run-timetable "Run the timetable" critical function-group roster-crew "Roster crew" } supplier genesys "Genesys Cloud Services, Inc." headquarters US { contract genesys-cx "Genesys Cloud subscription" number "MR-2024-118" starts 2024-04-01 ends 2027-03-31 notice P90D supplier-notice P180D law IE covers @customer/contact-centre { subcontractor aws subcontractor equinix under aws } } supplier aws "Amazon Web Services EMEA SARL" headquarters LU supplier equinix "Equinix (Germany) GmbH" headquarters DE supplier crew-agency "Rail Crew Services Ltd" headquarters GB { contract crew-cover "Crew cover" ends 2028-12-31 notice P90D via operations/roster-crew }

A supplier is a company or person you obtain ICT services from, named by its legal name. Write it in the ecosystem that contracts with it, which holds it, and its contracts in its block. Its parts, each optional, in this order:

PartMeans
lei "<identifier>"Its Legal Entity Identifier, 20 characters
headquarters <country>The country of its head office
parent <supplier>The supplier that is its ultimate parent, declared in the same ecosystem
is <ecosystem>The ecosystem of your model that this supplier is, for a company of your own group; its contracts are then intra-group, and may cover that ecosystem's elements
is <ecosystem>/<legal entity>The legal entity of another ecosystem that this supplier is, written as a path; the supplier reads its LEI and headquarters from it and states neither, and its contracts are intra-group as above

A contract is an agreement under which its supplier provides ICT services. Its parts, in this order:

PartMeans
number "<text>"Your reference for it
signed-by <legal entity>The legal entity of the ecosystem that signed it
starts <date>, ends <date>Its first and last day; an open-ended contract states no ends
notice <period>The period you must give to end it, such as P90D
supplier-notice <period>The period the supplier must give
law <country>The country whose law governs it
transfer <ground>, …The grounds on which personal data goes to the supplier outside a transfer regime: adequacy, scc, bcr, code-of-conduct, certification, ad-hoc-clauses or public-instrument, GDPR Chapter V's, each once
covers <element>, …The components and monoliths of any kind, hosts, installations and platform services it provides
via <work>, …The domains, function groups or functions it supports where nothing that runs stands for its work, such as an outsourced service

A contract states covers, via or both. A transfer regime is a residency your repository declares with its adequate countries in its settings. A ground outside the list is KB092, one listed twice is KQ405, and none of the grounds is reserved, so scc stays a legal code. A country is its two-letter ISO 3166-1 code in capitals, such as IE; any other is KB085, and no country code is reserved, so de stays a legal code. A contract's block holds its subcontractors, one line each, naming a supplier of the ecosystem, with under the supplier it works for where that isn't the contract's own: the chain may run as deep as it goes. A contract is always written whole, so a later plateau restates it by declaring it again. kq arrange writes an ecosystem's suppliers, with their contracts, in suppliers.kq.

critical marks a domain, a function group or a function whose disruption would materially impair your organization. It follows the name and the organization's code, before a domain's subdomain type, and everything under a critical domain or function group is critical too. No word says that something isn't.

The contract end moves to the contract. An element a contract covers states no contract-end of its own (KQ286): it reads the earliest ends of the contracts covering it, which a policy's contract-end reads too. The end-of-support notice reads a contract's ends the same way it reads an element's dates, and reports the contract, unless everything it covers is already answered; a contract with only via never is (KQ123, KQ268).

Everything else is read from the model. Select a contract and the information pane lists, under Computed, the functions it supports, those its covered elements realize, or the platform, monolith or module holding one, and for a host, an installation or a platform service those of what runs on it, plus what via names; whether it is critical, each critical function it supports; its chain, each supplier with its rank, its own supplier first; whether it is intra-group; and the data its services hold, with its highest confidentiality and personal data and the stages it runs in. Select a supplier and it lists whether it is critical, by its own contracts or by being in a critical contract's chain, its contracts, the contracts it is a subcontractor in, what they cover and the critical functions they support, and the countries those store data in and process it in. A covered element lists its contracts and its contract end, and a data use's processors name their suppliers, with the subcontractors as sub-processors.

What is checked. A contract covering another ecosystem's element, unless its supplier is that ecosystem (KQ284), a via into another ecosystem (KQ285), ends before starts (KQ287), a subcontractor chain that doesn't hang from the contract's supplier (KQ288), a parent that isn't another supplier of the ecosystem, or loops (KQ289), is naming the supplier's own ecosystem (KQ290), a malformed lei (KQ291) and lei or headquarters on a supplier that is a legal entity (KQ403) are errors. Once an ecosystem holds a contract, a saas or cots component or monolith no contract covers (KQ129), a contract supporting a critical function with no ends or notice (KQ130) and a contract supporting no function (KQ131) are lints, as is is naming an ecosystem that holds two or more legal entities, which doesn't say which company supplies (KQ135).

legal-entity aurora-uk "Aurora Payments Ltd" lei "984500AURORAPAY0GB58" headquarters GB legal-entity aurora-eu "Aurora Payments Europe UAB" headquarters LT parent aurora-uk { branch berlin "Aurora Payments Europe UAB, Berlin branch" in DE } platform platform-cards "Card Services" for aurora-eu, aurora-eu/berlin { component card-management "Card management" : backend card-management realizes cards/manage-cards } supplier marqeta "Marqeta Inc" headquarters US { contract card-processing "Card issuing platform" signed-by aurora-eu starts 2024-06-01 covers platform-cards/card-management }

A legal entity is a legal person whose work an ecosystem does, named by its legal name. An ecosystem is a landscape, not a company: one ecosystem may do the work of several entities, so write each entity in the ecosystem whose landscape serves it, and its branches in its block. Its parts, each optional, in this order:

PartMeans
lei "<identifier>"Its Legal Entity Identifier, as on a supplier
headquarters <country>The country of its registered office
parent <legal entity>Its direct parent undertaking, which may be in another ecosystem: the group is the tree these draw

A branch is a place of business of its legal entity in a country, with no legal personality of its own: its name, an optional branch-code "<text>" for the entity's code for it, then in <country>, another than its entity's headquarters. kq arrange writes an ecosystem's legal entities, with their branches, in legal-entities.kq.

for says whose work a platform or a monolith does. It follows the name and the context marks and names legal entities or branches of the same ecosystem; a branch stands for its entity too. An ecosystem with one legal entity needs no for: everything in it does that entity's work. It is said on the platform, not the function, so one function realized by two platforms for two entities is performed for both. A contract's signer is the ecosystem's only legal entity, or the one signed-by names, and the entities and branches using it are read from what it covers.

Everything else is read from the model. Select a legal entity and the information pane lists, under Computed, its ultimate parent and the rest of its group, its branches, the platforms and monoliths doing its work, the functions they realize, and the contracts it signs and uses. A platform lists whose work it does, a function whom it's performed for, and a contract its signer and its users.

What is checked. A parent that isn't another legal entity, or loops (KQ298), two entities with one lei (KQ299), for naming another ecosystem's entity (KQ400), signed-by naming another ecosystem's entity (KQ401) and, in an ecosystem with two or more legal entities, a contract with no signed-by (KQ402) are errors; there, a platform or monolith with no for is a lint (KQ134), and so is a branch in its own entity's headquarters country (KQ136). A malformed lei is KQ291, as on a supplier.

Reference​

The element types, relationships and kinds of this area, each with what it means.

Element types

Element typeWhat it is
EnvironmentAn Environment is one stage an Ecosystem's parts run in, such as PRD or DEV, declared once in the Ecosystem and shared by all its Platforms and Monoliths. Its name is the stage's fixed reading, such as Production.
Data CenterA Data Center is a building the organization or a colocation supplier runs, in a country, holding every stage. A Network, a Host or a platform service in it names it as its location, and its zones are its own.
NetworkA Network is a private network the organization runs or rents, in one Environment, such as a VNet, a VPC or a data center's LAN. Hosts and platform services sit in it, and where it is regional, where it is is where they are.
HostA Host is something the organization runs, in one Environment: a virtual machine, a set of them run as copies of one, a physical server, or a device it places for people to use. Parts are deployed on it, and software is installed on it.
InstallationAn Installation is a version of a product installed on a Host: an operating system, a runtime, an SDK, a web server or middleware. It is in its Host's Environment, and a Component is deployed on the Host beside it.
App PlatformAn App Platform is where application code runs, in one Environment: application PaaS such as an App Service plan or a Functions app, or a self-run scheduler such as Kubernetes. Components are deployed on it.
Db ServerA DbServer is a database engine, software on a Host or run by the provider, that hosts Storages in one Environment. Its pools are capacity inside it that databases name.
Db PoolA DbPool is capacity inside its DbServer that several databases share, such as an elastic pool. A Storage hosted on the server names the pool it is in.
GatewayA Gateway is something requests pass through on their way, in one Environment: an API gateway, a load balancer, an edge, an ingress, a firewall, a NAT or a bastion. It publishes Interfaces and forwards to what is behind it.
DnsA Dns record is a host name, its name, in a public or private zone, pointing at an endpoint, in one Environment.
CertificateA Certificate is a TLS certificate, its name its subject, that endpoints serve in one Environment.
Storage AccountA Storage Account holds Storages of kind blob, file and table, hosted on it, and a queue Broker, in one Environment, stating its network placement once. A bucket is one holding exactly one Storage.
VaultA Vault keeps secrets, keys or certificates, as its kind says, in one Environment. A credential and a Certificate are stored in it, and a call to it lands on it.
RegistryA Registry holds Repositories of packages and images, each of one format, in the Environment it lives in; a platform that pulls from it uses it, from any stage.
RepositoryA Repository is one repository of its Registry, holding packages or images of one format.
Ai PlatformAn AI Platform hosts the model deployments the organization configures and calls, in one Environment: a provider's AI platform or a self-run model server. Agents built on it are Components deployed on it.
Model DeploymentA Model Deployment is one model deployed in its AI Platform, its name the model's. A call lands on it.
Backup VaultA Backup Vault keeps backups, in one Environment. A Storage, a Host or a DbServer backed up in it names it with how long each backup is kept.
Security ServiceA Security Service watches the stages it covers, in one Environment of its own: posture management, threat detection, vulnerability scanning or a SIEM.
SupplierA Supplier is a company or person the organization obtains ICT services from, such as a cloud provider or a software vendor, named by its legal name. A Supplier sits in the Ecosystem that contracts with it and holds its Contracts.
ContractA Contract is an agreement under which a Supplier provides ICT services, such as a subscription or an outsourced service desk, with its dates and notice periods. A Contract covers run elements, or names the function-side work it supports, and the Functions it supports are read from what it covers.
Legal EntityA Legal Entity is a legal person whose work its Ecosystem does, such as a bank or its subsidiary, named by its legal name. A Legal Entity sits in one Ecosystem and holds its Branches; its parent undertaking draws its group.
BranchA Branch is a place of business of a Legal Entity in a country, with no legal personality of its own, such as a bank's branch abroad. Its head office is its Legal Entity, and a Platform or a monolith may do its work.

Relationships

RelationshipWhat it says
DeploymentA Deployment says a part runs in an Environment, and optionally on what: a Component, a Deployable Module, a Monolith, a Broker, a user-facing Interface, a DbServer, a Workload Identity, or an infrastructure element, which states its stage on its own line.
HostingA Hosting says a Storage is hosted on a DbServer. A Storage may be hosted on several.
LinkA Link joins two Networks of one Environment, so each reaches the other. It is symmetric, and says nothing more about routing.

Stage: One of the six fixed stages an Environment is. No Author's Code can take one.

ValueMeans
DEVDevelopment.
TSTTest.
ACCAcceptance.
UATUser acceptance.
EPHEphemeral.
PRDProduction.

Network kind: A Network's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
vnetAn Azure virtual network, or another cloud's network called so.
vpcA virtual private cloud network, as AWS and GCP call one.
lanA local area network the organization runs, such as a data center's.
hubA hub that networks attach to, each by a peering link, such as a Virtual WAN hub or a Transit Gateway; spokes reach each other only where linked.
azure.virtual-wanAn Azure Virtual WAN hub.
aws.transit-gatewayAn AWS Transit Gateway.
gcp.network-connectivity-centerA Network Connectivity Center hub.

Link kind: How a Link joins its two networks, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
peeringA peering between two networks, regional or global.
vpnA site-to-site VPN between two networks.
private-linkA private link publishing a service of one network into another.
dedicatedA dedicated line, such as ExpressRoute, Direct Connect or Interconnect.
azure.express-routeAzure ExpressRoute.
aws.direct-connectAWS Direct Connect.
gcp.interconnectCloud Interconnect, dedicated or partner.
gcp.cloud-vpnGoogle Cloud HA VPN.
azure.vpn-gatewayAn Azure VPN Gateway, site to site.
aws.site-to-site-vpnAWS Site-to-Site VPN.

Host kind: A Host's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
vmA virtual machine, or a set of them run as copies of one, such as a scale set with a count range.
physicalA physical server, such as a dedicated host; a VM on it is a host on a host.
deviceA device the organization places for people to use, which states what it is by a second word; the client on it is deployed on it.
azure.vmAzure Virtual Machines.
azure.vm-scale-setAzure Virtual Machine Scale Sets, with a count range.
aws.ec2Amazon EC2 instances.
aws.auto-scaling-groupAn EC2 Auto Scaling group, with a count range.
gcp.compute-engineCompute Engine instances.
gcp.managed-instance-groupA Compute Engine managed instance group, with a count range.
azure.dedicated-hostAn Azure Dedicated Host.
aws.dedicated-hostAn EC2 Dedicated Host.
gcp.sole-tenant-nodeA Compute Engine sole-tenant node.

Device kind: What a device Host is, the word after device.

ValueMeans
kioskA kiosk: a device for people to use in a public place, such as an ATM, a ticket machine or a check-in terminal.

Installation kind: What an Installation is: an operating system, a runtime, an SDK, a web server or middleware.

ValueMeans
osAn operating system, such as Windows Server or Ubuntu.
runtimeA runtime code runs in, such as Java or .NET.
sdkA software development kit installed for building or running code, such as the .NET SDK.
web-serverA web server, such as IIS, nginx or Apache httpd.
middlewareMiddleware, such as an application server or a message queue manager installed on the host.

Lifecycle status: Where a run element is now in its life. Absent, nothing is said.

ValueMeans
proposedRequested or considered, not approved.
plannedApproved and scheduled, work not started.
buildingBeing built, implemented, configured, onboarded or installed.
pilotLimited use to validate fit.
activeIn production and supported by the organization.
phasing-outStill running, closed to new use, being replaced or removed.
retiredSwitched off; its data archived or migrated.

Transfer ground: A ground for transferring personal data to an importer outside a transfer regime, one of GDPR Chapter V's.

ValueMeans
adequacyAn adequacy decision covering this importer rather than its whole country, such as the EU-US Data Privacy Framework for a certified company (GDPR Art. 45).
sccStandard contractual clauses, the UK's IDTA or Addendum and the Swiss-adapted clauses included (GDPR Art. 46(2)(c) and (d)).
bcrBinding corporate rules (GDPR Art. 47).
code-of-conductAn approved code of conduct with binding commitments of the importer (GDPR Art. 46(2)(e)).
certificationAn approved certification mechanism with binding commitments of the importer (GDPR Art. 46(2)(f)).
ad-hoc-clausesContractual clauses the supervisory authority authorized (GDPR Art. 46(3)(a)).
public-instrumentA legally binding instrument or arrangement between public authorities (GDPR Art. 46(2)(a) and 46(3)(b)).

Future: What the organization intends for a run element. Absent, it is undecided.

ValueMeans
investGrow, modernize, add capability.
maintainKeep as is, fix and patch only.
migrateKeep the capability, change what runs it: a newer version, platform or host.
replacePut another product or service in its place.
retireRemove it with no successor.

App platform kind: An App Platform's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
kubernetesA Kubernetes cluster.
app-hostingApplication hosting: a plan or an environment applications are deployed to, such as an App Service plan.
functionsA functions platform, where code runs per event.
containersA container platform that runs container images it is given, such as Container Apps or Cloud Run.
workflowsA workflow engine, whose workflows are Components deployed on it.
data-pipelinesA data pipeline platform, whose pipelines and notebooks are Components deployed on it.
static-sitesA platform made for static sites, a client deployed on it.
ci-runnersBuild and deployment runners, a pipeline being a job Component deployed on them.
azure.aksAzure Kubernetes Service.
azure.app-serviceAn Azure App Service plan.
azure.functionsAn Azure Functions app.
aws.lambdaAWS Lambda functions sharing one network placement.
aws.eksAmazon EKS.
gcp.gkeGoogle Kubernetes Engine.
gcp.cloud-runCloud Run services sharing one network placement.
azure.container-appsAn Azure Container Apps environment.
azure.container-instancesAzure Container Instances.
azure.service-fabricAn Azure Service Fabric cluster.
azure.logic-appsAzure Logic Apps Standard.
azure.data-factoryAzure Data Factory.
azure.fabricA Microsoft Fabric capacity.
azure.databricksAn Azure Databricks workspace.
azure.static-web-appsAzure Static Web Apps.
azure.managed-dev-ops-poolsManaged DevOps Pools, agents for Azure DevOps.
aws.ecsAn Amazon ECS cluster.
aws.elastic-beanstalkAn AWS Elastic Beanstalk environment.
aws.step-functionsAWS Step Functions.
aws.mwaaAmazon Managed Workflows for Apache Airflow.
aws.glueAWS Glue.
aws.emrAmazon EMR.
aws.amplify-hostingAWS Amplify Hosting.
aws.code-buildAWS CodeBuild, the runners a CodePipeline pipeline uses.
gcp.app-engineGoogle App Engine.
gcp.cloud-functionsCloud Run functions, formerly Cloud Functions.
gcp.workflowsGoogle Cloud Workflows.
gcp.composerCloud Composer.
gcp.dataflowDataflow.
gcp.dataprocDataproc.
gcp.firebase-hostingFirebase Hosting.
gcp.cloud-buildCloud Build, with its private pools.

Db server kind: A DbServer's kind, as written: its engine, what the store is, or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
sql-serverMicrosoft SQL Server, or a product compatible with it.
postgresqlPostgreSQL, or a product compatible with it.
mysqlMySQL, or a product compatible with it.
mariadbMariaDB.
oracleOracle Database.
mongodbMongoDB, or a product compatible with it.
redisRedis, or a product compatible with it such as Valkey.
cassandraApache Cassandra, or a product compatible with it.
neo4jNeo4j.
elasticsearchElasticsearch.
opensearchOpenSearch.
lokiGrafana Loki.
document-storeA document store no engine names, holding document Storages.
table-storeA table store no engine names, holding table Storages.
warehouseA SQL warehouse, holding sql Storages.
azure.sql-databaseAn Azure SQL Database logical server.
azure.postgresqlAzure Database for PostgreSQL flexible server.
azure.cosmos-db.no-sqlAzure Cosmos DB for NoSQL.
aws.rds.postgresqlAmazon RDS for PostgreSQL.
aws.dynamo-dbAmazon DynamoDB.
aws.elasti-cacheAmazon ElastiCache for Valkey or Redis OSS.
azure.managed-redisAzure Managed Redis.
azure.ai-searchAzure AI Search, holding search-index Storages.
azure.log-analyticsAn Azure Monitor Log Analytics workspace, holding log Storages.
gcp.cloud-sql.postgresqlCloud SQL for PostgreSQL.
gcp.spannerSpanner.
azure.sql-managed-instanceAzure SQL Managed Instance.
azure.mysqlAzure Database for MySQL flexible server.
azure.document-dbAzure DocumentDB, MongoDB-compatible.
azure.cosmos-db.mongodbAzure Cosmos DB for MongoDB (RU).
azure.cosmos-db.cassandraAzure Cosmos DB for Apache Cassandra.
azure.cassandra-managed-instanceAzure Managed Instance for Apache Cassandra.
azure.cosmos-db.gremlinAzure Cosmos DB for Apache Gremlin.
azure.cosmos-db.tableAzure Cosmos DB for Table.
azure.fabric.warehouseA Microsoft Fabric warehouse, on its capacity.
azure.synapseAn Azure Synapse Analytics workspace.
azure.databricks.sql-warehouseAn Azure Databricks SQL warehouse, on its workspace.
azure.data-explorerAn Azure Data Explorer cluster.
aws.rds.sql-serverAmazon RDS for SQL Server.
aws.rds.mysqlAmazon RDS for MySQL.
aws.rds.mariadbAmazon RDS for MariaDB.
aws.rds.oracleAmazon RDS for Oracle.
aws.aurora.postgresqlAmazon Aurora PostgreSQL-compatible.
aws.aurora.mysqlAmazon Aurora MySQL-compatible.
aws.document-dbAmazon DocumentDB, MongoDB-compatible.
aws.keyspacesAmazon Keyspaces for Apache Cassandra.
aws.neptuneAmazon Neptune.
aws.open-searchAmazon OpenSearch Service, managed domains and Serverless.
aws.memory-dbAmazon MemoryDB.
aws.cloud-watch-logsAmazon CloudWatch Logs, holding log Storages.
aws.redshiftAmazon Redshift, provisioned or Serverless.
aws.athenaAmazon Athena.
gcp.cloud-sql.sql-serverCloud SQL for SQL Server.
gcp.cloud-sql.mysqlCloud SQL for MySQL.
gcp.alloy-dbAlloyDB for PostgreSQL.
gcp.firestoreFirestore.
gcp.bigtableBigtable.
gcp.vertex-ai-searchVertex AI Search.
gcp.memorystoreMemorystore for Valkey or Redis.
gcp.cloud-loggingCloud Logging, holding log Storages.
gcp.big-queryBigQuery.

Gateway kind: A Gateway's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
api-gatewayAn API gateway, publishing APIs.
app-load-balancerA load balancer for HTTP that terminates TLS, serving a certificate.
network-load-balancerA load balancer for TCP and UDP that passes TLS through.
edgeAn edge in front of origins, where a CDN is its own product.
ingressAn ingress controller run on a cluster that proxies requests itself.
firewallA firewall on the path of requests.
natA NAT gateway, the address outbound calls leave from.
bastionA bastion, the path people take to administer hosts.
azure.api-managementAzure API Management.
azure.api-management.self-hosted-gatewayAPI Management's self-hosted gateway, on the organization's cluster.
azure.front-doorAzure Front Door.
azure.firewallAzure Firewall.
aws.albAn AWS Application Load Balancer.
aws.api-gatewayAmazon API Gateway.
aws.nat-gatewayAn AWS NAT gateway.
gcp.apigeeApigee.
gcp.apigee.hybridApigee hybrid's runtime, on the organization's cluster.
azure.application-gatewayAzure Application Gateway.
azure.app-gateway-for-containersAzure Application Gateway for Containers.
azure.load-balancerAn Azure Load Balancer, public or internal.
azure.nat-gatewayAn Azure NAT Gateway.
azure.bastionAzure Bastion.
aws.nlbAn AWS Network Load Balancer.
aws.gateway-load-balancerAn AWS Gateway Load Balancer, in front of appliances.
aws.cloud-frontAn Amazon CloudFront distribution.
aws.global-acceleratorAWS Global Accelerator.
aws.network-firewallAWS Network Firewall.
aws.app-syncAWS AppSync GraphQL APIs.
aws.instance-connect-endpointAn EC2 Instance Connect Endpoint.
gcp.api-gatewayGoogle Cloud API Gateway.
gcp.application-load-balancerA Google Cloud Application Load Balancer, external or internal.
gcp.network-load-balancerA Google Cloud Network Load Balancer, proxy or passthrough.
gcp.cloud-natCloud NAT.

Dns zone: The zone a Dns record is in, as written: public, private, or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
publicA record in a public zone, resolvable from the internet.
privateA record in a private zone, resolvable in the networks the zone is linked to.
azure.dnsAn Azure DNS public zone.
azure.private-dnsAn Azure Private DNS zone.
aws.route53.publicA Route 53 public hosted zone.
aws.route53.privateA Route 53 private hosted zone.
gcp.cloud-dns.publicA Cloud DNS public zone.
gcp.cloud-dns.privateA Cloud DNS private zone.

Storage account kind: A Storage Account's kind, as written: a product word, there being no generic kind. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
azure.storage-accountAn Azure storage account, holding blob, file and table Storages and its queues.
aws.s3An Amazon S3 bucket, holding one blob Storage.
aws.efsAn Amazon EFS file system, holding one file Storage.
aws.fsx.windowsAn Amazon FSx for Windows File Server file system, holding one file Storage.
gcp.cloud-storageA Cloud Storage bucket, holding one blob Storage.
gcp.filestoreA Filestore instance, holding one file Storage.

Vault kind: A Vault's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
hashicorp-vaultHashiCorp Vault, holding secrets, keys and certificates.
azure.key-vaultAzure Key Vault.
azure.managed-hsmAzure Key Vault Managed HSM.
aws.secrets-managerAWS Secrets Manager.
aws.parameter-storeAWS Systems Manager Parameter Store, whose SecureString parameters are secrets.
aws.kmsAWS KMS.
aws.acmAWS Certificate Manager.
gcp.secret-managerGoogle Cloud Secret Manager.
gcp.cloud-kmsGoogle Cloud KMS.
gcp.certificate-managerGoogle Cloud Certificate Manager.

Registry kind: A Registry's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
artifactoryJFrog Artifactory.
nexusSonatype Nexus Repository.
harborHarbor, a registry of OCI artifacts.
azure.container-registryAzure Container Registry.
azure.artifactsAn Azure Artifacts feed.
aws.ecrAmazon ECR.
aws.code-artifactAWS CodeArtifact.
gcp.artifact-registryGoogle Artifact Registry.

Repository format: What a Repository holds, as written: oci, npm, nuget, maven, pypi, go, cargo, rubygems, swift, helm, terraform, apt, yum or generic.

ValueMeans
ociOCI artifacts: container images, Helm charts and Bicep modules alike.
npmnpm packages.
nugetNuGet packages.
mavenMaven artifacts, which Gradle uses too.
pypiPython packages.
goGo modules.
cargoRust crates.
rubygemsRuby gems.
swiftSwift packages.
helmA Helm chart repository outside OCI.
terraformTerraform modules and providers.
aptDebian packages.
yumRPM packages.
genericFiles of any format.

Ai platform kind: An AI Platform's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
vllmvLLM, a self-run model server.
ollamaOllama, a self-run model server.
azure.foundryMicrosoft Foundry.
aws.bedrockAmazon Bedrock.
aws.sage-makerAmazon SageMaker AI.
gcp.agent-platformGemini Enterprise Agent Platform.

Backup vault kind: A Backup Vault's kind, as written: a generic kind or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
veeamVeeam Backup & Replication.
baculaBacula.
azure.backup-vaultAn Azure Backup vault.
aws.backupAn AWS Backup vault.
gcp.backup-drGoogle Cloud Backup and DR Service.

Security service kind: A Security Service's kind, as written: what it does, or a product word. A provider's product word, such as azure.postgresql, names the product and fixes its generic kind.

ValueMeans
posturePosture management: misconfigurations and compliance across what the stage runs.
threat-detectionThreat detection: suspicious activity in what the stage runs.
vulnerability-scanningVulnerability scanning: known vulnerabilities in the hosts, images and code the stage runs.
siemA SIEM: security events gathered and correlated, run on the log store it reads.
azure.defender-for-cloudMicrosoft Defender for Cloud.
azure.sentinelMicrosoft Sentinel, on the Log Analytics workspace it reads.
aws.security-hubAWS Security Hub.
aws.guard-dutyAmazon GuardDuty.
aws.inspectorAmazon Inspector.
gcp.security-command-centerSecurity Command Center.

© 2026 Extenza Works. All rights reserved.