# by-devops/infra-dc-blueprint architecture

> Architecture diagram of the GitHub repository by-devops/infra-dc-blueprint, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/by-devops/infra-dc-blueprint
- Repository: https://github.com/by-devops/infra-dc-blueprint

## Overview

infra-dc-blueprint is an infrastructure architecture and operations blueprint, not an executable provisioning package. Its principal workflow is to edit the SoC YAML configuration, review the domain SOWs and NetBox model, then use runbooks and AWX templates to operate and test idempotently. NetBox is documented as the authoritative SoT, with validations and push/pull via AWX. The repository also covers edge networking, compute, identity, DevOps, data services, and observability. Relationships below follow the README; no source excerpts were available to verify further implementation details.

Main entry points: [`runbooks/README.md`](https://github.com/by-devops/infra-dc-blueprint/blob/main/runbooks/README.md) (Operations runbooks), [`soc/edge.wan.yml`](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/edge.wan.yml) (WAN and edge config), [`soc/firewall.rules.yml`](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/firewall.rules.yml) (Firewall config), [`soc/firewall.aliases.yml`](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/firewall.aliases.yml) (Firewall aliases)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_configuration["Configuration"]
  node_edge_config["WAN and edge config<br/>[edge.wan.yml]"]
  node_firewall_config["Firewall config<br/>[firewall.rules.yml]"]
  node_firewall_aliases["Firewall aliases"]
  node_network_config["Network config<br/>[network.vlans.yml]"]
  node_interfaces_config["Network interfaces"]
  node_services_config["Platform services"]
  node_environment_config["Environment config<br/>[env.yml]"]
  node_sizing_config["Sizing BOM<br/>[sizing.bom.yml]"]
  node_redis_config["DB and Redis config<br/>[db-redis.yml]"]
end

subgraph group_architecture["Infrastructure domains"]
  node_edge_domain["pfSense edge<br/>[SOW.md]"]
  node_network_domain["Network topology<br/>[SOW.md]"]
  node_compute_domain["Compute and K3s<br/>[SOW.md]"]
  node_identity_domain["Identity and secrets<br/>[SOW.md]"]
  node_devops_domain["DevOps platform<br/>[SOW.md]"]
  node_data_domain["Data services<br/>[SOW.md]"]
  node_observability_domain["Observability<br/>[SOW.md]"]
end

subgraph group_governance["SoT governance"]
  node_netbox_domain["NetBox governance<br/>[SOW.md]"]
  node_netbox[("NetBox SoT")]
end

subgraph group_operations["Operations"]
  node_awx["AWX"]
  node_runbooks["Operations runbooks<br/>[README.md]"]
end

node_operator(("Infrastructure operator"))

node_operator -->|"edits"| node_edge_config
node_operator -->|"edits"| node_firewall_config
node_operator -->|"edits"| node_firewall_aliases
node_operator -->|"edits"| node_network_config
node_operator -->|"edits"| node_interfaces_config
node_operator -->|"edits"| node_services_config
node_operator -->|"edits"| node_environment_config
node_operator -->|"edits"| node_sizing_config
node_operator -->|"edits"| node_redis_config
node_operator -->|"reviews"| node_edge_domain
node_operator -->|"reviews"| node_network_domain
node_operator -->|"reviews"| node_compute_domain
node_operator -->|"reviews"| node_identity_domain
node_operator -->|"reviews"| node_devops_domain
node_operator -->|"reviews"| node_data_domain
node_operator -->|"reviews"| node_observability_domain
node_operator -->|"reviews"| node_netbox_domain
node_netbox -->|"pushes and pulls"| node_awx
node_awx -->|"validates"| node_netbox
node_operator -->|"operates and tests"| node_runbooks
node_runbooks -->|"uses templates"| node_awx

click node_edge_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/edge.wan.yml"
click node_firewall_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/firewall.rules.yml"
click node_firewall_aliases "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/firewall.aliases.yml"
click node_network_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/network.vlans.yml"
click node_interfaces_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/network.interfaces.yml"
click node_services_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/platform.services.yml"
click node_environment_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/env.yml"
click node_sizing_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/sizing.bom.yml"
click node_redis_config "https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/db-redis.yml"
click node_edge_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/01_edge-pfsense/SOW.md"
click node_network_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/02_network-topology-switch/SOW.md"
click node_compute_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/03_compute/SOW.md"
click node_identity_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/04_identity-secrets/SOW.md"
click node_devops_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/05_devops/SOW.md"
click node_data_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/06_data-services/SOW.md"
click node_observability_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/07_observability/SOW.md"
click node_netbox_domain "https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/08_netbox_sot_governance/SOW.md"
click node_runbooks "https://github.com/by-devops/infra-dc-blueprint/blob/main/runbooks/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_edge_config,node_firewall_config,node_firewall_aliases,node_network_config,node_interfaces_config,node_services_config,node_environment_config,node_sizing_config,node_redis_config toneBlue
class node_edge_domain,node_network_domain,node_compute_domain,node_identity_domain,node_devops_domain,node_data_domain,node_observability_domain toneAmber
class node_netbox_domain,node_netbox toneMint
class node_awx,node_runbooks toneRose
class node_operator toneIndigo
```

## Components

### Configuration

- [WAN and edge config](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/edge.wan.yml): `soc/edge.wan.yml`
- [Firewall config](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/firewall.rules.yml): `soc/firewall.rules.yml`
- [Firewall aliases](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/firewall.aliases.yml): `soc/firewall.aliases.yml`
- [Network config](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/network.vlans.yml): `soc/network.vlans.yml`
- [Network interfaces](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/network.interfaces.yml): `soc/network.interfaces.yml`
- [Platform services](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/platform.services.yml): `soc/platform.services.yml`
- [Environment config](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/env.yml): `soc/env.yml`
- [Sizing BOM](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/sizing.bom.yml): `soc/sizing.bom.yml`
- [DB and Redis config](https://github.com/by-devops/infra-dc-blueprint/blob/main/soc/db-redis.yml): `soc/db-redis.yml`

### Infrastructure domains

- [pfSense edge](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/01_edge-pfsense/SOW.md): `sow/01_edge-pfsense/SOW.md`
- [Network topology](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/02_network-topology-switch/SOW.md): `sow/02_network-topology-switch/SOW.md`
- [Compute and K3s](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/03_compute/SOW.md): `sow/03_compute/SOW.md`
- [Identity and secrets](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/04_identity-secrets/SOW.md): `sow/04_identity-secrets/SOW.md`
- [DevOps platform](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/05_devops/SOW.md): `sow/05_devops/SOW.md`
- [Data services](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/06_data-services/SOW.md): `sow/06_data-services/SOW.md`
- [Observability](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/07_observability/SOW.md): `sow/07_observability/SOW.md`

### SoT governance

- [NetBox governance](https://github.com/by-devops/infra-dc-blueprint/blob/main/sow/08_netbox_sot_governance/SOW.md): `sow/08_netbox_sot_governance/SOW.md`
- **NetBox SoT**

### Operations

- **AWX**
- [Operations runbooks](https://github.com/by-devops/infra-dc-blueprint/blob/main/runbooks/README.md): `runbooks/README.md`

### Other components

- **Infrastructure operator**

## Connections

- Infrastructure operator → WAN and edge config: edits (evidence: `README.md`)
- Infrastructure operator → Firewall config: edits (evidence: `README.md`)
- Infrastructure operator → Firewall aliases: edits (evidence: `README.md`)
- Infrastructure operator → Network config: edits (evidence: `README.md`)
- Infrastructure operator → Network interfaces: edits (evidence: `README.md`)
- Infrastructure operator → Platform services: edits (evidence: `README.md`)
- Infrastructure operator → Environment config: edits (evidence: `README.md`)
- Infrastructure operator → Sizing BOM: edits (evidence: `README.md`)
- Infrastructure operator → DB and Redis config: edits (evidence: `README.md`)
- Infrastructure operator → pfSense edge: reviews (evidence: `README.md`)
- Infrastructure operator → Network topology: reviews (evidence: `README.md`)
- Infrastructure operator → Compute and K3s: reviews (evidence: `README.md`)
- Infrastructure operator → Identity and secrets: reviews (evidence: `README.md`)
- Infrastructure operator → DevOps platform: reviews (evidence: `README.md`)
- Infrastructure operator → Data services: reviews (evidence: `README.md`)
- Infrastructure operator → Observability: reviews (evidence: `README.md`)
- Infrastructure operator → NetBox governance: reviews (evidence: `README.md`)
- NetBox SoT → AWX: pushes and pulls (evidence: `README.md`)
- AWX → NetBox SoT: validates (evidence: `README.md`)
- Infrastructure operator → Operations runbooks: operates and tests (evidence: `README.md`)
- Operations runbooks → AWX: uses templates (evidence: `README.md`)
