{
  "name": "hosting",
  "version": "0.3.1",
  "description": "Who provides the infrastructure and which of their products realise your design: cloud providers and cloud services, attached to environments, datastores, queues and components with details. Say that the operations database runs on RDS in AWS without changing the design underneath. Also where things sit: the regions the system runs in, the network zones within them, and the rule that a datastore never lives in a public zone.",
  "license": "Apache-2.0",
  "publisher": "trumly",
  "namespace": "hst",
  "tier": "verified",
  "role": "enrichment",
  "useWhen": "When you need to say which provider and products realise your design, and where things sit, such as the operations database on RDS in a private zone in London.",
  "enriches": [
    "environment",
    "datastore",
    "queue",
    "component"
  ],
  "requires": [
    "core@^1.0.0"
  ],
  "optional": [
    "data-model@^0.6.0",
    "containers@^0.1.0",
    "kubernetes@^0.2.0"
  ],
  "includes": [],
  "sha256": "8b9e3008d92c1707c1980d322f48d8eff5b9d2734af212a20121e63de04a6d66",
  "files": [
    [
      "hst--hosting",
      "---\nid: hst--hosting\ntype: plane\ntitle: Hosting\nfields:\n  order: 1\n  stack: Hosting\n  shapes:\n    cloud-provider: cloud\n    cloud-service: hexagon 2d\n  pack: hosting@0.3.1\n---\nWho provides the infrastructure and the products that realise the design. Attached to core nodes with details; core stays whole without it.\n"
    ],
    [
      "hst--link-type-connects-to",
      "---\nid: hst--link-type-connects-to\ntype: link-type\ntitle: connects-to\nfields:\n  name: connects-to\n  description: Traffic may flow from this zone to that one.\n  inverse: connected from\n  from:\n  - network-zone\n  to:\n  - network-zone\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "hst--link-type-in-region",
      "---\nid: hst--link-type-in-region\ntype: link-type\ntitle: in-region\nfields:\n  name: in-region\n  description: A zone, environment or cloud service lies in this region.\n  inverse: contains\n  from:\n  - network-zone\n  - environment\n  - cloud-service\n  to:\n  - region\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "hst--link-type-placed-in",
      "---\nid: hst--link-type-placed-in\ntype: link-type\ntitle: placed-in\nfields:\n  name: placed-in\n  description: Sits in this zone.\n  inverse: holds\n  from:\n  - component\n  - datastore\n  - queue\n  to:\n  - network-zone\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "hst--pack",
      "---\nid: hst--pack\ntype: pack\ntitle: Hosting\nfields:\n  name: hosting\n  namespace: hst\n  version: 0.3.1\n  license: Apache-2.0\n  publisher: trumly\n  role: enrichment\n  enriches:\n  - environment\n  - datastore\n  - queue\n  - component\n  description: 'Who provides the infrastructure and which of their products realise your design: cloud\n    providers and cloud services, attached to environments, datastores, queues and components with details.\n    Say that the operations database runs on RDS in AWS without changing the design underneath. Also where\n    things sit: the regions the system runs in, the network zones within them, and the rule that a datastore\n    never lives in a public zone.'\n  use-when: When you need to say which provider and products realise your design, and where things sit, such as the operations database on RDS in a private zone in London.\n  requires:\n  - core@^1.0.0\n  optional:\n  - data-model@^0.6.0\n  - containers@^0.1.0\n  - kubernetes@^0.2.0\n---\n"
    ],
    [
      "hst--rule-component-placed",
      "---\nid: hst--rule-component-placed\ntype: rule\ntitle: Components are placed\nfields:\n  name: Components are placed\n  statement: Every component is placed in a zone\n  severity: warn\n  applies_to:\n    type: component\n  check:\n    require_link:\n      type: placed-in\n      node_type: network-zone\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "hst--rule-provider-used",
      "---\nid: hst--rule-provider-used\ntype: rule\ntitle: Providers host something\nfields:\n  name: Providers host something\n  statement: Every cloud provider hosts at least one service\n  severity: warn\n  applies_to:\n    type: cloud-provider\n  check:\n    require_link:\n      dir: in\n      min: 1\n      node_type: cloud-service\n      type: runs-in\n  pack: hosting@0.3.1\n---\n**Why:** a provider nothing runs in is an unused account.\n\n**Fix:** add `runs-in` from the services it provides.\n"
    ],
    [
      "hst--rule-service-details",
      "---\nid: hst--rule-service-details\ntype: rule\ntitle: Services realise a design node\nfields:\n  name: Services realise a design node\n  statement: Every cloud service details a design node\n  severity: warn\n  applies_to:\n    type: cloud-service\n  check:\n    require_link:\n      min: 1\n      type: details\n  pack: hosting@0.3.1\n---\n**Why:** a service that realises nothing in the design is unexplained cost.\n\n**Fix:** add a `details` link to the datastore, queue or component it realises.\n"
    ],
    [
      "hst--rule-service-name-length",
      "---\nid: hst--rule-service-name-length\ntype: rule\ntitle: Names fit the cloud's limit\nfields:\n  name: Names fit the cloud's limit\n  statement: A cloud service's name is at most 63 characters\n  severity: warn\n  applies_to:\n    type: cloud-service\n  check:\n    field_is:\n      handle:\n        max_length: 63\n        optional: true\n  pack: hosting@0.3.1\n---\n**Why:** AWS, Azure and Google Cloud all limit most resource names to 63 characters, and a name over the limit is refused at creation, usually in the middle of a deployment.\n\nThe check reads the service's calculated `handle` (the AWS naming pattern in this pack adds one), so a project without a handle for cloud services is not affected. Some services have a tighter limit, such as 24 characters for an Azure storage account: copy this rule with a lower number and an `applies_to` that names those services.\n"
    ],
    [
      "hst--rule-service-provider",
      "---\nid: hst--rule-service-provider\ntype: rule\ntitle: Services have a provider\nfields:\n  name: Services have a provider\n  statement: Every cloud service runs in exactly one provider\n  severity: warn\n  applies_to:\n    type: cloud-service\n  check:\n    require_link:\n      max: 1\n      min: 1\n      node_type: cloud-provider\n      type: runs-in\n  pack: hosting@0.3.1\n---\n**Why:** a product has to come from somewhere, and the provider decides where the data lives.\n\n**Fix:** add a `runs-in` link to a cloud provider.\n"
    ],
    [
      "hst--rule-service-region",
      "---\nid: hst--rule-service-region\ntype: rule\ntitle: Services name a region\nfields:\n  name: Services name a region\n  statement: Every cloud service says which region it runs in\n  severity: warn\n  applies_to:\n    type: cloud-service\n  check:\n    require_link:\n      type: in-region\n      node_type: region\n  pack: hosting@0.3.1\n---\n**Why:** the region decides where data lives, which is often a legal constraint.\n\n**Fix:** add an `in-region` link from the service to its region (use the region you already modelled; the provider's own code, such as eu-west-2, is the region's `code`).\n"
    ],
    [
      "hst--rule-store-not-public",
      "---\nid: hst--rule-store-not-public\ntype: rule\ntitle: Stores never in public zones\nfields:\n  name: Stores never in public zones\n  statement: A datastore is never in a public zone\n  severity: error\n  applies_to:\n    type: datastore\n  check:\n    forbid_link:\n      type: placed-in\n      node_type: network-zone\n      node_fields:\n        exposure: public\n  pack: hosting@0.3.1\n---\n\nData lives behind something.\n"
    ],
    [
      "hst--rule-store-placed",
      "---\nid: hst--rule-store-placed\ntype: rule\ntitle: Data stores are placed\nfields:\n  name: Data stores are placed\n  statement: Every datastore is placed in a zone\n  severity: warn\n  applies_to:\n    type: datastore\n  check:\n    require_link:\n      type: placed-in\n      node_type: network-zone\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "hst--rule-zone-region",
      "---\nid: hst--rule-zone-region\ntype: rule\ntitle: Zones are in a region\nfields:\n  name: Zones are in a region\n  statement: Every network zone is in a region\n  severity: warn\n  applies_to:\n    type: network-zone\n  check:\n    require_link:\n      type: in-region\n      node_type: region\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "hst--topology",
      "---\nid: hst--topology\ntype: plane\ntitle: Topology\nfields:\n  order: 2\n  pack: hosting@0.3.1\n  stack: Hosting\n---\n\nRegions and the network zones inside them.\n"
    ],
    [
      "hst--type-cloud-provider",
      "---\nid: hst--type-cloud-provider\ntype: type\ntitle: cloud-provider\nfields:\n  name: cloud-provider\n  plane: hst--hosting\n  description: 'Use for the company or platform that provides the infrastructure: a public cloud, a private\n    data centre or a SaaS vendor. Link it to the environment it hosts with details.'\n  shape: cloud\n  fields:\n  - name: kind\n    kind: choice\n    required: true\n    values:\n    - public-cloud\n    - private-cloud\n    - on-premises\n    - saas\n  - name: account\n    kind: text\n    label: Account or subscription\n  pack: hosting@0.3.1\n---\n**Ask:** Who provides the infrastructure for this environment? Is there one account or several?\n\nA provider is a vendor, not a product. The products it sells are cloud services. Link it to the environment it hosts with `details`.\n\n**Watch:** a provider nothing runs in.\n"
    ],
    [
      "hst--type-cloud-service",
      "---\nid: hst--type-cloud-service\ntype: type\ntitle: cloud-service\nfields:\n  name: cloud-service\n  plane: hst--hosting\n  description: 'Use for one product from a provider that realises part of the design: a managed database,\n    a container platform, a queue or an object store. Link it to the design node it realises with details.'\n  shape: hexagon 2d\n  fields:\n  - name: service\n    kind: text\n    label: Product name\n    required: true\n  - name: kind\n    kind: choice\n    required: true\n    values:\n    - compute\n    - database\n    - storage\n    - queue\n    - network\n    - identity\n    - observability\n    - other\n  pack: hosting@0.3.1\n---\n**Ask:** Which product from the provider realises this datastore, queue or component? Which region does it run in?\n\nSay what the product is (for example RDS for PostgreSQL), put it in the provider with `runs-in` and in its region with `in-region`. Link it to the design node it realises with `details`, so removing this pack leaves the design intact. Vendor tuning (instance sizes, settings) belongs in an infrastructure repository, not here.\n\n**Watch:** a service that realises nothing in the design, or one in no region when data residency matters.\n\n**Names:** the AWS naming pattern calculates a `handle` for database, compute and queue services. Azure is guidance only. Follow Microsoft's order, kind-workload-environment-region, with a kind code first: `psql` for a PostgreSQL server, `aks` for a Kubernetes cluster, `snet` for a subnet (one per network zone), `cr` for a container registry and `st` for a storage account. The environment part is the environment's `code` and the region part is the region's `short` (`uks` for UK South). Microsoft's order ends with a three-digit instance counter; where you run several, add it to the title. Storage accounts and container registries reject hyphens and must be globally unique, so run the parts together (`crapprduks`); storage accounts cap at 24 characters, so keep the workload part to four letters or fewer.\n"
    ],
    [
      "hst--type-network-zone",
      "---\nid: hst--type-network-zone\ntype: type\ntitle: network-zone\nfields:\n  name: network-zone\n  plane: hst--topology\n  description: A part of the network with one level of exposure.\n  shape: square 2d\n  fields:\n  - name: exposure\n    kind: choice\n    values:\n    - public\n    - private\n    - restricted\n    required: true\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "hst--type-region",
      "---\nid: hst--type-region\ntype: type\ntitle: region\nfields:\n  name: region\n  plane: hst--topology\n  description: Use for a geographic location the system runs in, such as London or Virginia. The company that provides it is a cloud provider in the hosting pack.\n  shape: folder 2d\n  fields:\n  - name: code\n    kind: text\n    label: Provider's own code, e.g. eu-west-2\n  - name: short\n    kind: text\n    label: Short code used in names, e.g. euw2\n  pack: hosting@0.3.1\n---\n"
    ],
    [
      "examples/ops-api-hosting/acceptance-criterion-jobs-listed",
      "---\nid: acceptance-criterion-jobs-listed\ntype: acceptance-criterion\ntitle: Jobs listed\nplane: def--requirements\nfields:\n  given: A job has just changed state\n  when: Ops staff open the job list\n  then: The job and its new state are shown within 60 seconds\n  method: test\n---\n"
    ],
    [
      "examples/ops-api-hosting/actor-ops-staff",
      "---\nid: actor-ops-staff\ntype: actor\ntitle: Ops staff\nplane: def--capabilities\nlinks:\n- type: uses\n  to: component-ops-api\n---\n"
    ],
    [
      "examples/ops-api-hosting/assumption-job-volume",
      "---\nid: assumption-job-volume\ntype: assumption\ntitle: Job volume stays modest\nplane: def--intent\nfields:\n  statement: No more than 5,000 jobs run each night.\n  how-to-check: Count the nightly jobs for a month\n  owner: Platform\n  state: open\n---\n"
    ],
    [
      "examples/ops-api-hosting/capability-view-job-status",
      "---\nid: capability-view-job-status\ntype: capability\ntitle: View job status\nplane: def--capabilities\nfields:\n  statement: view the current status of every job\n  scope: in\n  priority: must\n  status: proposed\nlinks:\n- type: performed-by\n  to: actor-ops-staff\n- type: derives-from\n  to: goal-timely-visibility\n- type: refers-to\n  to: concept-job\n- type: relies-on\n  to: assumption-job-volume\n---\n"
    ],
    [
      "examples/ops-api-hosting/cloud-provider-aws",
      "---\nid: cloud-provider-aws\ntype: cloud-provider\ntitle: AWS\nplane: hst--hosting\nfields:\n  kind: public-cloud\n  account: ops-production\nlinks:\n- type: details\n  to: environment-production\n---\nThe account that hosts production.\n"
    ],
    [
      "examples/ops-api-hosting/cloud-provider-home-server",
      "---\nid: cloud-provider-home-server\ntype: cloud-provider\ntitle: Home server\nplane: hst--hosting\nfields:\n  kind: on-premises\nlinks:\n- type: details\n  to: environment-lab\n---\nA machine we own and run ourselves. The same shape fits a rented server from any hosting company: a provider that gives a machine, not a managed product.\n"
    ],
    [
      "examples/ops-api-hosting/cloud-service-fargate",
      "---\nid: cloud-service-fargate\ntype: cloud-service\ntitle: ECS Fargate\nplane: hst--hosting\nfields:\n  service: ECS Fargate\n  kind: compute\nlinks:\n- type: runs-in\n  to: cloud-provider-aws\n- type: details\n  to: component-ops-api\n- type: in-region\n  to: region-london\n---\nRuns the API service.\n"
    ],
    [
      "examples/ops-api-hosting/cloud-service-home-vm",
      "---\nid: cloud-service-home-vm\ntype: cloud-service\ntitle: Virtual machine\nplane: hst--hosting\nfields:\n  service: KVM virtual machine\n  kind: compute\nlinks:\n- type: runs-in\n  to: cloud-provider-home-server\n- type: runs-in\n  to: environment-lab\n- type: details\n  to: component-ops-api\n- type: in-region\n  to: region-home-lab\n---\nRuns a development copy of the API. Swap it for any virtual machine or bare server and nothing in the design changes.\n"
    ],
    [
      "examples/ops-api-hosting/cloud-service-rds",
      "---\nid: cloud-service-rds\ntype: cloud-service\ntitle: RDS for PostgreSQL\nplane: hst--hosting\nfields:\n  service: RDS for PostgreSQL\n  kind: database\nlinks:\n- type: runs-in\n  to: cloud-provider-aws\n- type: details\n  to: datastore-ops-db\n- type: in-region\n  to: region-london\n---\nManaged database that holds the operations data.\n"
    ],
    [
      "examples/ops-api-hosting/component-ops-api",
      "---\nid: component-ops-api\ntype: component\ntitle: Ops API\nplane: dsn--design\nfields:\n  kind: service\n  owner: Platform\n  status: planned\nlinks:\n- type: satisfies\n  to: requirement-list-jobs\n- type: writes\n  to: datastore-ops-db\n- type: runs-in\n  to: environment-production\n- type: exposes\n  to: interface-ops-api\n- type: placed-in\n  to: zone-private\n---\n\nServes the list of jobs and their status to operations staff.\n"
    ],
    [
      "examples/ops-api-hosting/concept-job",
      "---\nid: concept-job\ntype: concept\ntitle: Job\nplane: def--capabilities\nfields:\n  definition: A scheduled piece of work run for a customer.\n---\n"
    ],
    [
      "examples/ops-api-hosting/consequence-one-engine",
      "---\nid: consequence-one-engine\ntype: consequence\ntitle: Vertical scaling\nplane: gov--decisions\nfields:\n  effect: negative\n---\nThe database scales up before it scales out, so growth in jobs costs more.\n"
    ],
    [
      "examples/ops-api-hosting/constraint-uk-eu-data",
      "---\nid: constraint-uk-eu-data\ntype: constraint\ntitle: Data stays in UK/EU\nplane: def--intent\nfields:\n  statement: Customer data stays in the UK or the EU.\n  kind: legal\n  source: Customer contracts\n  status: proposed\nlinks:\n- type: governs\n  to: capability-view-job-status\n---\n"
    ],
    [
      "examples/ops-api-hosting/convention-short-titles",
      "---\nid: convention-short-titles\ntype: convention\ntitle: Short titles\nplane: abt--about\nlinks:\n- type: describes\n  to: overview\n---\nKeep a title to a short label and put the long text in the description.\n"
    ],
    [
      "examples/ops-api-hosting/datastore-ops-db",
      "---\nid: datastore-ops-db\ntype: datastore\ntitle: Ops db\nplane: dsn--design\nfields:\n  kind: relational\n  owner: Platform\nlinks:\n- type: placed-in\n  to: zone-private\n---\n\nHolds every job and its latest status.\n"
    ],
    [
      "examples/ops-api-hosting/decision-option-document-store",
      "---\nid: decision-option-document-store\ntype: decision-option\ntitle: Managed document store\nplane: gov--decisions\nfields:\n  chosen: false\n  summary: Documents, managed\n---\nScales out easily but the reports would need joins in code.\n"
    ],
    [
      "examples/ops-api-hosting/decision-option-managed-postgres",
      "---\nid: decision-option-managed-postgres\ntype: decision-option\ntitle: Managed PostgreSQL\nplane: gov--decisions\nfields:\n  chosen: true\n  summary: Relational, managed\n---\nJoins and constraints come for free; scaling is mostly vertical.\n"
    ],
    [
      "examples/ops-api-hosting/decision-use-postgres",
      "---\nid: decision-use-postgres\ntype: decision\ntitle: Database choice\nplane: gov--decisions\nfields:\n  status: accepted\n  accepted-by: Mat\n  accepted-on: '2026-11-03'\n  review-by: '2027-05-01'\nlinks:\n- type: considers\n  to: decision-option-managed-postgres\n- type: considers\n  to: decision-option-document-store\n- type: has-consequence\n  to: consequence-one-engine\n- type: governs\n  to: datastore-ops-db\n- type: derives-from\n  to: requirement-list-jobs\n- type: complies-with\n  to: principle-prefer-managed\n- type: relies-on\n  to: assumption-job-volume\n---\nUse a managed relational database. Job data is highly structured and the reports need joins.\n"
    ],
    [
      "examples/ops-api-hosting/environment-lab",
      "---\nid: environment-lab\ntype: environment\ntitle: Home lab\nplane: dsn--design\nfields:\n  code: dev\n  kind: development\n---\nA development copy of the system that runs on a machine we own.\n"
    ],
    [
      "examples/ops-api-hosting/environment-production",
      "---\nid: environment-production\ntype: environment\ntitle: Production\nplane: dsn--design\nfields:\n  code: prd\n  kind: production\n---\n\nThe live system that operations staff use.\n"
    ],
    [
      "examples/ops-api-hosting/example",
      "---\nid: example\ntype: example\ntitle: The ops API on AWS\nfields:\n  title: The ops API on AWS\n  description: The operations database on RDS and the services on Fargate, both in an AWS account that\n    hosts production, attached to the design with details. The parts and the database sit in a private\n    zone in London.\n  use: starter\n  requires:\n  - hosting\n  - core\n---\n"
    ],
    [
      "examples/ops-api-hosting/goal-timely-visibility",
      "---\nid: goal-timely-visibility\ntype: goal\ntitle: Timely ops visibility\nplane: def--intent\nfields:\n  statement: Operations staff see the state of every job within a minute.\n  status: proposed\nlinks:\n- type: measured-by\n  to: metric-status-freshness\n---\n"
    ],
    [
      "examples/ops-api-hosting/increment-live-status",
      "---\nid: increment-live-status\ntype: increment\ntitle: Live job status\nplane: pln--plan\nfields:\n  status: planned\nlinks:\n- type: enables\n  to: capability-view-job-status\n---\n\nThe first slice: staff can see live job status.\n"
    ],
    [
      "examples/ops-api-hosting/interface-ops-api",
      "---\nid: interface-ops-api\ntype: interface\ntitle: Ops API\nplane: dsn--design\nfields:\n  protocol: http\n---\nThe boundary operations tools call to read job status.\n"
    ],
    [
      "examples/ops-api-hosting/metric-status-freshness",
      "---\nid: metric-status-freshness\ntype: metric\ntitle: Job status age\nplane: def--intent\nfields:\n  kind: success\n  unit: seconds\n  direction: lower-is-better\n  target: 60\n  how-measured: Age of the newest status for each job, sampled every minute\n---\n"
    ],
    [
      "examples/ops-api-hosting/overview",
      "---\nid: overview\ntype: overview\ntitle: Ops API\nplane: abt--about\nfields:\n  purpose: A status API so operations staff can see what every job is doing.\n  audience: The build team and operations staff\n  owner: Platform\n  stage: design\nlinks:\n- type: starts-at\n  to: goal-timely-visibility\n---\n"
    ],
    [
      "examples/ops-api-hosting/principle-prefer-managed",
      "---\nid: principle-prefer-managed\ntype: principle\ntitle: Prefer managed services\nplane: gov--decisions\nfields:\n  statement: Prefer managed services over running our own.\n  status: accepted\n  accepted-by: Mat\n  accepted-on: '2026-11-03'\n---\nWe would rather pay for a managed service than operate one ourselves.\n"
    ],
    [
      "examples/ops-api-hosting/region-home-lab",
      "---\nid: region-home-lab\ntype: region\ntitle: Home lab\nplane: hst--topology\nfields:\n  code: home-lab\n---\n"
    ],
    [
      "examples/ops-api-hosting/region-london",
      "---\nid: region-london\ntype: region\ntitle: London\nplane: hst--topology\nfields:\n  code: eu-west-2\n---\n"
    ],
    [
      "examples/ops-api-hosting/requirement-list-jobs",
      "---\nid: requirement-list-jobs\ntype: requirement\ntitle: List jobs\nplane: def--requirements\nfields:\n  statement: The system shall list every job with its current status.\n  kind: functional\n  priority: must\n  status: proposed\nlinks:\n  - type: verified-by\n    to: acceptance-criterion-jobs-listed\n  - type: derives-from\n    to: capability-view-job-status\n---\n"
    ],
    [
      "examples/ops-api-hosting/risk-job-volume-growth",
      "---\nid: risk-job-volume-growth\ntype: risk\ntitle: Job volume growth\nplane: pln--plan\nfields:\n  likelihood: medium\n  impact: high\n  mitigation: Recount nightly jobs every month\n  state: open\nlinks:\n- type: owned-by\n  to: team-platform\n- type: about\n  to: assumption-job-volume\n- type: arises-from\n  to: assumption-job-volume\n---\nIf job volume grows past the assumption, the database may need a bigger plan.\n"
    ],
    [
      "examples/ops-api-hosting/team-dev",
      "---\nid: team-dev\ntype: team\ntitle: Dev\nplane: pln--plan\nfields:\n  kind: agent\n  focus: Implements work packages for review\n---\n\nAn AI agent that writes code and hands it to people to review.\n"
    ],
    [
      "examples/ops-api-hosting/team-platform",
      "---\nid: team-platform\ntype: team\ntitle: Platform\nplane: pln--plan\nfields:\n  kind: human\n  focus: Builds and runs the platform\n---\n\nThe people who own the system.\n"
    ],
    [
      "examples/ops-api-hosting/work-package-build-status-api",
      "---\nid: work-package-build-status-api\ntype: work-package\ntitle: Build status API\nplane: pln--plan\nfields:\n  status: planned\nlinks:\n  - type: owned-by\n    to: team-dev\n  - type: reviewed-by\n    to: team-platform\n  - type: delivers\n    to: component-ops-api\n  - type: part-of\n    to: increment-live-status\n---\n\nBuild the service that lists job status.\n"
    ],
    [
      "examples/ops-api-hosting/zone-private",
      "---\nid: zone-private\ntype: network-zone\ntitle: Private zone\nplane: hst--topology\nfields:\n  exposure: private\nlinks:\n- type: in-region\n  to: region-london\n---\n"
    ],
    [
      "patterns/naming-aws/name-db",
      "---\nid: name-db\ntype: derived\ntitle: AWS database handle\nfields:\n  name: aws-handle-db\n  field-name: handle\n  label: AWS database handle\n  template: '{details/short-name}-{details/runs-in/code}-{details/runs-in/in-region/short}-db'\n  applies_to:\n    type: cloud-service\n    kind: database\n  enabled: true\n---\nThe workload short name, the environment code, the region short code and `db`, all read from the design node this cloud service details. Set `short-name` on the component or datastore, `code` on the environment and `short` on the region. Every cloud service of kind database gets this one.\n\nAWS has no official abbreviation list, so the last part says what the resource is for in the design (`db` for a database, `svc` for compute, `q` for a queue), not which AWS product it is. Put the same parts in tags (Workload, Environment) so names and billing agree.\n"
    ],
    [
      "patterns/naming-aws/name-q",
      "---\nid: name-q\ntype: derived\ntitle: AWS queue handle\nfields:\n  name: aws-handle-q\n  field-name: handle\n  label: AWS queue handle\n  template: '{details/short-name}-{details/runs-in/code}-{details/runs-in/in-region/short}-q'\n  applies_to:\n    type: cloud-service\n    kind: queue\n  enabled: true\n---\nThe workload short name, the environment code, the region short code and `q`, all read from the design node this cloud service details. Set `short-name` on the component or datastore, `code` on the environment and `short` on the region. Every cloud service of kind queue gets this one.\n"
    ],
    [
      "patterns/naming-aws/name-svc",
      "---\nid: name-svc\ntype: derived\ntitle: AWS service handle\nfields:\n  name: aws-handle-svc\n  field-name: handle\n  label: AWS service handle\n  template: '{details/short-name}-{details/runs-in/code}-{details/runs-in/in-region/short}-svc'\n  applies_to:\n    type: cloud-service\n    kind: compute\n  enabled: true\n---\nThe workload short name, the environment code, the region short code and `svc`, all read from the design node this cloud service details. Set `short-name` on the component or datastore, `code` on the environment and `short` on the region. Every cloud service of kind compute gets this one.\n"
    ],
    [
      "patterns/naming-aws/pattern",
      "---\nid: pattern\ntype: pattern\ntitle: Naming – AWS\nfields:\n  title: Naming – AWS\n  description: 'Name AWS resources after what they do in the design: workload, environment code, region\n    code and what the resource is for (ops-prd-euw2-db), calculated onto every cloud service of kind database,\n    compute or queue. Set a short-name on your component or datastore, a code on the environment and a short code\n    on the region.'\n  use: starter\n  requires:\n  - hosting\n  optional:\n  - design\n  root: name-db\n  prefix: aws\n---\n\n"
    ]
  ]
}
