Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
selfhost:start [2025/03/13 09:39] – [A) The Approach] willy | selfhost:start [2025/03/13 10:09] (current) – [A) The Goal behind Selfhosting] willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 1] Self Hosting | + | ====== 1] Selfhosting |
- | ====== The Approach | + | ====== The Goal behind Selfhosting |
- | **Self-hosting** and **Home-Automation** are something that grow over time, getting more complex and elaborated. You start small, with some recycled hardware and makeshift cables | + | ==== Some ethics ==== |
+ | Self-hosting | ||
- | But then... | + | Frankly, we are used to have those services "for free", but what if Google or Apple put a pricey price tag? What will you do? (and it is **already** happening, anybody remembers how Google Photos started?) |
- | * One day your home internet connection | + | |
- | * One day power goes out at home, and you find out that an unexpected server reboot might cause side issues... | + | |
- | * One day, maybe during a hot summer day, your USB network card fails on you, when you are on vacation... | + | |
- | * One day that critical CalDAV service stop working due to a Python update and you miss an appointment... | + | |
- | * One day maybe you get hacked.... | + | |
- | So you start studying and investing | + | What will you do //when// those **free** services will start pushing ads even more down your throat? When you will not be able to understand if an e-mail is legit or pushed ad? Or when to login-in in your phone or share a contact |
- | I went trough the process (except i never got hacked, maybe my security measures where good from the beginning, or i was lucky, o maybe i just never noticed?), and you will as well go trough it. | + | The answer is complex, as any **good** answer needs to match the **problem complexity**, i tend to avoid any smartpants telling me a simple solution is available to a coimplex problem: that person is either forcing his agenda on me, or trying to trick me into something which is not so good for me. |
- | At the beginning i started out with a very simple approach, spent one year and half more or less expanding | + | So, basically **self hosting** is gaining back control on your life and be independent, |
- | ===== Basic Requirements ===== | + | ==== Where to start ==== |
+ | Self-Hosting is possible, might be less difficult than you expect, and indeed can be fun. Will this be too much for yourself? I don't know, but i don't think so, provided that you have the determination to learn new stuff and the patience to work with the occasional frustration. | ||
- | The following are the **very basics** | + | I had/have tons of fun learning new stuff and sometimes drowning in the vast ocean of free-hosting tools and stuff that's out there for you to try. You will have to draw lines, give yourself limits |
- | * Have a **proper backup plan** in place (see [[selfhost: | + | |
- | * Have **two** ISPs to provide | + | |
- | * Stored your data on some redoundant **RAID array** (see [[selfhost: | + | |
- | * Have an **UPS** solution to protect your server / disk RAIDS from blackouts | + | |
+ | What i will present in these pages are the endpoints of my journey, where i reached endpoints, and the current in-progress activities: i tried and experimented (and i still do) a lot, the pages will reflect it. | ||
- | ===== Architecture ===== | + | This is not meant to be complete nor correct, its a journey in progress which i share with you (and, to be honest, also not to forget myself what i did in case i need to redo it again). |
- | Focusing on your technological home architecture, | ||
- | * A //home server// which hosts all the private services you need (see [[selfhost: | ||
- | * An // | ||
- | * A //network gateway// which connects your home network to the outside world (see [[selfhost: | ||
- | * One or more //WiFi access points// to provide reliable WiFi coverage to your home (see [[networking: | ||
- | * An //external server// which hosts your public services, if any, and ensure external accessibility to your private services ([[selfhost: | ||
- | This approach separates the main pillars of the setup in a way that makes the overal environment more resillient and each pillar less critical if (when) it goes down for any reason like an hardware failure, software bug or just **un**planned maintenance. | + | ==== Expected Results ==== |
+ | Getting free from big tech is not an easy task and probably cannot even be truly achieved without sacrifice. The objective here is to **not** make sacrifices for as much as possible. | ||
- | < | + | **/start:** //mobile devices note...// |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | │ | + | |
- | │ | + | |
- | ┌─────────┼───────────────────────┼─────────────────────────────────┐ | + | |
- | │ | + | |
- | │ | + | |
- | │ | + | |
- | │ | + | |
- | │ | + | |
- | │ ┌───────▼───────────┐ | + | |
- | │ │ | + | |
- | │ │ home server | + | |
- | │ │ | + | |
- | │ └───────────────────┘ | + | |
- | │ | + | |
- | │ | + | |
- | │ | + | |
- | │ | + | |
- | │ | + | |
- | │ | + | |
- | │ │ ┌───┼───────────────┐ | + | |
- | │ │ │ | + | |
- | │ │ │ WiFi Access | + | |
- | │ │ │ | + | |
- | │ │ │ | + | |
- | │ │ └───────────────────┘ | + | |
- | │ | + | |
- | └───────────────────────────────────────────────────────────────────┘ | + | |
- | </code> | + | |
+ | I will **not** cover how to free yourself from google or your phone vendor' | ||
+ | Everything i **will** cover can be applied on top of whatever Android phone you already use without the need to modify it. | ||
+ | **/end:** //...mobile devices note// | ||
+ | |||
+ | These pages will cover your **home** setup, where i expect that all your data will be stored. I also assume this **home** setup will be stored in a private place, so not on some rented metal or virtual machine on the public internet, because where you store your data is as important as who manages it, and i am not impressed by the idea of cloud storing in encrypted format: all your data will still be at the mercy of your storage provider physical and IT-security, | ||
+ | |||
+ | So, what is that i aim at securing //on my own premises//? | ||
+ | * **Contacts**: | ||
+ | * **Calendars**: | ||
+ | * **Files** and personal documents: ID's scans, medical files, tax related documents... | ||
+ | * **Photos**: my family' | ||
+ | * **Notes**: store, manage and access your personal notes. | ||
+ | * **Smart Home**: access lights, heating, controls the //smart// home directly. | ||
+ | * **Media Collection**: | ||
+ | |||
+ | I will also cover self e-mail management, but with a good chunk of caveats. I strongly suggest you do not //only// rely on an email server hosted by you, but also retain at least one account on a more official email provider. Also keep in mind that **it is not possible to reliably self-host an e-mail server at home**. Yes, technically it might be possible, but if you do, you will run into a lot of issues and reliaiblity problems. | ||