macrostack

Layer 5 · self-hosting reality check

What it actually takes to self-host PhotoPrism

The docs say 2 GB. In practice you want 4 GB, and 8 GB if you index a large library. 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 Google Photos alternatives, where PhotoPrism is one of the picks.

Wondering whether you need to at all? Is Google Photos free? — what the free tier actually allows, and where the wall is.

RAM — documented minimum2 GB
RAM — what it really needs4 GB, and 8 GB if you index a large library
CPU2 vCPU; indexing is the CPU-heavy phase
DiskLibrary size plus roughly 20% for thumbnails and sidecar files
Monthly cost$20–40/mo for a 500 GB library
Setup time1–2 hours
How you install itdocker compose; MariaDB rather than SQLite for anything real
Ongoing maintenanceModerate. Reindexing after upgrades is occasionally required.
Where it stops scalingHundreds of thousands of photos. Indexing time, not serving, is the bind.

The thing that catches people out

PhotoPrism treats your originals as read-only and keeps everything it generates separately — which is exactly right, and it means the storage figure people plan for is wrong. Thumbnails at multiple sizes plus sidecar files add roughly a fifth on top of the library, and the machine needs headroom for that before the first index, not after.

When not to self-host PhotoPrism

You want automatic phone backup as the primary feature. PhotoPrism organises a library well; Immich is built around the mobile upload path.

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 5 self-hosting guides

Common questions

How much RAM does PhotoPrism actually need?
4 GB, and 8 GB if you index a large library in practice. The documented minimum is 2 GB, which is the figure at which the process starts rather than the figure at which it works under real use. 2 vCPU; indexing is the CPU-heavy phase alongside it.
What does self-hosting PhotoPrism cost per month?
$20–40/mo for a 500 GB library This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for moderate. Reindexing after upgrades is occasionally required.
How long does it take to set up PhotoPrism?
1–2 hours, via docker compose; MariaDB rather than SQLite for anything real.
When should I NOT self-host PhotoPrism?
You want automatic phone backup as the primary feature. PhotoPrism organises a library well; Immich is built around the mobile upload path.
What is the most common mistake when self-hosting PhotoPrism?
PhotoPrism treats your originals as read-only and keeps everything it generates separately — which is exactly right, and it means the storage figure people plan for is wrong. Thumbnails at multiple sizes plus sidecar files add roughly a fifth on top of the library, and the machine needs headroom for that before the first index, not after.
The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.