Skip to main content

Layer 2 · Where your data lives

Your own private cloud

The second layer is storage you own — the home for your photos, files, and backups, and the services that replace the subscriptions. Same convenience as the big clouds, without renting your own memories back.

storage 16 min

The big cloud services are genuinely convenient — photos that sync, files on every device, backups that just happen. The catch is that the convenience is rented. Stop paying and the shelf your memories sit on gets smaller. Read the terms and your photos are training someone else’s product. A private cloud keeps the convenience and drops the rent: the same syncing, backing up, and shared photo library, running on hardware that sits in your own home.

This is the storage layer. It is where the network you built in Layer 1 earns its keep, and it is the quiet workhorse the rest of the home leans on next. One always-on box does two jobs at once: it is the home for your data, and it is where the automation services run. Get this one box right and most of an intelligent home has a dependable place to live.

Why this layer matters

  • Your data outlives any subscription. A photo library you own is still readable in twenty years. A cancelled account is not.
  • Privacy is structural, not a promise. When the files never leave your home, no terms-of-service change can reach them.
  • It is the home for everything else. Backups of every device, the automation system’s own configuration, recordings from cameras, and the small services that quietly run the house — all of it needs somewhere dependable to live.

Choosing the box: NAS, mini server, or Raspberry Pi

The same job — store the data, run the services — can sit on three quite different machines. They trade the same two things against each other: how much effort you want to put in, and how much you want to be able to change later. None is wrong; they suit different homes.

OptionWhat it isEffortExpandabilityBest when
Purpose-built NASA finished appliance with drive bays and an app suite — an example such as a Synology ”+“-seriesLow — it is designed for thisSeveral bays, add drives over timeYou want it to work without becoming a hobby
Mini serverA mini PC or small custom box running an open system — an example such as TrueNAS or ProxmoxHigher — you assemble itHigh — as much power and storage as you fitYou want more power and full control
Raspberry Pi + diskA small board with an attached driveLow cost, hands-onLimited — usually one or two drivesYou are starting small and learning the basics

A purpose-built NAS (network-attached storage) is the dependable, low-effort default: a quiet box with room for several drives, a tidy app catalogue, and sensible behaviour from day one. A Synology unit is the example we reach for most often, but the appliance is the idea, not the badge — any NAS that lets you run your own services and owns none of your data fits the same slot.

A mini server — a mini PC or a small custom build running an open system such as TrueNAS or Proxmox — gives you more processing power and total control, at the cost of setting it up yourself. It is the right answer when the home will lean hard on virtual machines and containers, or when you simply prefer to own the whole stack.

A Raspberry Pi with an attached disk is the cheapest, most hands-on starting point. For the tightest budgets a high-speed SD card stands in for the disk and works fine to get going — with the honest caveat that cards wear out under constant writes, so treat it as the most temporary tier and keep the backups in the next section especially close. Either way, real redundancy is awkward on a Pi, which makes that next section the one that matters most.

Storage and redundancy

Storage is the one place where “cheap and singular” is a false economy. A single drive is a single point of failure, and drives fail. Redundancy means arranging more than one drive so that if one dies, you lose nothing and the home keeps running while you swap it.

  • Mirror (RAID 1). Two drives holding the same data. Simple, and you can lose either one. You give up half the raw capacity to do it.
  • RAID 5 / RAID 6. Three or more drives where one drive’s worth (RAID 5) or two drives’ worth (RAID 6) is set aside for recovery. More usable space than a mirror, and you can lose a drive — two, with RAID 6 — without loss.
  • Synology SHR. Synology’s own flavour of the above that lets you mix drive sizes and grow the pool a drive at a time. Convenient, and the same idea underneath.

One rule outranks all of this, and it is the rule people learn the hard way: redundancy is uptime, not backup. A mirror protects you from a drive dying. It does nothing about a file you deleted by mistake, a folder a ransomware program encrypted, or a fire — every one of those faithfully copies itself to both drives in an instant. Redundancy keeps the box running; backups, in the next section, are what actually save your data. Size the drives to the home with room to grow, and use NAS-rated disks built for running around the clock.

The services that replace the subscriptions

A NAS is most useful when you stop thinking of it as a disk and start thinking of it as the home versions of the services you already pay for. Four cover what most homes actually use, each with apps for the PC, phone, and tablet so it behaves like the clouds people are used to:

  • Sync — files that appear on every device automatically, the shared-folder experience hosted at home.
  • Backup — automatic, versioned copies of your computers and phones, running quietly in the background.
  • Archive — the long-term shelf for things you want kept but not underfoot: documents, finished projects, scans.
  • Libraries — the photo, video, and music collections you browse and share, with albums, search, and faces.

For each one there is a low-effort default from the NAS vendor and an open alternative that does the same job without tying you to a brand. Pick by taste; the point is that both run on your hardware and answer to you:

What you rent todayWhat runs at home (default)Open alternative
Dropbox, iCloud DriveSynology DriveNextcloud, Syncthing
Google Photos, iCloud PhotosSynology PhotosImmich
Time Machine, phone backupSynology Active Backuprestic, BorgBackup
A second off-site copyHyper Backup to a remote targetrestic to encrypted off-site storage

Every default here has an open equivalent in the same row precisely so that nothing is locked in: start on the convenient vendor app, and if you ever want out, the open tool reads the same files on the same disks. Reaching all of this from outside the house uses the safe remote-access path set up back in Layer 1 — not a hole poked in the firewall.

Backups that survive the worst day

Backup deserves its own section because it is the one that saves you, and the rule for it is older than any of these products: 3-2-1. Keep 3 copies of anything you care about, on 2 different kinds of media, with 1 copy off-site. The NAS gives you the first two; the off-site copy — an encrypted target at a friend’s house, a second small NAS, or a storage provider you do not otherwise trust with plaintext — is what survives fire, theft, and flood. Keep the backups versioned, so that a file encrypted by ransomware or deleted by accident can be rolled back to the day before it went wrong, rather than dutifully overwritten everywhere. A backup you have never restored from is a hope, not a backup; test it once so you know it works.

Your configuration, in version control

There is one more subscription worth bringing home, and it is the one that quietly protects everything else. The hub’s setup, your automations, your dashboards — all of it is configuration, and configuration is just text, which benefits enormously from version control: every change recorded, every change reversible. Gitea is the open, self-hosted repository server we reach for — the home version of GitHub, with Forgejo or GitLab CE as equally open alternatives. Your own code and the home’s own configuration live in it, so a bad automation is a one-click roll-back rather than an evening of guesswork, and the whole history is swept up by the 3-2-1 backups along with everything else. It answers only to you, and like the rest, it is yours to swap.

A workhorse, not just a disk

The same always-on box is also where small services run, because it is already powered on and already where the data is. A modern NAS hosts software three ways: packages (the vendor’s one-click “plugins”), Docker containers (the open way to run almost any self-hosted service), and full virtual machines (a whole guest operating system in its own environment). A mini server running Proxmox or TrueNAS does the same three things under different names.

This is what makes the storage layer the natural home for the rest of the house. The automation brain of Layer 3 most often lives right here, alongside the sync and backup services — one box you keep running well, rather than a shelf of separate gadgets each needing their own care.

One front door, and knowing it is healthy

A box running a dozen services raises two practical questions that have nothing to do with storage: how do you reach them safely, and how do you know they are well? Both are worth settling once, with open tools, on the box you already keep running.

Ingress — one front door

Every service on the box wants its own address and its own secure connection, and exposing a dozen of them to the network one port at a time is how mistakes happen. The tidy answer is a single front door: a reverse proxy that everything sits behind, which routes each request to the right service by its name and handles the encryption — TLS — for all of them in one place. Our default is Traefik, an open proxy that discovers your services automatically and renews their certificates, from a free authority such as Let’s Encrypt, without you touching them.

This is not remote access on its own. Reaching the box from outside still rides the safe path set up back in Layer 1 — a VPN in, not a hole poked in the firewall. Traefik is what sits behind that entrance, turning “a dozen services on odd ports” into a handful of tidy, encrypted addresses. Any standards-based reverse proxy fills the same slot; the value is the single, well-kept door.

Observability — knowing it is healthy

A box you do not watch tells you it is unwell only when something stops — a disk quietly filling until it is full, a service that died on Tuesday, a backup that has not run in a fortnight. Observability is the habit of having the box report on itself, so you see trouble while it is still small. It comes in four kinds of signal, with an open tool for each:

  • Metrics — Prometheus. The numbers over time: disk space, memory, temperatures, how long each service takes to answer. Prometheus collects them and, just as importantly, fires an alert when one crosses a line you set — disk past 80%, a service unreachable for ten minutes, a backup that did not finish.
  • Dashboards — Grafana. One calm screen over all of it. Grafana turns the numbers into graphs you actually read — the health and history of the home at a glance, rather than a terminal to interrogate.
  • Logs — Loki. The searchable record of what each service actually did and said, kept locally. When something does break, Loki is where you read why.
  • Traces — Tempo. The lightest-touch of the four, for the day you need to follow one request end-to-end across several services to see where it got slow. Most homes lean on metrics and logs; Tempo is there when you want more.

Grafana, Loki, and Tempo are built to work together — the Grafana stack — and OpenTelemetry is the open, vendor-neutral wiring that feeds them. With it, even things outside the box report in: the automation brain of Layer 3, the NAS’s own system logs, a script you wrote yourself — all to one place, in one format, so the whole home is visible on one screen rather than across a dozen scattered apps. Every piece here is open-source and swappable; the discipline is what matters, not the badge.

Where the automation brain runs: plugin, VM, or containers

When the automation brain — our usual recommendation is Home Assistant, an open hub you can move or replace — runs on this box, there are three ways to host it, and choosing between them is the same trade you make with any cloud service: how much it looks after itself versus how much control you keep. At one end, a managed service you cannot open up; at the other, a box you fit out entirely yourself. Home Assistant lands on this spectrum exactly the same way.

ModelWhat it isAttention it needsControl you keepBest for
Managed add-on (“plugin”)A packaged app the host installs and updates for youLeast — it mostly looks after itselfLeast — no access underneathGetting going with the least fuss
Supervised VMHome Assistant OS running as a virtual machine on the boxModerate — the VM updates itself, you mind the hostHigh — snapshots, dedicated resources, hardware pass-throughAlmost every home
A set of containersHome Assistant plus each supporting service as its own containerMost — every piece is yours to updateMost — nothing hidden, nothing assumedPeople who want to run the whole stack by hand
  • A managed add-on, or “plugin”, is the packaged version: the host installs it, updates it, and keeps it alive, and in return you cannot really get underneath it. Least attention, least control — fine to start, limiting later.
  • A set of containers is the opposite end: Home Assistant in one container, and the database, the MQTT broker, the Zigbee bridge, and the rest each in their own, all wired together by you. Maximum control and efficiency, and maximum attention — every update and every dependency is now your job.
  • A supervised VM sits in the middle and, for most homes, gets the balance right — which is why it is what we recommend.

Our recommendation: Home Assistant OS as a VM

Run Home Assistant OS as a virtual machine on the NAS (on a Synology, in its Virtual Machine Manager; on a mini server, in Proxmox). It is the balanced choice because it gives you both things at once. From inside, you keep Home Assistant’s own Supervisor and its one-click add-ons — the convenience of the “plugin” world. From outside, the hypervisor gives you a clean snapshot before every change, the ability to restore the whole brain in minutes, dedicated memory and processor share so a busy backup never starves your automations, and a USB pass-through for a Thread or Zigbee coordinator. All of it on the box you already keep running, with no second always-on machine to power and mind.

As ever, the box and the hypervisor are the recommended default, not the only road: Proxmox or TrueNAS on a mini server host the same VM the same way, and the brain inside is yours to move between them. What the brain actually does once it is running — the integrations, the automations, the protocols it speaks — is the subject of the automation layer; here we have only given it a good place to live.

What it costs, roughly

The hardware is modest, and the cabling and power that often dominate a network budget were already handled back in Layer 1. Here the real variable is how much you store. Order-of-magnitude ranges, with example products only to anchor the numbers — every role is swappable:

RoleWhat it doesExampleRough cost
The box (NAS)stores the data and runs the servicesSynology 2- to 4-bay ”+“-series~€300–650
The box (mini server)same job, more power and controlmini PC running Proxmox / TrueNAS~€300–700
The box (entry)a hands-on starting pointRaspberry Pi 5 with an SSD enclosure (or a high-speed SD card, for the tightest budget)~€80–200
Drivesthe storage itself, sized to the homeNAS-rated HDD, per drive~€90–250
UPS (recommended)rides out power cuts, shuts down cleanlysmall line-interactive unit~€60–120

The services on top — the sync and backup apps, the version control, the single front door, the monitoring — are free, open-source software running on the box you already have, so they add nothing to this table. A two-drive mirror in a small NAS with a UPS covers a typical home comfortably; the cost grows with capacity, not with ambition.

How DOMINIO does it

We size the storage to your home rather than to a sales tier, and we build it on open standards and equipment you own — no monthly fee, no manufacturer cloud holding the data, nothing you cannot replace later. It runs locally on your own network, reachable from your devices over the same secure remote-access path the network layer set up, and backed up 3-2-1 so a single failure is never a loss. The everyday services behave like the cloud you are used to, and the automation brain lives here too — as a supervised VM, so it is dependable, isolated, and recoverable from a snapshot in minutes. Everything sits behind a single encrypted front door, its configuration kept in version control, and the box watches its own health — so trouble surfaces as a quiet alert rather than a nasty surprise. The result is one well-kept box that answers only to you: yours to own, open to swap, and honestly sized to what your home actually needs.


With the network secured and your data at home, the next layer ties it all together — see The automation layer, the brain.

When you want it designed around your home rather than in the abstract, that is what a discovery call is for.

Want advice for your own home?

Start with a discovery call — we will tell you honestly what makes sense for your home, one layer at a time.