In my first blog, I talked about how, why and when you should self-host your mail (check it out here). TL;DR: it was primarily to take back control of my tech, and with the kind of security/privacy paranoia that I have, it obviously wasn't gonna stop there. Email was just the first step, and since then my setup has been upgraded quite a bit.
Along the way, I have stumbled upon a new hobby: homelabbing. For those of you who don't know, it's just creating your own small IT laboratory to learn, build, break, troubleshoot, and understand how real IT infrastructure works. Now I am always trying out new tools and services that I can self-host and integrate into my life.
In this blog, I will go over the apps and services that I have self-hosted, and why and how I use them daily.
So in this new setup, my goal was to self-host the daily-use apps that you generally get with the Google/Microsoft suite, such as Calendar, Contacts, Photos, Drive, etc. Also, now this was not just gonna be for my personal use. I was going to add my family to this setup as well, so it had to be easy to use for a non-techie.
Here are some of the rules/principles that I followed while choosing the apps/services:
Here is a list of the apps in my current setup:
Most of this setup runs at my home on a bunch of old laptops, and some of it runs on my own VPSs in the cloud: the services that have to be reachable from the internet, like mail and the Headscale server itself. The laptops at home need to be running 24/7, so they are also connected to a small UPS. And since old laptops won't last forever, everything important (photos, files, mail and configs) is backed up automatically, with a copy kept off-site, so a dead laptop is an inconvenience, not a disaster. The setup does come with a cost, as I had to rent more VPSs for additional stuff. The laptops running 24/7 at home also add to the cost; I haven't calculated it, though. If you are planning to do the same, the extra VPS cost is completely optional, as it is just for the public services. If you'd rather set it up just for use on your home network, you don't need the extra public VPS for your public services.
This setup comes with its own shortcomings; after all, I am a single person managing a small corporate-like infra, and that too from home. The other day, I wanted a photo from my Immich gallery when I was out of town and, lucky me, the Immich server was not connected to the VPN for some reason, so I couldn't get it. I never found the exact cause, but the fix was making the VPN start and reconnect automatically on every machine, and setting up Uptime Kuma to alert me on my phone the moment any service goes offline, so now I find out before I actually need something. Another time, when we were switching our ISP (moving to a new Wi-Fi provider), it took about 3-4 days, and in that time, all the services were down (remotely). To avoid that, the home lab now has a backup mobile data connection that takes over automatically if the main internet goes down. So self-hosting does come with its share of issues and problems, compared to just using services from a big-tech provider. It all comes down to control over your data, and I would put up with these small inconveniences to get back control over my data and services any day.
This essentially becomes a small, personal, corporate-ish network, with all the same components that big corporate networks use. It's the same building blocks, just at a different scale. For a business, you'd build it for higher stakes: proper servers instead of old laptops, redundancy, monitoring and tested backups.
| My Home Setup | What Companies Call It |
|---|---|
| Authentik | Entra ID / Okta |
| Headscale | Corporate VPN / Palo Alto's GlobalProtect' |
| Stalwart | Exchange / Google Workspace Mail |
| OpenCloud | Google Drive / SharePoint / OneDrive |
| GoToSocial | Viva Engage |
And we are seeing this shift in companies and governments more prominently than ever. Organisations are now moving towards IT and data sovereignty, and for the same reason as mine: more control over data. In recent years, we have seen major developments in the EU. The EU Data Act, which started applying in September 2025, makes it easier for companies to switch cloud providers and to access the data their own devices generate. Countries are acting on it too. Denmark's Ministry of Digital Affairs has started moving away from Microsoft. In France, the Gendarmerie has been running its own Ubuntu-based Linux on most of its computers since 2008, the city of Lyon announced a move to open-source software in 2025, and the government has built an open-source office suite for its civil servants, La Suite numérique. In Germany, the state of Schleswig-Holstein is moving its administration to LibreOffice, with Linux next, and at the federal level, Germany is backing openDesk, an open-source workplace suite, all to reduce dependency on foreign IT giants. India too has developed its in-house payment infra with RuPay and UPI, and with the DPDP Act 2023, it now has its own law on how personal data must be collected, stored and used. This is to be expected in a world where AI is growing day by day, with data at the centre of it all. Organisations will have to think about how and where their data is being used.
The final question: should you also build a similar setup and self-host whatever is possible? It depends, obviously. Are you willing to give up some conveniences and features to control your own data? Are you willing to pay a little extra for the services you now get for free? Do you actually care about how and where your data is being used? If yes, then this is for you.
Apart from the control and sovereignty aspects, this exercise also gave me countless insights into how exactly these huge infrastructures are designed and managed. Even if you don't want a network like this, it could still be a great learning experience.