Azure Landing Zone — Guidelines
Rules every ION system and service team follows when they operate inside the landing zone. These are the contract between the platform team (hub + baselines) and application teams (spokes + workloads). See architecture.md for the shape these guidelines protect.
Use MUST / SHOULD / MUST-NOT vocabulary. Deviations require an ADR.
Ownership boundary
ION runs a single shared ION spoke per environment — all systems land into the same spoke VNet, with per-system ownership enforced at the subnet / NSG / RBAC / CODEOWNERS layer. Read “your spoke” below as “your slice of the shared ION spoke” — the platform vs. application split is otherwise identical to CAF.
- MUST treat the management subscription (hub VNet, private DNS zones, Front Door, Application Gateway, ZPA connectors) and the platform baselines (spoke and Luna VNets, subnets, NAT gateway, policy, RBAC role definitions, shared Terraform modules) as read-only from a system’s perspective. Changes go through the platform team.
- MUST own every resource in your slice of the shared ION spoke — workloads, data stores, their access restrictions, private endpoints, and RBAC assignments — via CODEOWNERS on the owning folder.
- MUST-NOT create resources outside the ION spoke’s subscription without a platform-approved cross-boundary wiring pattern.
- SHOULD submit shared, reusable resource shapes back to the
platform-owned
tf-modules/library rather than fork them per team. - Note: the shared APIM for ION API ingress lives inside the spoke (not the hub). Individual services own their APIM API definitions and policies published to the shared APIM per ADR-0014.
Management-group & subscription boundaries
- MUST deploy workloads for each environment (
apa/bta/gma/prd) into that environment’s workload subscription. Hub, edge, and ZPA resources belong in the environment’s management subscription (mgtapa/mgtbta/mgtgma/mgtprd). - MUST-NOT share a subscription across environments.
- MUST-NOT peer VNets across environments (no cross-env traffic).
- SHOULD tag every resource with the tag set (owner, cost centre, env, system). Modules and resource-group tags are the mechanism; no policy enforces tags, and none is planned (LZ-01, closed).
Network topology
- MUST connect the shared ION spoke (and, where deployed, the Luna VNet) to the environment’s hub VNet via VNet peering declared in the spoke networking stack.
- MUST-NOT create additional VNets in the workload subscription without a platform-team-approved topology change.
- MUST-NOT assume a hub egress path or central egress filter; none exists (NET-16). Workloads that need a stable outbound IP MUST use the spoke NAT gateway or static-IP runners (egress and static IPs).
- MUST use the hub private DNS zones — no per-spoke Private DNS Zone creation for Azure PaaS services covered by the hub zone set.
- MUST use the shared
tf-modules/azure/modules (for examplesubnet,nat-gateway,zpa-prerequisite-ips,rbac-assignment) rather than hand-written resource blocks for these primitives. - SHOULD keep subnet allocations inside the platform-assigned range for that environment.
Resource exposure
ION runs ADR-0025 Phase 1. The rules are owned by network security guidelines; in summary:
- MUST set a Deny default on every PaaS resource with public network access enabled, and allow only named sources from the shared allow-list module.
- MUST-NOT describe a resource with public access enabled as private.
- SHOULD use a private endpoint, linked to the hub private DNS zone, for new data-plane resources where the service supports it (Phase 2 target).
- MUST-NOT disable an existing private endpoint or re-enable public network access on a private resource without a security review.
Identity & RBAC
- MUST authenticate service-to-service using one user-assigned Managed Identity per micro-service and Entra app-roles — no client secrets in code or Key Vault for platform-internal calls (ADR-0013).
- MUST terminate user tokens at the BFF layer and never propagate user tokens into downstream domain services.
- MUST grant humans access to subscriptions via Entra groups mapped to platform-owned role definitions. Custom per-team roles require a security-review ADR.
- MUST use Workload Identity Federation (WIF) for CI/CD access to Azure — no long-lived service-principal secrets (ADR-0024 § 6).
- SHOULD minimise the number of humans with standing write access
to
prd. Prefer just-in-time elevation.
Policy & governance
- MUST accept the platform-owned Azure Policy baseline assigned to
each subscription. Do not remove assignments or add
not_scopeswithout review. - MUST-NOT deploy resources outside Switzerland North (and
globalresources), except the resource types and regions on the region-policy exclusion list. Security and Legal approved that list (ADR-0034). The region policy enforces this with Deny. Adding a type or region to the list MUST have the same approval and an ADR-0034 amendment (LZ-02). - SHOULD treat Policy compliance failures as merge-blocking; ship a fix or request a time-bounded exemption with an ADR.
- MUST document any deviation from CAF landing-zone recommendation as an ADR, per § 24.
Automation & change control
- MUST deploy every infrastructure change via IaC (Terraform primary; ARM/Bicep as fallback where Terraform coverage is missing), per new § 25.
- MUST deploy via a pipeline. MUST-NOT run
terraform applyfrom a laptop againstbta/gma/prd. - MUST-NOT make manual portal edits in
bta/gma/prd. Direct edits are drift; they get reconciled to IaC or reverted. - MUST consume the CPE-owned reusable PR-check workflows and the shared Terraform modules — per-team forks are unsupported by CPE (ADR-0024 § 2).
- SHOULD publish new reusable resource shapes back to
tf-modules/azure/rather than duplicating per spoke.
Observability
- MUST forward diagnostic logs and metrics from every spoke resource to the platform-owned Log Analytics workspace(s).
- MUST tag telemetry with owner + system + env so it is queryable along ownership lines.
- SHOULD ship alerts as IaC (per-service
RUN_ALERTS_TF/ equivalent) rather than portal-created alerts.
Cost
- MUST operate within the environment’s cost budget; cost alerts are platform-owned but spokes act on them.
- SHOULD use SKU choices from the platform-approved SKU strategy
(see
cost-optimization/sku-strategy/) unless the spoke has a documented reason to deviate. - MUST-NOT provision Premium / Ultra tiers of shared services without a cost-review ADR.
Onboarding a new system into the landing zone
Every new system MUST:
- Register in the Service Inventory (canonical source for
service-map.jsonper ADR-0024 § 7). - Run the CPE service-onboarding workflow to provision GitHub team + Artifactory repos + service Entra app + GitHub environments.
- Request platform-team allocation of any new spoke subnet.
- Consume the shared
tf-modules/for all foundational resources. - Wire observability to the platform-owned Log Analytics workspace.
See implementation for the concrete steps.
Anti-patterns
The following are explicit anti-patterns and require remediation if found in a spoke:
- A PaaS resource with public network access enabled and a firewall
default of Allow, or an allow rule for
0.0.0.0/0, without a tracked NET gap. - Client secrets / connection strings stored in code, App Config, or Key Vault for platform-internal service-to-service calls.
- Custom RBAC role definitions duplicated per team.
- Per-team Private DNS Zone for a service covered by the shared zone set.
- Direct spoke-to-spoke VNet peering (moot today — single shared spoke — but disallowed if per-system spokes are introduced later).
- Manual portal edits in
bta/gma/prd. - Environment-crossing traffic (e.g., a
btaworkload calling agmaresource). - Region deployment outside Switzerland North without a data-residency ADR.
Related
- architecture.md — what these guidelines protect
- implementation — concrete task recipes
- Principles: § 15, § 21, § 22, § 23, § 24, § 25
- ADRs: 0013, 0016, 0024, 0025
- Network security