homelab/README.md

44 lines
714 B
Markdown
Raw Normal View History

2022-10-16 09:09:02 +00:00
# Homelab
2022-06-08 19:49:38 +00:00
2022-11-01 19:41:45 +00:00
This repository contain my homelab Infrastructure As Code
this Homelab is build over Hashicorp software:
- Nomad
- Consul
- Vault
2022-06-08 19:49:38 +00:00
2022-11-29 21:08:34 +00:00
## Rebuild
2022-06-08 19:49:38 +00:00
to rebuild from scratch ansible need a vault server up and unseal
2022-10-16 09:09:02 +00:00
you can rebuild a standalone vault server with a consul database snaphot with
2022-06-08 19:49:38 +00:00
2022-11-29 21:08:34 +00:00
```sh
2022-06-08 19:49:38 +00:00
make vault-dev FILE=./yourconsulsnaphot.snap
```
2022-10-14 12:23:29 +00:00
## Architecture
```mermaid
flowchart LR
2022-10-14 14:02:31 +00:00
subgraph Home
2022-11-13 16:19:21 +00:00
bleys[bleys]
2022-10-14 14:02:31 +00:00
oscar[oscar]
gerard[gerard]
2022-11-13 16:19:21 +00:00
LAN
NAS
2022-10-14 14:02:31 +00:00
end
subgraph Cloud
2022-11-13 16:19:21 +00:00
corwin[corwin]
2022-10-14 14:02:31 +00:00
end
2022-11-13 16:19:21 +00:00
LAN--main road--ooscar
LAN --- bleys
LAN --- gerard
LAN --- NAS
bleys <--wireguard--> corwin
oscar <--wiregard--> corwin
gerard <--wiregard--> corwin
corwin <--> internet
2022-10-14 12:23:29 +00:00
```