Update infra

This commit is contained in:
Benoît S 2021-08-29 12:11:06 +00:00
parent c995d44a3e
commit 8eb21f33db

View file

@ -1,38 +1,61 @@
```mermaid
graph TD
LXD[LXD server at home]
LXD --> LXC{"Containers *.benpro.fr"}
LXC --> CF
CF[Cloudflare] --> INTERNET[Internet]
LXD --> |lxd export| HDD
HDD --> |Backups borg| BORGBASE[borgbase.com]
HETZNER[Hetzner] --> MAIL[mail.benpro.fr]
MAIL --> INTERNET
MAIL --> |Backups borg| BORGBASE
EC2[AWS EC2] --> DNS[dns.benpro.fr]
DNS --> INTERNET
YOU[Curious visitor] --> INTERNET
```
.-,( ),-.
.-( )-.
( cloudflare )
'-( ).-'
'-.( ).-'
|
|
v
.--------------------------.
| Hetzner | .----------------------------.
| ____ | | OneCloud |
| |====| | | |
| | | 10.0.1.2| Tunnel Wireguard | 10.0.1.1 ____ |
| | |<---------------------------------------|====| |
| |____| | | | | |
| adm00 | | | | |
| | | | |____| |
| v | | filer00 |
|==========================| | |
| ____ ____ ____ ____ | | |
| |====||====||====||====| | '----------------------------'
| | || || || | | .---------------------------.
| | || || || | | | 10.0.0.0/16 via 10.0.1.2 |
| |____||____||____||____| | | No other private networks |
| lxd00 lxd01 lxd02 mail | '---------------------------'
'--------------------------'
.---------------------------------------.
| 10.0.0.0/16 via 10.0.0.1 |
| hetzner-rt 10.0.0.1 |
| mail 10.0.0.2 |
| lxd00 10.0.0.3 |
| lxd01 10.0.0.4 |
| lxd02 10.0.0.5 |
| adm00 10.0.0.6+10.0.1.2 |
| 10.0.1.0/24 via 10.0.0.1 via 10.0.0.6 |
'---------------------------------------'
```
root@lxd:~# lxc ls -cn
+---------+
| NAME |
+---------+
| archive |
+---------+
| blog |
+---------+
| doc |
+---------+
| flux |
+---------+
| git |
+---------+
| irc |
+---------+
| lnk |
+---------+
| ntop |
+---------+
| paste |
+---------+
| photos |
+---------+
| pics |
+---------+
| pix |
+---------+
| pwd |
+---------+
| time |
+---------+
| toots |
+---------+
| twt |
+---------+
| videos |
+---------+
| www |
+---------+
```