ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
principles

Principles

Stable, mostly tech-agnostic principles that shape ION architecture. Technology choices belong in ../decisions/ (ADRs); the realized architecture belongs in ../well-architected/. Anything naming a specific Azure service should live in one of those two places, not here.

Structured in three groups:

  1. Foundational principles — how the system is decomposed.
  2. Architecture-style principles — how components collaborate.
  3. Operational principles — how the platform is run.

The Glossary at the bottom disambiguates vocabulary that differs from common industry usage.


Foundational principles

1. Volatility-based decomposition

The primary decomposition unit is the Area of Volatility (called a system in this documentation). A system contains a set of tightly-related services that share a source of change — a business capability, an external integration, or a regulatory boundary. When that source of change moves, the change is contained inside the owning system and does not cascade platform-wide.

Consequence. ION must integrate with many external systems it does not control (Microsoft Sentinel, Defender XDR, Teams, ServiceNow, threat-intel providers, LLM providers). Without this containment, external volatility would propagate through the platform. Systems act as shock absorbers.

Consequence. Services within a system are more tightly coupled to each other than to services in other systems. That coupling is intentional.

Realized by: ADR-0002

2. Microservices

Services are independently deployable and independently scalable units. Boundaries are drawn to enable independent teams to work independently at speed. A service’s public contract is stable; its internal implementation is not.

Realized by: ADR-0001

3. Domain-Driven Design (DDD) modelling

Business capabilities are modelled as bounded contexts with explicit ubiquitous language, aggregates, and domain events. Event Storming is used to discover integration and domain events collaboratively. The DDD boundary and the volatility boundary sometimes coincide, sometimes not; when they diverge, the volatility boundary wins for physical decomposition and the DDD boundary wins for modelling.

Realized by: ADR-0002


Architecture-style principles

4. Event-driven microservices

Cross-service collaboration is asynchronous, via events on a shared broker (Azure Service Bus — see ADR-0008; Event Hubs only as a bounded protocol adapter at the external integration ingress edge). Synchronous request/response is used only where a UI or an external API demands it, and even then it terminates at a BFF or an APIM-fronted service, not at another domain service.

Realized by: ADR-0001, ADR-0008

5. No direct service-to-service calls

A service never calls another service directly. Every cross-service interaction goes through the shared broker (Service Bus topic / queue — ADR-0008) or through a shared APIM API. If you see a design proposing a direct call, that is a design smell — find the shared hop.

Rationale. Direct calls create tight, invisible coupling that defeats volatility-based decomposition and breaks choreographed scaling. Shared brokers provide throttling, buffering, and observable boundaries for free.

Realized by: ADR-0001, ADR-0008

6. Choreography over orchestration

Services publish events describing what happened; other services subscribe and react. There is no central orchestrator that dictates flow. Each service owns its own decisions and its own error handling.

Trade-off. Choreography makes end-to-end flows harder to trace and reason about; it makes local change cheap and failure containment easy. ION accepts the trace cost in exchange for the coupling and scaling benefits.

Realized by: ADR-0003

7. Event-Carried State Transfer (ECST)

Events carry the state consumers need to act, so that consumers do not query producers back. This decouples consumers from producer availability and schema, and reduces load on producers.

Trade-off. Events are larger. Schema evolution requires care (see patterns/schema-evolution.md).

Realized by: ADR-0004

8. Event Sourcing (V3)

Every meaningful state transition is captured as an immutable event in an event store. Aggregate state is a projection over the event log; it is recomputable at any time. The event log is the system of record.

Consequence. Full auditability and replayability by construction. Debugging production issues, satisfying compliance queries, and regenerating projections after schema change all reduce to replaying events.

Trade-off. Aggregate design and event granularity become load-bearing decisions (see planned ADRs). Read-side projections must be maintained.

Realized by: ADR-0006, ADR-0007, ADR-0018, ADR-0022 (CQRS read-model projection off the event stores)

9. CloudEvents + AsyncAPI

Event schema: CloudEvents — a portable, versioned envelope with a payload described per event type. Flow description: AsyncAPI — event-driven interfaces are described the way REST APIs are described by OpenAPI.

Rationale. Interoperability, tooling, SDK availability, faster onboarding.

Realized by: (ADRs pending)

10. Trilateral API

Every service exposes three interfaces:

  • Publisher — the events it emits.
  • Subscriber — the events it consumes.
  • REST — its synchronous surface (usually via APIM).

All three are versioned and treated as first-class contracts.

Consequence. A service’s public contract is not just its REST API — its events count too. Breaking event changes are treated like breaking API changes.

Realized by: ADR-0014 (shared APIM ingress and REST API onboarding contract), ADR-0020 (REST + Async REST guidelines for the HTTP leg)


Operational principles

11. Automation First (V3)

Human effort is a scarce, expensive resource; every step in the pipeline that can be automated must be. Humans intervene only where judgment, approval, or customer interaction is required. Automation is not a nice-to-have layered on top — it is the design starting point.

Rationale. ION processes hundreds of thousands of incidents per day at the V3 planning envelope (~180K/day at 500 customers, ~350K/day at 1,000 customers — see ../context/capacity-model.md). Linear headcount scaling with incident volume is not viable; the ~96 % auto-close ratio is the load-shedding lever. Agentic automation (LLM-driven) is a first-class part of the pipeline, not a bolt-on.

Realized by: ADR-0019

12. Managed Identity for service-to-service authentication

Services authenticate to Azure resources and to each other using Managed Identities. Secrets are minimized; where they exist, they live in Azure Key Vault and are read at runtime, not baked into config.

Realized by: ADR-0009 (Managed Identity requires Entra ID); ADR-0011 (FIC + MI cross-tenant secretless pattern); ADR-0013 (UAMI-per-service, app-roles, BFF user-token boundary, FIC for CI/CD); ADR-0014 (shared ingress policy boundary); ADR-0024 (OIDC/WIF federation for CI/CD pipelines)

13. BFF pattern for frontend access

Each frontend has a Backend For Frontend (BFF) tailored to it. The BFF accepts a user’s JWT, validates it, and uses its own Managed Identity to reach shared resources. Frontends never talk to domain services directly.

Rationale. Aggregation, tailoring, and security boundary separation. Also enables independent evolution of the frontend and the backend.

Realized by: ADR-0009 (BFF validates JWT issued by Entra ID); ADR-0013 (customer/advisor tokens terminate at BFF; downstream calls use the BFF UAMI); ADR-0014 (APIM routes user traffic only to the appropriate BFF); ADR-0022 (Veritas BFF fronts the reporting projection for React dashboards); ADR-0023 (BFF-per-MFE extension of the pattern)

14. Independent scalability

Every service scales on its own axis. The shared broker (Service Bus) absorb burst mismatches between producers and consumers.

Realized by: ADR-0001, ADR-0007, ADR-0008, ADR-0014, ADR-0022 (read path scales independently of write-side event store), ADR-0023 (MFEs deliver and scale independently per domain)

15. Deploy through the same pipeline; environments are isolated

The four environments (apa, bta, gma, prd) are separate management groups and separate subscriptions. Promotion is by pipeline (Runway), not by direct edit. See ../well-architected/operational-excellence/cicd-runway/.

Realized by: ADR-0024 (Runway/Kronos/Lib workflows on GitHub Actions, OIDC federation, per-env runners)

Realized by: (ADRs pending)

16. Observability at every layer

Every service emits logs, metrics, and traces. Health checks at every layer. Alerting is tied to runbooks. See ../well-architected/operational-excellence/observability/.

Realized by: ADR-0015 (layered edge health, WAF, and cross-layer diagnostics); ADR-0021 (observability stack: App Insights + Log Analytics + OpenTelemetry)

17. Failure containment

Dead-letter queues for messages that cannot be processed. Retries with timeouts for transient dependency failure. Idempotent writes so replay is safe. Health checks so a sick instance is drained fast. Explicit degraded-service modes for prolonged partial failure. See the patterns catalog.

Realized by: ADR-0003, ADR-0008, ADR-0015, ADR-0017

18. Data residency & compliance are design constraints

Customer data resides in Switzerland. The only exceptions are the resource types and regions that Security and Legal approved, recorded in ADR-0034. The core data stores (event stores, databases, messaging) have no exception. The primary DR path is cross-Availability-Zone within region, not cross-region. Compliance frameworks (GDPR, HIPAA, PCI DSS) shape data-handling and deletion design. Customer data is partitioned by customer-short + tenant ID + customer ID.

Realized by: ADR-0007 (Cosmos in Switzerland North; per-tenant partition scheme); ADR-0009 (Entra tenant topology; per-customer B2B trust); ADR-0012 (customer users retain home-tenant identity governance); ADR-0017 (DR pair constrained to Swiss North ↔ Swiss West); ADR-0034 (approved regional exceptions)

19. Cost is a design constraint

  • Idle running cost per environment: < 250 CHF.
  • New feature cost delta: ≤ 5 % of existing cost, or explicit review.
  • Bias toward consumption-based resources; auto-scale rather than pre-provision.

Where security requires higher-tier resources, cost trades off consciously and is documented.

Realized by: ADR-0017 (warm spare chosen over active-active; cold spare / redeploy rejected against cost/RTO envelope)

20. Vendor lock-in mitigation

Actively abstract the Microsoft Sentinel and Azure interfaces so that alternative providers remain viable. Concretely: keep integration adapters narrow and behind clear ports; do not bleed provider-specific types into domain code.

Realized by: ADR-0002

21. Azure-native managed services first

Across ION architecture versions, the platform’s default answer to every infrastructure question is an Azure-native, managed (PaaS) service. Third-party solutions — including ones that are technically “slightly better” on a feature checklist — are rejected by default if adopting them means ION has to self-host, patch, monitor, back up, or DR-drill the software itself.

Rationale. ION’s operational leverage comes from one small platform team running many services on top of a managed substrate. Every self-hosted stateful cluster ION owns is a permanent operational tax: 24/7 on-call surface, patch cadence, backup/restore drills, DR runbook, capacity planning, version upgrades, security-advisory response. That tax is paid forever, regardless of feature parity. A managed-service gap is cheaper than a self-hosted operational burden — almost always.

What this means in practice.

  • Prefer Azure PaaS over Azure IaaS running open-source software, and over third-party SaaS running similar workloads.
  • When an ADR rejects an alternative, “not available as an Azure managed service” is a first-class rejection reason, not an afterthought.
  • The comparison bar for a self-hosted or third-party alternative is not “is it better?” — it is “is the feature gap large enough to justify ION owning the operations, forever?”

Documented exceptions. Self-hosting is only accepted when no Azure-managed equivalent covers the required capability. Every exception is a named ADR decision, not a default. The documented V3 exception is:

  • Temporal workflow cluster (Cogs) — self-hosted because Azure Durable Functions and Logic Apps do not cover Temporal’s long-lived-workflow + strong-code-first + full-replay execution model at ION’s required scale. Documented in ADR-0019.

A new exception requires an explicit ADR justifying (a) which capability is missing from the Azure PaaS catalogue, (b) why the workaround on an Azure service is insufficient, and (c) who owns the resulting operational burden.

Relationship with § 20 (Vendor lock-in mitigation). These two principles are in deliberate tension and are reconciled by scope:

  • § 21 chooses the substrate (Azure PaaS wins by default).
  • § 20 constrains how ION code talks to it (narrow adapters, portable schemas, no provider types bleeding into domain code).

ION pays the substrate lock-in cost to buy operational leverage; ION invests in abstraction to keep the code portable if the substrate ever has to move.

Realized by: ADR-0006, ADR-0007, ADR-0008, ADR-0009, ADR-0010, ADR-0011, ADR-0012, ADR-0013, ADR-0015, ADR-0016, ADR-0017

22. Least privilege

Every identity — human, workload, or customer-consented app — is granted the smallest scope that lets it do its job, and nothing more. This applies at every boundary ION operates across:

  • Customer-consent boundary — ION requests only the Graph/MDE scopes needed for the intent shape the customer has chosen; unused capability is never bundled into the consent request.
  • Azure data-plane — Managed Identities receive data-action-scoped RBAC roles (e.g., Cosmos DB Data Contributor on a single database), not subscription-wide Contributor.
  • Human customer-environment access — in V3, Ontinue analysts use Tenant Governance/GDAP remote groups and customer-assigned URBAC rather than standing admin rights or customer-tenant guest projection. Access Packages are historical V2 transport and may remain only as optional upstream governance of Ontinue group membership.
  • Service credentials — where credentials must exist, they are single-purpose (one app, one scope shape, one Key Vault secret).

Rationale. Least privilege is the primary lever that turns a compromise into a contained compromise. It is also what customers verify during security review — an over-scoped consent request stalls onboarding.

Realized by: ADR-0010, ADR-0011, ADR-0012, ADR-0013, ADR-0015, ADR-0016, ADR-0033; (more ADRs pending)

23. Blast-radius containment

Every boundary in ION — system, service, credential, app registration, namespace, tenant — is drawn so that a failure or compromise on one side does not disable unrelated capability on the other. Concretely:

  • Per-scope app registrations so that a consent revocation or throttling event on one integration surface does not disable the others.
  • Per-subscription DLQs on the shared Service Bus so that a poison message in one consumer does not stall siblings.
  • Per-system schema and Cosmos partitioning so that a hot partition or schema-migration incident is contained to its owning system.
  • Choreography over orchestration at the platform level (§ 6) so that no single orchestrator becomes an availability SPOF across systems.
  • Sharded credentials (numbered app versions -02, -03) so that a throttling ceiling or credential incident on one cohort’s app does not cap the whole customer base.

Rationale. At ION’s scale a single shared-fate failure mode is a platform-wide outage. The design goal is that the answer to “what breaks if X fails?” is always “X, and only what depends on X.”

Realized by: ADR-0003, ADR-0008, ADR-0010, ADR-0011, ADR-0012, ADR-0013, ADR-0015, ADR-0016, ADR-0017, ADR-0033; (more ADRs pending — Event Store DR)

24. Azure Landing Zone architecture best practices

ION follows Microsoft’s Cloud Adoption Framework (CAF) Azure landing zone guidance as the default shape for subscriptions, management groups, identity, networking, connectivity, security, governance, and platform-versus-application separation. Deviating from a landing-zone recommendation requires an explicit ADR justification.

What this means in practice.

  • Platform vs. application separation. A dedicated platform team owns shared platform concerns (identity, connectivity, security baselines, policy, monitoring, hub networking). Application/system teams own their spokes and services within that baseline.
  • Hub-spoke by default. Connectivity, DNS, egress inspection, and shared network security services live in a hub owned by the platform team. Systems live in spokes with autonomy over their own subnets, NSGs, private endpoints, and application deployments — within policy.
  • Environment-per-management-group / subscription boundaries. apa/bta/gma/prd map to independent landing-zone units with independent policy, RBAC, and connectivity.
  • Policy as guardrails, not gates. Azure Policy, RBAC role definitions, and network baselines are pre-provided by the platform team; teams move fast inside those guardrails without opening a ticket for every change.
  • Traditional hub-and-spoke topology (per CAF’s network topology guidance) is the ION default; Virtual WAN is not adopted because ION does not have the large-scale multi-region branch/SD-WAN footprint that motivates it.

Rationale — org-structure alignment. Hub-spoke landing zones map cleanly onto ION’s team topology:

  • A small platform team operates the hub (connectivity, identity, policy, WAF, egress, DNS). Central control on the hub prevents drift in shared concerns and gives one auditable owner for platform-wide configuration.
  • System / application teams operate their spokes with high autonomy — they can add subnets, private endpoints, deployments, scaling, and application-level network policy without waiting on the platform team, as long as they stay within hub-owned guardrails.
  • § 22 Least privilege at the org level: RBAC on the hub subscription is restricted to platform-team roles; each spoke’s RBAC is restricted to that system’s team. A compromised spoke credential cannot reconfigure the hub; a platform-team change cannot silently break a system’s application deployment.
  • § 23 Blast-radius containment at the network and org boundary: a misconfiguration or compromise in one spoke is contained to that spoke; hub-owned inspection and DNS remain in place.

Rationale — operational leverage. Landing zones give ION the CAF-blessed defaults for identity, connectivity, security, governance, and management group structure. That reduces the amount of foundational infrastructure the platform team has to design from scratch, and gives every new system joining the platform a predictable, opinionated shape to land into.

Realized by: ADR-0016, ADR-0017, ADR-0024; (more ADRs pending — environment isolation, policy baseline)


25. Fully automated deployment — IaC-first, no manual changes

All infrastructure changes MUST go through Infrastructure as Code (Terraform as the primary tool; ARM / Bicep sanctioned as fallback where Terraform provider coverage is missing). All application and infrastructure deployments MUST go through automated pipelines. Manual portal edits in bta / gma / prd are prohibited — direct changes are drift and must be reconciled back into IaC or reverted.

What this means in practice.

  • IaC is the source of truth. The state of every Azure resource under ION ownership is expressed in a Terraform module, ARM template, or Bicep file living in the mono-repo. If it isn’t in code, it doesn’t exist for governance purposes.
  • Pipelines are the only deploy path. No az CLI, no portal click-ops, no ad-hoc terraform apply from a laptop against bta+ environments. Alpha (apa) is the sandbox where PR-time ephemeral deploys are allowed for validation.
  • End-to-end traceability. Every production change is traceable from a merged PR → CODEOWNERS approvals → required PR checks → environment approval → OIDC token issue → pipeline run → deployed resource. This is the audit evidence chain for SOC1 / compliance.
  • Drift is a defect. Detected drift (via Terraform plan diffs, Azure Policy compliance, resource-level reconciliation) is treated as a bug against the owning team and remediated by promoting the change to code or reverting the manual edit.
  • Shared modules over copy-paste. Common resource shapes (Cosmos, Service Bus, Function App, APIM, Front Door, Private Endpoint DNS, etc.) come from platform-owned Terraform modules in tf-modules/. Services consume; platform team authors.

Rationale. Repeatability, reviewability, and reversibility. IaC + pipelines give ION:

  • Auditability — every change is a PR with reviewers, checks, and a deployment record.
  • Repeatability — the same code produces the same environment; recovery is terraform apply, not tribal knowledge.
  • Blast-radius containment (§ 23) — approvals and gates scope who can change what where.
  • Least privilege (§ 22) — pipeline identities (WIF-federated) hold narrow, env-scoped roles; humans do not need standing write access to prd.
  • Compliance evidence — SOC1 and equivalent frameworks require demonstrable change control; the PR → check → approval → deploy chain is that evidence, generated as a byproduct of doing the work.

Realized by: ADR-0024.


Vocabulary rules

  • Use “system” (Area of Volatility) in all new writing. Only use “container” when quoting a historical reference file name (e.g., Container View- Alya.md).
  • Use “WAF” to mean Azure Well-Architected Framework. Spell it out on first use in each doc.
  • Use “MXDR” (Managed Extended Detection and Response). MDR appears in some historical references — treat as equivalent unless context distinguishes.
  • Use “Entra ID”, not “Azure AD” (rebranded). Both may appear in references.

Full documentation-authoring rules are in ../standards/documentation-standards.md.


Glossary

TermMeaning
Area of VolatilityThe scope inside which change from a single source is contained. Materialized as a system.
BFFBackend For Frontend. A service tailored to a specific frontend that aggregates from domain services and validates the user JWT.
CloudEventsPortable, versioned event envelope specification. See https://cloudevents.io/.
ContainerHistorically used in ION references to mean a system (Area of Volatility). Distinct from the C4 container primitive. This documentation uses “system”.
DDDDomain-Driven Design.
ECSTEvent-Carried State Transfer. Events carry the state consumers need.
Event SourcingPersistence pattern where every state transition is stored as an immutable event. State is a projection over the event log.
GDAPMicrosoft Entra Tenant Governance delegated access: governing-tenant groups are projected as remote tenant groups; Defender URBAC remains separate.
IDMIdentity Management.
MDR / MXDRManaged Detection and Response / Managed Extended Detection and Response. MXDR is the current term.
MFEMicro-Frontend. Frontend equivalent of microservices — independently deployable UI fragments.
NSGNetwork Security Group (Azure).
ORROperational Readiness Review — a pre-production gate.
RBACRole-Based Access Control.
RPORecovery Point Objective — max acceptable data loss during a disaster.
RTORecovery Time Objective — max acceptable time to restore service after an incident.
RomeCode name for the deployed ION platform.
RunwayCode name for the CI/CD platform that deploys ION.
SLA / SLOService Level Agreement / Objective.
SystemSee Area of Volatility.
Trilateral APIA service’s three contracts: Publisher (events out), Subscriber (events in), REST (sync).
WAFAzure Well-Architected Framework (this documentation’s default meaning). Web Application Firewall is also WAF — disambiguate on first use where context is ambiguous.
1. Volatility-based decomposition
V2V3V4
2. Microservices
V2V3V4
3. Domain-Driven Design (DDD) modelling
V2V3V4
4. Event-driven microservices
V2V3V4
5. No direct service-to-service calls
V2V3V4
6. Choreography over orchestration
V2V3V4
7. Event-Carried State Transfer (ECST)
V2V3V4
8. Event Sourcing (V3)
V2V3V4
9. CloudEvents + AsyncAPI
V2V3V4
10. Trilateral API
V2V3V4
11. Automation First (V3)
V2V3V4
12. Managed Identity for service-to-service authentication
V2V3V4
13. BFF pattern for frontend access
V2V3V4
14. Independent scalability
V2V3V4
15. Deploy through the same pipeline; environments are isolated
V2V3V4
16. Observability at every layer
V2V3V4
17. Failure containment
V2V3V4
18. Data residency & compliance are design constraints
V2V3V4
19. Cost is a design constraint
V2V3V4
20. Vendor lock-in mitigation
V2V3V4
21. Azure-native managed services first
V2V3V4
22. Least privilege
V2V3V4
23. Blast-radius containment
V2V3V4
24. Azure Landing Zone architecture best practices
V2V3V4
25. Fully automated deployment — IaC-first, no manual changes
V2V3V4
Security