Make some notes on how to bring up servers
This commit is contained in:
parent
e7c73f98dd
commit
b2f59a9c77
1 changed files with 30 additions and 2 deletions
32
README.md
32
README.md
|
@ -42,6 +42,34 @@ To transfer the secrets needed for OpenTofu from Bitwarden to OpenBAO/Vault run:
|
|||
nix run '.#bitwarden-to-vault'
|
||||
```
|
||||
|
||||
## Immediate TODO list:
|
||||
# Bootstrapping
|
||||
|
||||
1. Make the hetzner-static-ip.service not fail when the IP is already assigned.
|
||||
## security.kaareskovgaard.net
|
||||
|
||||
The first instance to create is `security.kaareskovgaard.net` as that hosts OpenBAO which is used to deploy all the other instances.
|
||||
|
||||
First read the README for that instance, regarding the bootstrapping process (flip a boolean switch in the configuration). Then:
|
||||
|
||||
```bash
|
||||
nix run '.#create-instance' -- security.kaareskovgaard.net
|
||||
nix run '.#configure-instance' -- security.kaareskovgaard.net
|
||||
```
|
||||
|
||||
Then unbootstrap the instance and:
|
||||
|
||||
```bash
|
||||
nix run '.#update-instance' -- security.kaareskovgaard.net
|
||||
nix run '.#configure-instance' -- security.kaareskovgaard.net
|
||||
```
|
||||
|
||||
## monitoring.kaareskovgaard.net
|
||||
|
||||
Every instance attempts to send logs and metrics to the monitoring instance, as such this should be created next. This should be a simple:
|
||||
|
||||
```bash
|
||||
nix run '.#create-instance' -- monitoring.kaareskovgaard.net
|
||||
```
|
||||
|
||||
## The rest
|
||||
|
||||
At this point every other instance should be able to be brought up. The `create-instance` command should be all that is needed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue