Posts Tagged With: technology

I bought a NAS and accidentally built a tiny data centre

A couple weeks ago I bought a NAS because I wanted somewhere sensible to store my Plex library (which was sat on a flaky USB hard drive connected to my always-on Mac mini) and provide Time Machine backup for my two Macs.

That was the plan. Simple.

A nice, boring, responsible grown-up storage solution.

Fast forward a couple of weeks and I’ve accidentally-on-purpose built what can only be described as a budget enterprise media bunker with VPN mesh networking, internal DNS routing, automated torrent workflows, dashboard telemetry, HomeKit camera integrations and enough storage to archive a modest Principality.

As these things tend to go.

The heart of it all is a QNAP TS-464 stuffed with four 22TB Toshiba Enterprise drives in Raid 5. Which means:

  • It stores an absurd amount of data, and
  • One drive can die without me immediately entering a state of spiritual collapse.

Originally, the goal was just:

  • Move Plex media off the randomly disconnecting USB drive
  • Centralise Time Machine backups
  • Stop relying on ‘vibes’ as a data resilience strategy

But once the NAS existed, it immediately became obvious it could far more than hold files, as my first job tinkering with the servers at an internet hosting company came screaming from the void of forgotten things in my brain to the forefront. Who knew you could have muscle memory for vi?

Plex moved off the Mac and became a proper always-on media server without having a computer running all the time. Then I added an HDHomeRun Flex Quatro, which basically turned the whole setup into a DIY Sky+/TiVo replacement. Live TV streams around the house now, Plex records broadcasts directly onto the NAS, and somewhere along the line I found myself learning far more about multicast networking than any sane person should. Particularly since I never really watch live TV, haha!

Of course, the second you start self-hosting things, IP addresses begin breeding in dark corners. Suddenly you’re trying to remember whether qBitttorrent lives on :8080 or :8090 and whether Homarr was .71 or .73 and honestly, life is too short for that nonsense.

So naturally I ended up deploying AdGuard Home and Nginx Proxy Manager to create proper internal DNS routing.

Now everything has delightfully nerdy addresses like:

  • adguard.home.arpa
  • nas.home.arpa
  • router.home.arpa
  • etc..

Which makes the whole thing feel dramatically more professional than it probably is (and certainly more so than it needs to be!).

Then came the dashboard phase.

Homarr dashboard on mobile

I discovered Homarr and immediately lost a few hours redesigning widgets that nobody except me will probably ever properly appreciate.

But now I’ve got a mobile-friendly dashboard that surfaces quick links to the assorted things installed on there, NAS stats, services health and other telemetry so I can feel like I’m managing a tiny data centre from the sofa (which I suppose I am!).

It works beautifully as a web app on my iPhone.

And because I’m apparently incapable of leaving things alone, I also wanted all of this available remotely.

Securely, naturally.

Without opening horrifying holes in the router.

Enter Tailscale – which honestly feels like cheating. Suddenly my phone and laptop behave as though they’re still inside the home network even when I’m elsewhere. My entire Homarr dashboard, internal services and admin tools now work remotely as though the house itself has been quietly stuffed in my pocket.

The ‘tiny but brilliant’ things are probably my favourite parts though.

For example: I now have a non-HomeKit compatible doorbell camera appearing inside Apple Home because Scrypted is essentially digital witchcraft.

My torrent setup can accept magnet links emailed to a dummy address, automatically feed them into qBittorrent, then email me when the download is complete like some sort of shady digital butler.

The Nvidia Shield TV Pro has also evolved into an absurdly polished media appliance. Projectivy Launcher cleaned the interface of all the Google cruft, Surfshark selectively routes only certain apps through VPN, and assorted apps cover the combination of things I stream externally and internally on Plex. The whole thing feels smoother and cleaner than most commercial streaming boxes I’ve encountered.

Somewhere along the way I also accidentally reawakened the person who gets excited by:

  • Reverse proxies
  • SSL certificates
  • DNS propagation
  • Multicast traffic
  • Graceful UPS shutdown behaviour
    Whether dashboards have the correct border radius

I regret nothing.

What I love most is that it not longer feels like a pile of separate gadgets.

Everything talks to everything else.

The NAS handles storage and services. Plex handles media. HDHomeRun handles TV. AdGuard handles DNS. Tailscale stitches the entire thing remotely. Homarr surfaces everything cleanly. The Shield makes it pleasant to actually use day to day.

And underneath all the nerdy nonsense, the original goal still quietly works perfectly: the Macs backup automatically, the Plex library is centralised, and everything feels vastly more robust than it did before.

It’s just that the “simple NAS storage project” accidentally evolved into a full-blown self-hosted ecosystem somewhere along the way – thanks to a geeky tendency, awareness of the kind of things that could be achieved – that can, thanks to the power of AI assistants, be converted into clear step by step instructions to achieve what you need!

I’m sure there’ll be more tinkering to come…

Categories: Blog | Tags: , , , , , , , , , | Leave a comment

Severance..

I never really gave it much thought, in truth, but always had a kind of warm fuzzy glow that I still hosted a few domain names through the employer of my first ‘proper job’.

Notwithstanding I’m sure that a series of mergers and takeovers and things make that company completely unrecognisable from the initially small local internet hosting business I joined back at the start of the millennium (!).

I remember when Nominet launched the me.uk extension the technical guys developing a system to apply for them on launch, I logged into my account and successfully snagged both my forename and surname – not sure why on the former, but the latter has enabled me to have a very neat email address over the years, as I’ve transferred it from a hosted account, to connecting it to my Googlemail account before finally completing the ubiquitous Apple ecosystem my life is connected to.

So I had one domain name, this one, pointed to the WordPress nameserver to handle hosting, with the MX records pointing back to my old employer to handle email forwarding, the other two names the DNS was handled by the old employer – with the MX records for my surname pointing at Apple, and web forwarded here, and for my forename it was all just web and email forwarding.

I hadn’t realised they disabled email forwarding some time ago – I’m not even sure how I noticed, but it prompted one of those far too late at night rabbit holes. Things I’ve not thought about for years if not decades – A records, CNAME records, MX records, name servers – all came flooding back as I belligerently decided to transfer these last little remnants and sever all ties, to a host with less restrictive offerings.

If nothing else it’s made me update all the registrant details for the domains, spread between at least three former addresses – haha! And so far I seem to have managed to get everything pointing in the right direction, without utterly destroying my live email account too. Which is a bonus!

But yeah, it felt kinda weird to have formally severed any relationship with that first foray into gainful employment – even if nobody at the company from the office workers to the owners are probably in any way related to the folk I worked with an for!

Categories: Blog | Tags: , | Leave a comment

Create a free website or blog at WordPress.com.