# zoltanszekely21/primary-markets-devops-platform architecture

> Architecture diagram of the GitHub repository zoltanszekely21/primary-markets-devops-platform, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zoltanszekely21/primary-markets-devops-platform
- Repository: https://github.com/zoltanszekely21/primary-markets-devops-platform

## Overview

This repository is a reference DevOps platform for simulated Primary Markets issuance workflows, not an implemented business-service runtime. Its documented operator workflow is to run Terraform init, plan, and apply in the dev environment; the wider intended platform targets AWS/EKS, with CI/CD, Datadog observability, and SRE operational artifacts. The README describes these capabilities, but no source excerpts show component-level calls or deployment wiring, so those relationships are not inferred.

Main entry points: [`infra/terraform/envs/dev`](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/dev) (Dev environment), [`infra/terraform/envs/uat`](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/uat) (UAT environment), [`infra/terraform/envs/prod`](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/prod) (Production environment)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_infrastructure["Infrastructure"]
  node_dev["Dev environment"]
  node_uat["UAT environment"]
  node_prod["Production environment"]
  node_tfmodules["Terraform modules"]
end

subgraph group_delivery["CI/CD"]
  node_gitlab["GitLab CI templates"]
  node_jenkins["Jenkins pipeline"]
end

subgraph group_observability["Observability"]
  node_helm["Datadog Helm values"]
  node_monitors["Datadog monitors"]
  node_dashboards["Datadog dashboards"]
  node_slos["Datadog SLOs"]
end

subgraph group_operations["SRE operations"]
  node_runbooks["Runbooks"]
  node_alerting["Alerting policy<br/>[alerting-policy.md]"]
  node_oncall["On-call model<br/>[oncall-rotation.md]"]
  node_postmortems["Incident postmortems"]
end

node_operator(("Platform operator"))
node_aws["AWS EKS"]

node_operator -->|"plans and applies"| node_dev
node_dev -.->|"targets"| node_aws
node_uat -.->|"targets"| node_aws
node_prod -.->|"targets"| node_aws

click node_dev "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/dev"
click node_uat "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/uat"
click node_prod "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/prod"
click node_tfmodules "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/modules"
click node_gitlab "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/pipelines/gitlab/templates"
click node_jenkins "https://github.com/zoltanszekely21/primary-markets-devops-platform/blob/main/pipelines/jenkins/Jenkinsfile"
click node_helm "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/helm-values"
click node_monitors "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/monitors"
click node_dashboards "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/dashboards"
click node_slos "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/slo"
click node_runbooks "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/docs/sre-ops/runbooks"
click node_alerting "https://github.com/zoltanszekely21/primary-markets-devops-platform/blob/main/docs/sre-ops/alerting-policy.md"
click node_oncall "https://github.com/zoltanszekely21/primary-markets-devops-platform/blob/main/docs/sre-ops/oncall-rotation.md"
click node_postmortems "https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/docs/sre-ops/incident-postmortems"

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_dev,node_uat,node_prod,node_tfmodules toneBlue
class node_gitlab,node_jenkins toneAmber
class node_helm,node_monitors,node_dashboards,node_slos toneMint
class node_runbooks,node_alerting,node_oncall,node_postmortems toneRose
class node_operator,node_aws toneIndigo
```

## Components

### Infrastructure

- [Dev environment](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/dev): `infra/terraform/envs/dev`
- [UAT environment](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/uat): `infra/terraform/envs/uat`
- [Production environment](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/envs/prod): `infra/terraform/envs/prod`
- [Terraform modules](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/infra/terraform/modules): `infra/terraform/modules`

### CI/CD

- [GitLab CI templates](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/pipelines/gitlab/templates): `pipelines/gitlab/templates`
- [Jenkins pipeline](https://github.com/zoltanszekely21/primary-markets-devops-platform/blob/main/pipelines/jenkins/Jenkinsfile): `pipelines/jenkins/Jenkinsfile`

### Observability

- [Datadog Helm values](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/helm-values): `platform/observability/datadog/helm-values`
- [Datadog monitors](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/monitors): `platform/observability/datadog/monitors`
- [Datadog dashboards](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/dashboards): `platform/observability/datadog/dashboards`
- [Datadog SLOs](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/platform/observability/datadog/slo): `platform/observability/datadog/slo`

### SRE operations

- [Runbooks](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/docs/sre-ops/runbooks): `docs/sre-ops/runbooks`
- [Alerting policy](https://github.com/zoltanszekely21/primary-markets-devops-platform/blob/main/docs/sre-ops/alerting-policy.md): `docs/sre-ops/alerting-policy.md`
- [On-call model](https://github.com/zoltanszekely21/primary-markets-devops-platform/blob/main/docs/sre-ops/oncall-rotation.md): `docs/sre-ops/oncall-rotation.md`
- [Incident postmortems](https://github.com/zoltanszekely21/primary-markets-devops-platform/tree/main/docs/sre-ops/incident-postmortems): `docs/sre-ops/incident-postmortems`

### Other components

- **Platform operator**
- **AWS EKS**

## Connections

- Platform operator → Dev environment: plans and applies (evidence: `README.md`)
- Dev environment → AWS EKS: targets
- UAT environment → AWS EKS: targets
- Production environment → AWS EKS: targets
