35. Architecture principles
An architecture principle is a rule every design is held up to, written in a standard form: a statement, its rationale and its implications. A good one decides things: it turns a real design red or green, before anything is built.
The clip lays out Harbour Mutual's five principle cards: one definition, owned, measured quality, private by default, and classified before use. Four proposed designs are then held up to them one at a time: marketing's churn spreadsheet breaks one definition and ownership; the claims assistant pilot breaks private by default and classified before use; chapter 28's Fabric platform meets every card; and Kestrel's reports moved as they are break one definition and measured quality.
The idea: a rule you can hold a design up to
Every architecture team has a page of principles; most of them could be pinned up in any company and never decide anything. A useful principle has three parts, always written the same way:
- Statement: one short rule, true of every design: "Every business measure is defined once."
- Rationale: why the organisation holds it, in its own terms: "Two loss ratios in one board meeting cost a quarter's credibility."
- Implications: what follows for every design and every team: "Measures live in the semantic model; a new measure goes through the glossary first."
The test of a principle is whether a design can break it. "Data is our most valuable asset" cannot be broken, so it decides nothing. "We use Microsoft Fabric" can be broken, but it is a technology choice that will date; the principle behind it is the reason for the choice.
A worked example: four designs, five cards
| Principle | Statement | Rationale |
|---|---|---|
| One definition | Every business measure is defined once. | Two loss ratios in one board meeting cost a quarter's credibility. |
| Owned | Every information domain has one accountable owner. | Data nobody owns is data nobody fixes. |
| Measured quality | Quality is measured where data is produced. | A defect caught at the source costs least. |
| Private by default | No data store is reachable from the internet. | A store reachable from anywhere is protected only by its key. |
| Classified before use | Data is classified before anyone can use it, and access follows the classification. | A medical note in the wrong answer cannot be taken back. |
| Design | One definition | Owned | Measured quality | Private by default | Classified before use |
|---|---|---|---|---|---|
| Marketing's churn spreadsheet | ✕ breaks | ✕ breaks | ✓ meets | ✓ meets | ✓ meets |
| The claims assistant pilot, as proposed | ✓ meets | ✓ meets | ✓ meets | ✕ breaks | ✕ breaks |
| Fabric on OneLake, chapter 28's design | ✓ meets | ✓ meets | ✓ meets | ✓ meets | ✓ meets |
| Kestrel's reporting moved as it is | ✕ breaks | ✓ meets | ✕ breaks | ✓ meets | ✓ meets |
Three of the four designs break at least one card, and each red card says what must change: the churn spreadsheet reads the semantic model's customer and names an owner; the assistant pilot classifies before indexing, filters before ranking and closes its public endpoint; Kestrel's reports take the combined loss ratio and move their checks to the silver gate.
Why it matters for Alex
Alex cannot review every design personally, and should not have to argue each one from scratch. Five cards that every team can hold their own design up to make the reviews short and the decisions consistent; a design that breaks a card arrives with the reason already written. And when someone asks why a rule exists, the rationale is on the card.
Where it goes wrong
- Slogans. "We are data-driven" on the first slide: true, agreeable, and useless in a review.
- Products as principles. "Everything on Fabric" written as a principle, and argued again every time a team needs something else.
- Thirty principles. Nobody remembers them, and two of them contradict each other.
- No implications. A statement with nothing that follows: every team agrees, and keeps doing what it did.
Exercises
The lab checks each one against facts written down in advance, so any answer the brief allows passes. A pass is kept in this browser.
Statement, rationale or implication?
These sentences come from a draft of the card "One definition". Choose which part of the standard form each one is.
Hold the designs up to the cards
For each proposed design, choose a principle it breaks, or say that it meets them all.
Is it a principle?
Decide what kind of statement each one is.
On Azure
Principles stay vendor-neutral; Azure is where some of them become automatic:
- Azure Policy turns a principle like "private by default" into a rule the platform enforces on every deployment, with a compliance view of what does not meet it (chapter 36 writes one).
- Microsoft Purview holds the glossary and owners behind "one definition" and "owned", and the classifications behind "classified before use".
- The Azure Well-Architected Framework and the Cloud Adoption Framework publish design principles for workloads and for cloud-scale analytics: good material to adapt, never to copy as they are.
Keep the cards in the same repository as the platform's Bicep, so a change to a principle is reviewed like a change to the platform.
Take it to work
Principle card
Write one architecture principle in the standard form.
Statement
- One short rule, true of every design
Rationale
- Why the organisation holds it, in its own terms
Implications
- What follows for designs
- What follows for teams and decisions
Test
- A real design it would turn red
- What would count as meeting it
Tools in this chapter
- Platform designer · Build an Azure reference architecture from parts, check it against the requirements, and export its Bicep.
Terms taught here: Architecture principle