MakerFLOSS/docs/infrastruktur/labdesign.md

148 lines
2.7 KiB
Markdown
Raw Normal View History

2026-05-10 11:49:48 +02:00
---
marp: true
2026-05-10 12:21:09 +02:00
pagination: true
2026-05-10 11:49:48 +02:00
---
<style>
.mermaid svg { max-width: 100% !important; height: auto !important; }
</style>
2026-05-10 11:41:22 +02:00
# Introduction
This is assorted notes on what could go into the MakerFLOSS lab
2026-05-10 11:49:48 +02:00
---
2026-05-10 11:41:22 +02:00
# Requirements
- A space to experiment with new software
- A place where software could be "test run" for some time
- A place where errors are not causing IP loss
- even if errors are real big !!
## More details
- Firewalled off from the production network
- Accessible from outside
- Potential for exposing services externally
---
2026-05-10 11:41:22 +02:00
## Constraints
2026-05-10 11:41:22 +02:00
- Cost conscious
- Support constant change
2026-05-10 11:41:22 +02:00
2026-05-10 11:49:48 +02:00
---
2026-05-10 11:41:22 +02:00
# Proposals
## Short term
A VPS in a (European) cloud with one public IP
---
2026-05-10 11:41:22 +02:00
## Midterm
Complement the VPS with some local hardware:
2026-05-10 11:41:22 +02:00
- Firewall with zones (VLANs, DNS/DHCP)
2026-05-10 11:41:22 +02:00
- Netbird access to services in Lab
- Switching infrastructure
- A primary "stable" Proxmox host
- A secondary experimentation machine
- A backup server
- Tunnel for external access via VPS public IP
2026-05-10 11:41:22 +02:00
2026-05-10 11:49:48 +02:00
---
2026-05-10 11:41:22 +02:00
### Basic Services in Lab
- Git: Forgejo
- ...
2026-05-10 11:49:48 +02:00
---
2026-05-10 11:41:22 +02:00
### Lab Diagram
```mermaid
graph LR
2026-05-10 11:41:22 +02:00
subgraph External
Internet[🌐 Internet]
VPS[FLOSS VPS<br/>88.99.32.236]
end
subgraph OrangeMaker["Orange Makerspace"]
OMFirewall[OrangeMaker Firewall]
ProdNet[Production Network]
end
subgraph FLOSSLab["MakerFLOSS Lab"]
Switch[Switch]
Proxmox1[LabZone 1<br/>Test Proxmox]
Proxmox2[LabZone 2<br/>Experimental]
subgraph TAPPaaS
FLOSSFirewall[MakerFLOSS Firewall<br/>DNS/DHCP/VLANs]
PreProd[Pre-production Zone]
Backup[Backup Server]
end
end
Internet --> VPS
Internet --> OMFirewall
VPS -.->|Tunnel| FLOSSFirewall
VPS -.->|Netbird| FLOSSFirewall
OMFirewall --> ProdNet
OMFirewall --> FLOSSFirewall
FLOSSFirewall --> Switch
FLOSSFirewall --> PreProd
Switch --> Proxmox1
Switch --> Proxmox2
Switch --> Backup
```
2026-05-10 11:49:48 +02:00
---
2026-05-10 11:41:22 +02:00
### TAPPaaS Diagram
```mermaid
graph TB
subgraph TAPPaaS
subgraph Firewall["Firewall"]
Zones[Zones]
Caddy[Caddy]
Certs[Certificates]
DHCPDNS[DHCP/DNS]
end
subgraph PreProd["Pre-Production"]
Proxmox[Proxmox]
Authentik[Authentik]
CICD[CI/CD]
Forgejo[Forgejo]
More[...]
end
subgraph BackupSrv["Backup"]
BackupService[PBS Backup Service]
end
end
Firewall --> PreProd
Firewall --> BackupSrv
```
2026-05-10 12:18:02 +02:00
---
2026-05-10 11:49:48 +02:00
2026-05-10 11:41:22 +02:00
## Long term
replace VPS with a direct IP pinhole access
replace the "stable" FLOSS services running on VPS with modules runing on "stable" machine locally
# Design of Mid term solution