For a 120 GiB photo library, a 4 GB VPS with enough included SSD space can be a sensible starting point. For 400 GiB, compare the cost of a larger included disk against a separate volume. Keep the backup on another service or device so you can restore after losing the VPS.
Size the real library first
PhotoPrism documents a minimum of two cores, 3 GB of physical RAM, a 64-bit OS and at least 4 GB of swap. A 4 GB plan is a reasonable starting configuration for a small library. Large batches of RAW files and panoramas may need more memory. Use SSD storage for the database and cache, and check memory and storage during the first index.
| Example library | Originals now | Originals with 20% growth | Suggested volume for originals | Total if everything shares one disk |
|---|---|---|---|---|
| Small collection | 120 GiB | 144 GiB | 150 GiB | 169 GiB |
| Larger archive | 400 GiB | 480 GiB | 500 GiB | 505 GiB |
These planning examples use 25 GiB for the operating system, database, thumbnails and cache on top of the projected originals. Actual cache and database growth depend on the files and settings. The totals exclude backup copies. Before migrating, index a representative folder and measure the growth of PhotoPrism’s storage folder.
Three ways to pay for that space
| Provider | Where it fits | What to check at checkout |
|---|---|---|
| Contabo Storage VPS 10 | The published 2 vCPU, 4 GB RAM and 300 GB SSD configuration has enough listed disk capacity for the small-library example. | Term and renewal, location, disk headroom and the price of an independent backup. For the larger example, choose a larger disk or volume. |
| Hetzner Cloud | Useful if you want to size compute and attached storage separately. | Choose a currently orderable plan meeting the RAM and CPU minimum, then price the volume and a separate backup at the same location. |
| DigitalOcean Basic Droplet and Volume | The bundled 4 GiB Basic Regular Droplet costs 24 USD per month and includes an 80 GiB boot disk. Add a dedicated volume for the originals. | At 0.10 USD per GiB each month, 150 GiB costs 15 USD and 500 GiB costs 50 USD. The example totals are 39 and 74 USD per month before backups, tax and other usage. Detached volumes remain billable. |
Published provider figures checked 2 December 2026. Review regional availability and the final price before ordering.
The Contabo and DigitalOcean links are affiliate links. We may earn a commission on qualifying purchases.
- Check Contabo Storage VPS plans
- Check Hetzner Cloud plans and volumes
- Check DigitalOcean Droplet and Volume options
Check what you can restore
PhotoPrism’s minimum backup includes the originals and the index database. The storage folder also holds configuration, cache and sidecar files. Store a database dump and a copy of the originals outside the VPS. Restore a small album into an empty instance and verify that the photos and metadata are usable before making the VPS your main library.
If the choice is between a photo archive and phone backup, see our Immich vs PhotoPrism comparison. For the deployment steps, use the PhotoPrism setup guide.