Layer 3 · self-hosting reality check
What it actually takes to self-host Nextcloud
The docs say 512 MB. In practice you want 4 GB. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.
Usually reached from Dropbox alternatives, where Nextcloud is one of the picks.
| RAM — documented minimum | 512 MB |
|---|---|
| RAM — what it really needs | 4 GB |
| CPU | 2 vCPU |
| Disk | Your data + 30% headroom. Preview generation alone can add 20% of library size. |
| Monthly cost | $12–24/mo for a 5-user instance on a 4 GB VPS, plus object storage if the library outgrows the disk |
| Setup time | 2 hours with Docker Compose, a weekend if you want it right |
| How you install it | docker compose, or the AIO container which bundles Redis, the database and the reverse proxy |
| Ongoing maintenance | Monthly app updates that occasionally break each other, database tuning as the file count grows, and PHP version bumps every major release. Budget an hour a month. |
| Where it stops scaling | Comfortable to ~30 users on one 4 GB box. Past that you need object storage for files, a separate database host, and to care about PHP-FPM tuning. |
The thing that catches people out
The default install uses SQLite, which falls over somewhere around three concurrent users and is painful to migrate off later. Start on PostgreSQL and add Redis for file locking on day one — retrofitting both after your library is large is the single most common Nextcloud regret.
When not to self-host Nextcloud
You need reliable mobile photo auto-upload for a family that will not tolerate a bad sync day, or you are replacing Dropbox for people who will call you when it breaks. Nextcloud rewards an owner.
Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.
Other Layer 3 self-hosting guides
Common questions
- How much RAM does Nextcloud actually need?
- 4 GB in practice. The documented minimum is 512 MB, which is the figure at which the process starts rather than the figure at which it works under real use. 2 vCPU alongside it.
- What does self-hosting Nextcloud cost per month?
- $12–24/mo for a 5-user instance on a 4 GB VPS, plus object storage if the library outgrows the disk This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for monthly app updates that occasionally break each other, database tuning as the file count grows, and PHP version bumps every major release. Budget an hour a month.
- How long does it take to set up Nextcloud?
- 2 hours with Docker Compose, a weekend if you want it right, via docker compose, or the AIO container which bundles Redis, the database and the reverse proxy.
- When should I NOT self-host Nextcloud?
- You need reliable mobile photo auto-upload for a family that will not tolerate a bad sync day, or you are replacing Dropbox for people who will call you when it breaks. Nextcloud rewards an owner.
- What is the most common mistake when self-hosting Nextcloud?
- The default install uses SQLite, which falls over somewhere around three concurrent users and is painful to migrate off later. Start on PostgreSQL and add Redis for file locking on day one — retrofitting both after your library is large is the single most common Nextcloud regret.