# satom-it-learning-solutions/satom-leman-portail-thomasm architecture

> Architecture diagram of the GitHub repository satom-it-learning-solutions/satom-leman-portail-thomasm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/satom-it-learning-solutions/satom-leman-portail-thomasm
- Repository: https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm

## Overview

This repository defines an AWS CloudFormation infrastructure for the Groupe Léman Finance advisers’ portal, deployed through GitHub Actions. The product workflow runs the deployment pipeline, which provisions environment foundations, networking and security, then the portal’s delivery path and supporting DNS and monitoring. Separate infrastructure capabilities cover dev/prod connectivity through peering, Transit Gateway, VPN and Direct Connect. The README documents these relationships and capabilities; sampled source is limited to three operational and governance scripts, so template-level wiring is not inferred.

Main entry points: [`scripts/deployer.sh`](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/deployer.sh) (Stack deployer), [`.github/workflows/pipeline.yml`](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/.github/workflows/pipeline.yml) (Deploy workflow), [`templates/07-portail.yaml`](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/07-portail.yaml) (Portal delivery path), [`templates/06-alertes.yaml`](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/06-alertes.yaml) (Alerts and SLOs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_delivery["Deployment and governance"]
  node_deploy_workflow["Deploy workflow<br/>[pipeline.yml]"]
  node_deploy_script["Stack deployer<br/>[deployer.sh]"]
  node_iam_check["IAM rights check<br/>[verifier-droits.py]"]
  node_sonar_check["Sonar issue check<br/>[verifier-sonar.py]"]
  node_dora_metrics["DORA metrics<br/>[dora.py]"]
end

subgraph group_foundation["Environment foundations"]
  node_bootstrap["OIDC and roles<br/>[00-bootstrap.yaml]"]
  node_vpc["VPC foundation<br/>[01-vpc.yaml]"]
  node_routing["Internet and NAT routes<br/>[02-routage.yaml]"]
  node_security["Network access controls<br/>[03-securite.yaml]"]
  node_firewall["Network firewall<br/>[04-parefeu.yaml]"]
  node_compute["Web and app instances<br/>[05-calcul.yaml]"]
end

subgraph group_connectivity["Network connectivity"]
  node_peering["Dev-prod peering<br/>[01-peering.yaml]"]
  node_tgw["Transit Gateway<br/>[02-tgw.yaml]"]
  node_vpn["Site-to-site VPN<br/>[03-vpn.yaml]"]
  node_direct_connect["Direct Connect<br/>[04-dx.yaml]"]
end

subgraph group_service["Portal and operations"]
  node_portal["Portal delivery path<br/>[07-portail.yaml]"]
  node_dns["Public and private DNS<br/>[05-dns.yaml]"]
  node_alerts["Alerts and SLOs<br/>[06-alertes.yaml]"]
  node_monitoring["Dashboard and monitoring"]
end

node_github(("GitHub Actions"))

node_github -->|"triggers"| node_deploy_workflow
node_deploy_workflow -->|"runs deployer"| node_deploy_script
node_deploy_script -->|"deploys stacks"| node_bootstrap
node_deploy_script -->|"deploys stacks"| node_vpc
node_deploy_script -->|"deploys stacks"| node_routing
node_deploy_script -->|"deploys stacks"| node_security
node_deploy_script -->|"deploys stacks"| node_firewall
node_deploy_script -->|"deploys stacks"| node_compute
node_deploy_script -->|"deploys stacks"| node_peering
node_deploy_script -->|"deploys stacks"| node_tgw
node_deploy_script -->|"deploys stacks"| node_vpn
node_deploy_script -->|"deploys stacks"| node_direct_connect
node_deploy_script -->|"deploys stacks"| node_portal
node_deploy_script -->|"deploys stacks"| node_dns
node_deploy_script -->|"deploys stacks"| node_alerts
node_deploy_script -->|"deploys stacks"| node_monitoring
node_deploy_workflow -->|"checks permissions"| node_iam_check
node_deploy_workflow -->|"checks findings"| node_sonar_check
node_deploy_workflow -->|"calculates metrics"| node_dora_metrics
node_portal -->|"served through"| node_dns
node_portal -->|"monitored by"| node_alerts
node_alerts -->|"summarized in"| node_monitoring

click node_deploy_workflow "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/.github/workflows/pipeline.yml"
click node_deploy_script "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/deployer.sh"
click node_iam_check "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/verifier-droits.py"
click node_sonar_check "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/verifier-sonar.py"
click node_dora_metrics "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/dora.py"
click node_bootstrap "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/00-bootstrap.yaml"
click node_vpc "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/01-vpc.yaml"
click node_routing "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/02-routage.yaml"
click node_security "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/03-securite.yaml"
click node_firewall "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/04-parefeu.yaml"
click node_compute "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/05-calcul.yaml"
click node_peering "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/01-peering.yaml"
click node_tgw "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/02-tgw.yaml"
click node_vpn "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/03-vpn.yaml"
click node_direct_connect "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/04-dx.yaml"
click node_portal "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/07-portail.yaml"
click node_dns "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/05-dns.yaml"
click node_alerts "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/06-alertes.yaml"
click node_monitoring "https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/08-supervision.yaml"

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_deploy_workflow,node_deploy_script,node_iam_check,node_sonar_check,node_dora_metrics toneBlue
class node_bootstrap,node_vpc,node_routing,node_security,node_firewall,node_compute toneAmber
class node_peering,node_tgw,node_vpn,node_direct_connect toneMint
class node_portal,node_dns,node_alerts,node_monitoring toneRose
class node_github toneIndigo
```

## Components

### Deployment and governance

- [Deploy workflow](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/.github/workflows/pipeline.yml): `.github/workflows/pipeline.yml`
- [Stack deployer](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/deployer.sh): `scripts/deployer.sh`
- [IAM rights check](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/verifier-droits.py): `scripts/verifier-droits.py`
- [Sonar issue check](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/verifier-sonar.py): `scripts/verifier-sonar.py`
- [DORA metrics](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/scripts/dora.py): `scripts/dora.py`

### Environment foundations

- [OIDC and roles](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/00-bootstrap.yaml): `templates/00-bootstrap.yaml`
- [VPC foundation](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/01-vpc.yaml): `templates/01-vpc.yaml`
- [Internet and NAT routes](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/02-routage.yaml): `templates/02-routage.yaml`
- [Network access controls](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/03-securite.yaml): `templates/03-securite.yaml`
- [Network firewall](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/04-parefeu.yaml): `templates/04-parefeu.yaml`
- [Web and app instances](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/05-calcul.yaml): `templates/05-calcul.yaml`

### Network connectivity

- [Dev-prod peering](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/01-peering.yaml): `templates/commun/01-peering.yaml`
- [Transit Gateway](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/02-tgw.yaml): `templates/commun/02-tgw.yaml`
- [Site-to-site VPN](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/03-vpn.yaml): `templates/commun/03-vpn.yaml`
- [Direct Connect](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/04-dx.yaml): `templates/commun/04-dx.yaml`

### Portal and operations

- [Portal delivery path](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/07-portail.yaml): `templates/07-portail.yaml`
- [Public and private DNS](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/commun/05-dns.yaml): `templates/commun/05-dns.yaml`
- [Alerts and SLOs](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/06-alertes.yaml): `templates/06-alertes.yaml`
- [Dashboard and monitoring](https://github.com/satom-it-learning-solutions/satom-leman-portail-thomasm/blob/main/templates/08-supervision.yaml): `templates/08-supervision.yaml`

### Other components

- **GitHub Actions**

## Connections

- GitHub Actions → Deploy workflow: triggers (evidence: `README.md`)
- Deploy workflow → Stack deployer: runs deployer (evidence: `README.md`)
- Stack deployer → OIDC and roles: deploys stacks (evidence: `README.md`)
- Stack deployer → VPC foundation: deploys stacks (evidence: `README.md`)
- Stack deployer → Internet and NAT routes: deploys stacks (evidence: `README.md`)
- Stack deployer → Network access controls: deploys stacks (evidence: `README.md`)
- Stack deployer → Network firewall: deploys stacks (evidence: `README.md`)
- Stack deployer → Web and app instances: deploys stacks (evidence: `README.md`)
- Stack deployer → Dev-prod peering: deploys stacks (evidence: `README.md`)
- Stack deployer → Transit Gateway: deploys stacks (evidence: `README.md`)
- Stack deployer → Site-to-site VPN: deploys stacks (evidence: `README.md`)
- Stack deployer → Direct Connect: deploys stacks (evidence: `README.md`)
- Stack deployer → Portal delivery path: deploys stacks (evidence: `README.md`)
- Stack deployer → Public and private DNS: deploys stacks (evidence: `README.md`)
- Stack deployer → Alerts and SLOs: deploys stacks (evidence: `README.md`)
- Stack deployer → Dashboard and monitoring: deploys stacks (evidence: `README.md`)
- Deploy workflow → IAM rights check: checks permissions (evidence: `README.md`)
- Deploy workflow → Sonar issue check: checks findings (evidence: `README.md`)
- Deploy workflow → DORA metrics: calculates metrics (evidence: `README.md`)
- Portal delivery path → Public and private DNS: served through (evidence: `README.md`)
- Portal delivery path → Alerts and SLOs: monitored by (evidence: `README.md`)
- Alerts and SLOs → Dashboard and monitoring: summarized in (evidence: `README.md`)
