docs: budget restructure recurrent/hardware

This commit is contained in:
Elewyn 2026-04-30 10:44:17 +02:00
parent 1bcd191e19
commit 5b5ec98fcf

View file

@ -30,24 +30,16 @@
--- ---
## VMs existantes ## VMs (Proxmox)
| VM | RAM | vCPU | Disk | Role |
|----|-----|------|------|------|
| VM-DEDICATED | 20 Go | 8 | 40 Go | Serveurs de jeu |
---
## VMs a creer (Terraform - provider bpg/proxmox)
| VM | VMID | IP | RAM | vCPU | Disk | Role | | VM | VMID | IP | RAM | vCPU | Disk | Role |
|----|------|----|-----|------|------|------| |----|------|----|-----|------|------|------|
| VM-DEDICATED | 110 | 192.168.1.110 | 24 Go | 8 | 40 Go | Serveurs de jeu |
| gateway | 200 | 192.168.1.254 | 512 Mo | 1 | 8 Go | WireGuard + Caddy (reverse proxy) | | gateway | 200 | 192.168.1.254 | 512 Mo | 1 | 8 Go | WireGuard + Caddy (reverse proxy) |
| forgejo | 201 | 192.168.1.50 | 1 Go | 2 | 20 Go | Forge logicielle - http://192.168.1.50:3000 | | forgejo | 201 | 192.168.1.50 | 1 Go | 2 | 20 Go | Forge logicielle - https://forge.elewyn.dev |
| nextcloud | 202 | 192.168.1.51 | 6 Go | 4 | 20 Go | Cloud personnel - http://192.168.1.51:8080 | | nextcloud | 202 | 192.168.1.51 | 6 Go | 4 | 20 Go | Cloud personnel - https://cloud.elewyn.dev |
| tools | 203 | 192.168.1.52 | 2 Go | 2 | 10 Go | Stirling PDF - http://192.168.1.52:8081 | | tools | 203 | 192.168.1.52 | 2 Go | 2 | 10 Go | Stirling PDF - http://192.168.1.52:8081 |
| **Total** | | | **5.5 Go** | **7** | **58 Go** | | | **Reste libre** | | | **~12.5 Go** | | | Reserve k3s |
| **Reste libre** | | | **~4.5 Go** | | | Reserve k3s |
Template cloud-init : Rocky Linux 9 (VMID 9000) Template cloud-init : Rocky Linux 9 (VMID 9000)
@ -66,25 +58,25 @@ Template cloud-init : Rocky Linux 9 (VMID 9000)
--- ---
## QNAP - Shares NFS a creer ## QNAP - Shares NFS
| Share | Usage | Acces restreint a | | Share | Usage | Acces restreint a |
|-------|-------|--------------------| |-------|-------|--------------------|
| nextcloud-data | Donnees Nextcloud | 192.168.1.51 | | nextcloud-data | Donnees Nextcloud | 192.168.1.51 |
| backups | Backups Proxmox | 192.168.1.242 | | backups | Backups Proxmox | 192.168.1.242 |
| game-saves | Saves serveurs de jeu | 192.168.1.x (VM dedicated) | | game-saves | Saves serveurs de jeu | 192.168.1.110 (VM dedicated) |
--- ---
## Poste de pilotage ## Poste de pilotage
- **PC Gaming Windows 11** : VSCode + Claude Code, WSL2 Debian - **PC Gaming Windows 11** : VSCodium + Claude Code, WSL2 Debian
- **Laptop Linux Mint** : alternative (non disponible actuellement) - **Laptop Linux Mint** : alternative (non disponible actuellement)
- **WSL2 Debian** : Terraform, Ansible, kubectl, Git, cles SSH - **WSL2 Debian** : Terraform, Ansible, kubectl, Git, cles SSH
--- ---
## Architecture reseau cible (avec VPS) ## Architecture reseau
``` ```
Internet --> [VPS Scaleway PLAY2-PICO - 51.158.126.113] Internet --> [VPS Scaleway PLAY2-PICO - 51.158.126.113]
@ -134,16 +126,24 @@ Internet --> [VPS Scaleway PLAY2-PICO - 51.158.126.113]
│ └── terraform.tfvars │ └── terraform.tfvars
├── ansible/ ├── ansible/
│ ├── ansible.cfg │ ├── ansible.cfg
│ ├── inventory/hosts.yml │ ├── inventory/
│ ├── templates/wg0.conf.j2 │ │ ├── hosts.yml
│ │ └── group_vars/all/vault.yml # Secrets chiffres (Ansible Vault)
│ ├── site.yml # Orchestre tout │ ├── site.yml # Orchestre tout
│ └── playbooks/ │ └── playbooks/
│ ├── base.yml # User Elewyn, SSH hardening, packages │ ├── base.yml # User Elewyn, SSH hardening, packages
│ ├── docker.yml # Docker sur forgejo/nextcloud/tools │ ├── docker.yml # Docker sur forgejo/nextcloud/tools
│ ├── gateway.yml # WireGuard + Caddy │ ├── gateway.yml # WireGuard + Caddy (homelab)
│ ├── forgejo.yml # Forgejo + PostgreSQL │ ├── forgejo.yml # Forgejo + PostgreSQL
│ ├── nextcloud.yml # Nextcloud + montage NFS QNAP │ ├── nextcloud.yml # Nextcloud + montage NFS QNAP
│ └── tools.yml # Stirling PDF │ ├── tools.yml # Stirling PDF
│ ├── vps.yml # VPS Scaleway (WireGuard + Caddy)
│ └── templates/
│ ├── wg0.conf.j2 # WireGuard gateway
│ ├── wg0-vps.conf.j2 # WireGuard VPS
│ ├── Caddyfile-vps.j2 # Caddy reverse proxy
│ ├── forgejo.env.j2
│ └── nextcloud.env.j2
└── docker/ └── docker/
├── gateway/Caddyfile ├── gateway/Caddyfile
├── forgejo/ ├── forgejo/
@ -216,9 +216,19 @@ Internet --> [VPS Scaleway PLAY2-PICO - 51.158.126.113]
## Budget ## Budget
### Recurrent
| Poste | Cout | | Poste | Cout |
|-------|------| |-------|------|
| NDD elewyn.dev | ~7 EUR/an | | NDD elewyn.dev | ~7 EUR/an |
| VPS Scaleway PLAY2-PICO | ~48 EUR/an | | VPS Scaleway PLAY2-PICO | ~48 EUR/an |
| Disque QNAP remplacement | ~20-30 EUR (une fois) | | **Total annuel** | **~55 EUR/an** |
| **Total premiere annee** | **~80 EUR** |
### Hardware (one-shot)
| Poste | Cout |
|-------|------|
| Disque QNAP remplacement | ~25 EUR |
| Intel Xeon Gold 5120 | ~20 EUR |
| RAM 16 Go HP PC4 1RX4 2666 MHz | ~80 EUR |
| **Total hardware** | **~125 EUR** |