Skip to main content

Architecture Repository

An architecture repository is the place where an organization keeps structured, up-to-date knowledge about its IT landscape. It is not a folder of diagrams that someone drew two years ago. It is a set of inventories: lists of things of the same kind, each with a few agreed attributes, an owner, and links to other inventories.

Good inventories answer basic questions without anyone having to ask an architect:

  • Which systems do we have, and who owns them?
  • Which system is the source of truth for customer data?
  • What breaks if we switch off this database?
  • Which technologies are we allowed to use for new projects?
  • Why did we decide to build this instead of buying it?
tip

Start small. One accurate inventory that people actually use is worth more than ten complete-looking inventories that nobody trusts.

Kinds of inventories​

InventoryAnswers the questionTypical items
Systems inventoryWhat do we run, and who owns it?Applications, services, SaaS products, platforms
Business capabilitiesWhat does the business need to be able to do?Order management, billing, customer onboarding
Data inventoryWhat data do we have, and where does it come from?Data domains, data products, master data sources
Integrations inventoryHow do systems talk to each other?APIs, event streams, file transfers, ETL jobs
Technology inventoryWhich technologies do we use, and which should we use?Languages, frameworks, databases, cloud services, tracked as a technology radar
Infrastructure inventoryWhere does it all run?Cloud accounts, clusters, environments, networks
Teams and ownershipWho is responsible for what?Product teams, platform teams, business owners
Decisions logWhy is it built this way?Architecture Decision Records (ADRs)
Vendors and contractsWhat do we buy, and from whom?Vendors, licenses, contract renewal dates

How the inventories connect​

The real value of the repository lies in the links between inventories. A list of systems on its own is useful. A list of systems linked to the capabilities they support, the data they master, and the team that owns them makes it possible to analyze the landscape: you can see redundancy, gaps, and the impact of changes.

This picture is a simplified metamodel: the definition of element types and the relationships allowed between them.

The systems inventory sits in the middle of this picture, so it is the natural place to start.

Principles​

  • Every item has an owner. An item without an owner will become outdated.
  • Use stable identifiers. Names change, but IDs should not. Other inventories refer to items by ID.
  • Keep attributes few and useful. Every extra field is a field someone has to maintain. Add an attribute only when someone needs it to make a decision.
  • Keep it close to the work. Where possible, store inventory data as code next to the systems it describes, and generate views from it (for example with Backstage).
  • Automate what can be discovered. Infrastructure, deployments and dependencies can often be harvested from cloud APIs and CI/CD. Keep human input for what cannot be discovered: ownership, purpose, criticality, and lifecycle.