From cf5f50e393509bc6f80fa5aa973de1dcc3b8d6ec Mon Sep 17 00:00:00 2001 From: Rasmus Wejlgaard Date: Sun, 12 Nov 2023 18:40:51 +0000 Subject: [PATCH] added self-hosting doc --- components/.gitignore | 0 components/ansible/README.md | 2 ++ components/plex/README.md | 2 ++ components/self-hosting/README.md | 19 +++++++++++++++++++ components/ubuntu/README.md | 2 ++ introduction.md | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) delete mode 100644 components/.gitignore create mode 100644 components/ansible/README.md create mode 100644 components/plex/README.md create mode 100644 components/self-hosting/README.md create mode 100644 components/ubuntu/README.md diff --git a/components/.gitignore b/components/.gitignore deleted file mode 100644 index e69de29..0000000 diff --git a/components/ansible/README.md b/components/ansible/README.md new file mode 100644 index 0000000..114000d --- /dev/null +++ b/components/ansible/README.md @@ -0,0 +1,2 @@ +# Ansible + diff --git a/components/plex/README.md b/components/plex/README.md new file mode 100644 index 0000000..e17f133 --- /dev/null +++ b/components/plex/README.md @@ -0,0 +1,2 @@ +# Plex + diff --git a/components/self-hosting/README.md b/components/self-hosting/README.md new file mode 100644 index 0000000..ba3a0ac --- /dev/null +++ b/components/self-hosting/README.md @@ -0,0 +1,19 @@ +# Self Hosting + +## Why + +I've chosen to self-host my servers as opposed to using one of numerous cloud offerings from the likes of AWS and GCP. + +This boils down to one reason, recurring payment. I feel much more at ease knowing that I don't have to keep my credit-card up to date and that my servers will still be here tomorrow even if I get a new card in the mail. + +This also makes it easier to expand. Sure, I could spin up a server that's equivalent to my london-b server but AWS would charge me 868 USD per month for the pleasure. + +If I extrapolate that to a whole year for all my servers I have running I would be looking at a whopping 14,168 USD per year (1,180 USD per month). + +It also has the side-effect that I get to have a rack cabinet in my house which brings at least some street cred when having people over. + +## How + +These servers were kind of free, they consist either of my old personal computers for gaming that I've repurposed into servers as I no longer have a particular interest in gaming (at least not enough to warrent a dedicated machine). + +Everything I have installed on the servers is controlled and deployed via [Ansible](../ansible) so if I got a new server all I need to do is install the OS, setup SSH keys and install Tailscale. That's it, Ansible will take it from there and deploy things like node-exporter, portainer-agent and any other roles I have assigned to the specific server. \ No newline at end of file diff --git a/components/ubuntu/README.md b/components/ubuntu/README.md new file mode 100644 index 0000000..ec4e5bc --- /dev/null +++ b/components/ubuntu/README.md @@ -0,0 +1,2 @@ +# Ubuntu + diff --git a/introduction.md b/introduction.md index 6775246..6c3784d 100644 --- a/introduction.md +++ b/introduction.md @@ -4,7 +4,7 @@ This repository contains documentation for my homelab setup, which spans numerou ## Components -The components of my homelab setup are documented in the subfolder "components". Each component has its own markdown file which contains why I've chosen to use it and how I'm using it. +The components of my homelab setup are documented in the subfolder "components". Each component has its own folder which contains why I've chosen to use it and how I'm using it. ## Locations