Self Hosted Cloud Storage: Where to Start at Home

You have probably had this thought. Your photos, documents and backups sit on someone else’s computers, and you would like them on your own. Maybe a price change annoyed you. Maybe a data breach did. Maybe you just want to own your stuff.

That wish is reasonable, and it is doable. Self hosted cloud storage means you run the service yourself, on a computer you control, instead of renting space from a big company. This guide gives you a first path: what to prepare, which apps to look at, and how to reach your files when you are away from home.

You will not finish in one evening, and you do not have to. Reading this and picking a first small project is a good start.

Before you start

Self-hosting is running a service, like photo backup or file sync, on a computer you control instead of a company’s servers. The computer that runs it is called a server. A server is just a computer that stays on and provides a service to your other devices.

This guide covers the first decisions. It does not cover buying specific hardware models, building a rack, or running a business. If you only need to share a file with a friend once, you can skip all of this. A big company’s cloud is fine for that.

Be honest with yourself about one thing. When you host your own storage, you are also the person who fixes it. Nobody else will restart it, update it or notice that a disk is full. For many people that trade is worth it. For some it is not, and that is a fine answer.

Pick what you want to replace

“Cloud” is really several jobs bundled together. Two come up most often:

  • Files and documents, the kind of thing you keep in Google Drive.
  • Photos and videos from your phone.

You do not need to replace both on day one. Start with the one that bothers you most. Two open source projects are worth a look, one for each job. Open source means anyone can read, check and improve the code.

Nextcloud for files

Nextcloud is a project aimed at file storage and sync, and it is the usual name you hear when people talk about replacing a file service like Google Drive. It has desktop apps too. Its desktop client runs on Windows 10 or newer and on macOS Monterey (12.0) or newer [1].

Jake, for example, keeps tax records, scanned letters and a few work files. He wants them off a big company’s servers. Nextcloud is the kind of tool he would look at first.

Immich for photos

Immich is built for photos and videos. Sarah has ten years of family pictures on her phone and a nagging worry about where they all end up. Immich is the sort of app she would look at.

You can run both. Many people start with just one, learn how it behaves for a few weeks, and add the second later.

Check the hardware you need

Here is where plans meet reality. Each app asks for a minimum amount of computer power. You do not need to understand every term, but you should check your spare machine against the numbers.

What Nextcloud asks for

Nextcloud needs at least 128MB of memory (RAM) per process, and the project recommends at least 512MB per process [1]. RAM is the short-term working space a computer uses while it runs programs. Those numbers are small. An old laptop can clear them.

Nextcloud also strongly recommends a 64-bit processor, operating system and PHP [1]. In practice this means a computer made in about the last decade, not a very old one. PHP is the programming language the software is written in. You do not need to learn it.

For the operating system, Nextcloud lists Ubuntu 26.04 LTS as its recommended choice [1]. Ubuntu is a free version of Linux. “LTS” means a release that gets long-term updates.

Nextcloud also stores its records in a database. It recommends SQLite only for testing and very small installs [1]. If you plan to keep this for years and for more than one person, that is a hint to set up a stronger database from the start.

What Immich asks for

Immich wants more. It needs at least 6GB of RAM and recommends 8GB [2]. It needs at least 2 processor cores and recommends 4 [2]. That rules out the oldest hardware.

Storage matters too. Immich creates smaller preview pictures and converted videos. These typically add 10 to 20 percent to the size of your photo library [2]. So if your library is 500GB, plan for roughly 550GB to 600GB, plus room to grow.

One more rule is worth remembering. Immich says its database should sit on local SSD storage and never on a network share [2]. An SSD is a fast drive with no moving parts. So do not point that part at a drive that lives somewhere else on your network.

What this means for your budget

If you already own a spare laptop or desktop, check it against these numbers before buying anything. Files-only needs are light. Photo needs are heavier. This is my opinion, not a rule: buy nothing until you know which job you are doing and have checked what you already own.

Learn what Docker is for

Many self-hosted apps arrive in a package called Docker. Docker is a popular tool for installing and running self-hosted apps in neat, separate packages. Each app lives in its own box, so one does not mess up another.

Immich requires Docker together with the Docker Compose plugin [2]. Compose is a helper that starts several pieces of an app at once from one settings file. The Immich project calls Docker Compose the recommended method to run it in production [3].

Immich also strongly discourages running on non-Linux operating systems, because Docker works poorly there [2]. That is useful to know before you try to run it on a Windows or Mac machine and wonder why it feels rough. A Linux machine is the smoother path.

During setup you choose where your uploaded files are stored. The Immich instructions have you fill in the upload location with a new directory that has enough free space [3]. Pick a drive with room. Do not squeeze this onto a nearly full disk.

Follow the project’s own instructions for the exact steps. They change over time, and the official pages are the best place for current commands. I will not copy commands here that could go out of date.

Reach your files away from home

A server in your closet is only useful if you can reach it from your phone at the airport. This is where many beginners make a risky choice. They open their home network to the whole internet so that things “just work.”

You do not have to do that. Tailscale says it helps people securely access their entire home network from anywhere [4]. It also says you can reach your home files and media remotely without opening firewall ports [4]. A firewall is a filter that decides which network traffic is allowed in or out. A port is a numbered door on a device that a particular kind of traffic uses.

Fewer open doors means fewer ways in. That is the sensible reason to prefer this approach. I have not tested it, so check Tailscale’s own documentation for the setup steps and judge it for yourself.

If you later want to share a link with other people, that needs more care. It involves a reverse proxy, a program that sits in front of your apps and directs outside visitors to the right one. That is a step for later, and a good moment to ask someone experienced for help.

A simple first plan

Here is one path that keeps things small.

  1. Decide which job you want first: files or photos.
  2. Check your spare computer against the numbers above.
  3. Install Linux on it if it does not run it already.
  4. Install Docker and Docker Compose if you chose Immich, or follow the Nextcloud documentation if you chose files.
  5. Put the data on a drive with plenty of free space.
  6. Use it for two weeks with copies of your files, not the only copy.
  7. Set up remote access once the basics work.

Step six is the one people skip. Do not skip it. Treat your first month as practice.

Common mistakes

Moving everything at once. You delete the old cloud account on day one, and then the new server hiccups. Keep your old copies until you trust the new setup.

Having only one copy. A home server is one machine in one building. If the drive fails, or the house floods, the data is gone. Keep a second copy on a separate drive, and ideally one somewhere else. The fix is a regular backup, which is a copy of your files kept apart from the original.

Buying hardware too early. People spend money on gear before they know which app they want. Check what you own first. Look at the numbers above.

Putting the Immich database on a network drive. The Immich documentation says to use local SSD storage and never a network share [2]. This one mistake can make the whole app slow or unreliable.

Opening your home network to the world. It feels like the quick way to get remote access. A tool built for the job, like Tailscale, avoids opening firewall ports [4].

Skipping updates. A server you forget about becomes a risk. Set a monthly reminder to check for updates. This is plain good habit, not a rule from any one project.

What you can skip

You can skip building a fancy setup. You do not need a rack, a dozen apps, or a custom network on day one. You can also skip the idea that self-hosting must replace every service you use. Keeping a few things with a big provider is fine.

Nobody gets perfect privacy from this. A home server shifts who holds your data. It does not make you anonymous, and it does not protect you if someone breaks into your house or your network. Be clear about what you are protecting and from whom. If your situation is serious, such as a safety risk, talk to a specialist before relying on a hobby setup.

For the technically curious

Both projects document more than this guide covers. Nextcloud’s manual lists the supported operating systems, including Ubuntu 26.04 LTS as recommended and Ubuntu 24.04 LTS as another listed option [1]. The Immich requirements page explains the memory, processor and storage targets in more detail, including how the database location affects performance [2]. Read the official pages before you install anything.

Your next step

Pick one job, files or photos. Look up your spare computer’s memory and storage this week. Write the numbers next to the app’s requirements.

You wanted your data to be yours. Start with one small box that you understand, and the rest follows.

Sources

  1. System requirements – Nextcloud Server Administration Manual
  2. Requirements – Immich documentation
  3. Docker Compose [Recommended] – Immich documentation
  4. Personal or at-home use – Tailscale docs

Leave a Comment