Self-Hosted Cloud
A self-hosted cloud means running the file-sync-and-share software yourself instead of renting it from Google, Apple, or Dropbox. The files, photos, calendar, and contacts live on a box you own, and there is no monthly bill or storage cap once the hardware is paid for. For most people the right platform is Nextcloud, because one install replaces the whole account: files, calendar, contacts, photos, and shared docs. If you only care about fast, reliable file sync and want less to maintain, ownCloud Infinite Scale or Seafile beat it. All of these are free to run yourself.
Updated 2026-09-14 · by Jonathan Caruso
Top pick
Nextcloud
Nextcloud is the one that covers the whole personal cloud, not just files. Out of the box you get sync clients for Windows, Mac, Linux, iOS, and Android, share links, calendar and contacts that sync over CalDAV and CardDAV, a photos app with phone auto-backup, and an office suite through Collabora or OnlyOffice. An app store adds notes, tasks, and Talk for calls. It is the closest single install to replacing a Google or iCloud account, which is what most people mean when they search for a self-hosted cloud. If you want just files and sharing, the leaner options below cover that with less to run.
The options
Nextcloud
AGPLv3, free (Nextcloud Enterprise is a paid support subscription you do not need to self-host)A full personal-cloud suite: files, calendar, contacts, photos, and an office editor, with sync clients for every platform and an app store for more.
Visit Nextcloud site- Runs on
- Docker or a LAMP/LEMP stack, roughly 2-4 GB RAM. Runs on a mini PC or a NAS.
- Pick it if
- You want to replace your whole Google or iCloud account, files plus calendar, contacts, and photos, from one install.
ownCloud Infinite Scale
Apache-2.0, freeThe ground-up Go rewrite of ownCloud. A single binary with no PHP and no separate database to babysit, built around Spaces for shared storage.
Visit ownCloud Infinite Scale site- Runs on
- Docker or one binary, light on RAM. Scales to many users on modest hardware.
- Pick it if
- You want fast, low-maintenance files and sharing without the PHP stack, and you do not need the wider Nextcloud app catalog.
Seafile
Community Edition is open source and free; Seafile Pro is free for up to three users, paid beyond thatA file-sync platform built around block-level sync, so it stays fast and reliable with very large libraries and lots of small files.
Visit Seafile site- Runs on
- Docker, roughly 1-2 GB RAM.
- Pick it if
- You want the fastest, most dependable raw file sync and versioning, without calendar, contacts, or an office suite in the same app.
Pydio Cells
Home edition is AGPLv3 and free; Enterprise is paidA Go-based document-sharing platform with a permissions and workflow model (Cells) aimed at teams, plus SSO and granular access control.
Visit Pydio Cells site- Runs on
- Docker or a single binary with its own datastore. A couple of GB of RAM.
- Pick it if
- You want team file sharing with fine-grained permissions and SSO, closer to an enterprise document store than a personal drive.
Syncthing
MPL-2.0, freePeer-to-peer folder sync with no central server. Your devices sync directly to each other over an encrypted connection.
Visit Syncthing site- Runs on
- Tiny. Runs on a Raspberry Pi or any always-on device.
- Pick it if
- You want folders mirrored between your own devices with no server, no web UI to expose, and no account anywhere.
How to choose
Start by deciding how much of the cloud you actually want to replace. If the goal is your whole Google or iCloud account, files plus calendar, contacts, and photos, Nextcloud is the only option here that does all of it in one place, and it is the pick for most home users. If you only want files, sharing, and versioning, ownCloud Infinite Scale and Seafile do that job faster and with less to maintain: oCIS drops the PHP and database stack entirely, and Seafile's block-level sync is hard to beat on big libraries. Pydio Cells leans toward teams that need real permissions and SSO. Syncthing is the odd one out, since it is not a server you log into; it just keeps folders in sync between your devices, which works as a companion to any of the others or on its own if that is all you need.
However you run it, treat the setup like it holds the only copy of your data, because eventually it will. Put the app in a container (Docker or Podman both work), keep it off the open internet by reaching it over a VPN like WireGuard or Tailscale or behind a reverse proxy with TLS, and back the data up with something like Restic or Borg before you trust it. Photos are the one piece worth handling separately: Nextcloud's photos app is fine, but if pictures are the main thing you are moving off Google, Immich is the better dedicated tool. Plan the disks with the RAID and ZFS storage calculator so you know how much usable space you actually get.
The verdict
Run Nextcloud. It is the one install here that replaces a whole Google or iCloud account, files plus calendar, contacts, and photos, and for most home setups that is exactly the point of a self-hosted cloud. Drop down to ownCloud Infinite Scale or Seafile if you only want fast file sync and sharing and would rather maintain less: oCIS to skip the PHP stack, Seafile if you are pushing a huge library and want block-level sync. Pydio Cells fits a team that needs real permissions and SSO, and Syncthing is the no-server option for keeping your own devices in sync. Whichever you pick, run it in Docker, keep it behind a VPN or reverse proxy, and back it up with Restic or Borg before you depend on it. If photos are the main thing you are moving, pair any of these with Immich.
FAQ
Is Nextcloud free if self-hosted?
Yes. Nextcloud is AGPL-licensed and free to download and run yourself, with no per-user fee and no storage cap beyond your own disks. The only paid product is Nextcloud Enterprise, a support and hardening subscription aimed at companies, and you do not need it to self-host. Your real costs are the hardware and the electricity to keep it on.
Which is better, Nextcloud or ownCloud?
It depends on scope. Nextcloud does the most: files plus calendar, contacts, photos, an office suite, and an app store, so it replaces a whole Google account. ownCloud Infinite Scale, the modern Go rewrite, does less on purpose and is faster and simpler to run, with no PHP or separate database. Pick Nextcloud for a full personal cloud, oCIS if you want lean, quick file sharing and can live without the extra apps.
What are some self-hosted alternatives to iCloud?
The closest single replacement is Nextcloud, which covers iCloud Drive, Calendar, Contacts, and Photos in one install and syncs to iPhones over standard CalDAV and CardDAV. For photos specifically, Immich mirrors the iCloud Photos experience more closely with automatic phone backup. For plain file sync, Seafile or Syncthing work well.
How do I host my own cloud?
Put one always-on machine on your network, a used mini PC or a NAS is plenty, install a stable Linux base and Docker, and run the platform in a container. Reach it from outside over a VPN or a reverse proxy with TLS rather than forwarding a port straight to it, and set up a backup before you move real data in. Pick a boring, stable Linux base, put Docker on top, and plan the disks so you know how much usable space you actually get.
Is self-hosting legal?
Yes. Running your own server to store your own files is legal everywhere that normal internet use is. You are responsible for what you put on it, so the usual rules about copyrighted material and, if other people use your server, local data-protection law still apply. Hosting your personal files, photos, and calendar for yourself and your household is not a gray area.
Why use a NAS instead of paying for cloud storage?
Cost and control. A 2 TB plan from Google One or Dropbox runs somewhere around a hundred dollars a year, every year, and the provider can scan your files, change pricing, or close the product. A self-hosted cloud on a NAS is a one-time hardware cost plus power, your data never leaves your network, and you decide when to upgrade. The tradeoff is that you own the backups and the uptime; if a disk dies and you kept no backup, no support line is coming.
How much does a self-hosted cloud cost to run?
The software here is free. The cost is the box and the electricity. A used mini PC or a low-end NAS with a couple of drives covers most homes, and a small always-on server draws little enough power that it runs to a few dollars a month. Compare that to a recurring subscription for the same space: the hardware usually pays for itself inside a year or two, and everything after that is close to free.
Is my data safe on a self-hosted cloud?
It is as safe as your backups and your network hygiene. Two rules cover most of it: keep the service off the open internet, reaching it over a VPN or behind a reverse proxy with a login and TLS instead of a forwarded port, and keep a real backup on separate disks or another location. Do both and a home cloud is safer than handing the same files to a company you cannot audit. Skip the backup and one dead drive takes everything, which is the failure mode a paid service quietly handles for you.