docs: budget restructure recurrent/hardware
This commit is contained in:
parent
1bcd191e19
commit
5b5ec98fcf
1 changed files with 33 additions and 23 deletions
56
README.md
56
README.md
|
|
@ -30,24 +30,16 @@
|
|||
|
||||
---
|
||||
|
||||
## VMs existantes
|
||||
|
||||
| VM | RAM | vCPU | Disk | Role |
|
||||
|----|-----|------|------|------|
|
||||
| VM-DEDICATED | 20 Go | 8 | 40 Go | Serveurs de jeu |
|
||||
|
||||
---
|
||||
|
||||
## VMs a creer (Terraform - provider bpg/proxmox)
|
||||
## VMs (Proxmox)
|
||||
|
||||
| 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) |
|
||||
| forgejo | 201 | 192.168.1.50 | 1 Go | 2 | 20 Go | Forge logicielle - http://192.168.1.50:3000 |
|
||||
| nextcloud | 202 | 192.168.1.51 | 6 Go | 4 | 20 Go | Cloud personnel - http://192.168.1.51:8080 |
|
||||
| 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 - https://cloud.elewyn.dev |
|
||||
| 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** | | | **~4.5 Go** | | | Reserve k3s |
|
||||
| **Reste libre** | | | **~12.5 Go** | | | Reserve k3s |
|
||||
|
||||
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 |
|
||||
|-------|-------|--------------------|
|
||||
| nextcloud-data | Donnees Nextcloud | 192.168.1.51 |
|
||||
| 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
|
||||
|
||||
- **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)
|
||||
- **WSL2 Debian** : Terraform, Ansible, kubectl, Git, cles SSH
|
||||
|
||||
---
|
||||
|
||||
## Architecture reseau cible (avec VPS)
|
||||
## Architecture reseau
|
||||
|
||||
```
|
||||
Internet --> [VPS Scaleway PLAY2-PICO - 51.158.126.113]
|
||||
|
|
@ -134,16 +126,24 @@ Internet --> [VPS Scaleway PLAY2-PICO - 51.158.126.113]
|
|||
│ └── terraform.tfvars
|
||||
├── ansible/
|
||||
│ ├── ansible.cfg
|
||||
│ ├── inventory/hosts.yml
|
||||
│ ├── templates/wg0.conf.j2
|
||||
│ ├── inventory/
|
||||
│ │ ├── hosts.yml
|
||||
│ │ └── group_vars/all/vault.yml # Secrets chiffres (Ansible Vault)
|
||||
│ ├── site.yml # Orchestre tout
|
||||
│ └── playbooks/
|
||||
│ ├── base.yml # User Elewyn, SSH hardening, packages
|
||||
│ ├── docker.yml # Docker sur forgejo/nextcloud/tools
|
||||
│ ├── gateway.yml # WireGuard + Caddy
|
||||
│ ├── gateway.yml # WireGuard + Caddy (homelab)
|
||||
│ ├── forgejo.yml # Forgejo + PostgreSQL
|
||||
│ ├── 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/
|
||||
├── gateway/Caddyfile
|
||||
├── forgejo/
|
||||
|
|
@ -216,9 +216,19 @@ Internet --> [VPS Scaleway PLAY2-PICO - 51.158.126.113]
|
|||
|
||||
## Budget
|
||||
|
||||
### Recurrent
|
||||
|
||||
| Poste | Cout |
|
||||
|-------|------|
|
||||
| NDD elewyn.dev | ~7 EUR/an |
|
||||
| VPS Scaleway PLAY2-PICO | ~48 EUR/an |
|
||||
| Disque QNAP remplacement | ~20-30 EUR (une fois) |
|
||||
| **Total premiere annee** | **~80 EUR** |
|
||||
| **Total annuel** | **~55 EUR/an** |
|
||||
|
||||
### 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** |
|
||||
|
|
|
|||
Loading…
Reference in a new issue