Storage & Productivity
Self-Hosting Immich on a VPS (2026): RAM for Facial ML, NVMe & Real Cost
Immich's machine-learning container (CLIP smart search + facial recognition) spikes RAM to 4–6 GB during bulk photo imports. Use KVM 2 (8 GB, 100 GB NVMe at ~$7.03/mo with XF3PLUTARXVF) for small libraries or KVM 4 (16 GB, 200 GB NVMe at ~$10.39/mo) for family archives.

RATE SHEET
November 22, 2026Hardware Spec & Verified Rate Sheet: Immich
| Provider / Tier | Hardware & Architecture | List | Net Benefit | Code | Link |
|---|---|---|---|---|---|
Hostinger KVM 4 Recommended for Immich | 4 vCPU AMD EPYC · 16 GB DDR5 · 200 GB NVMe · 16 TB | $12.99/mo | ~$10.39/mo (-20%) | Claim -20% | |
Proton (VPN & Privacy) WireGuard + VPS Privacy | Gluetun WireGuard + NAT-PMP · Swiss No-Logs · Mail/Drive/Pass | Subscription | $20 USD credit | Claim $20 |
01 Open the link to bind XF3PLUTARXVF (-20%) or 5AA9X0DA ($20 USD).02 Pick 12/24-mo KVM VPS or Proton Plus/Unlimited.03 Deploy Ubuntu 24.04 + Docker + WireGuard tunnel.
01 / HARDWARE TELEMETRY
Measured RAM, vCPU & NVMe Profile for Immich
Min → Rec RAM
6 GB → 16 GB
Idle 1900 MB · Peak 6800 MB
Min → Rec vCPU
2 → 4 vCPU
AMD EPYC / High-Clock
Min → Rec NVMe
100 → 200 GB
PCIe Gen4 NVMe SSD
Primary Bottleneck
immich-machine-learning ONNX inference + FFmpeg video transcoding + disk capacity
Projected Memory Footprint on Hostinger KVM 4 (16 GB RAM)Idle 12% · Peak 42% · Headroom 58%
02 / DOCKER COMPOSE & SHELL
Docker Stack SizerProduction Deployment Stack (Immich)
docker-compose.ymlyaml
services:
immich-server:
image: ghcr.io/immich-app/immich-server:release
restart: unless-stopped
ports:
- "127.0.0.1:2283:2283"
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
- .env
depends_on:
- redis
- database
deploy:
resources:
limits:
memory: 3G
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release
restart: unless-stopped
volumes:
- model-cache:/cache
env_file:
- .env
deploy:
resources:
limits:
memory: 4G
redis:
image: docker.io/redis:6.2-alpine
restart: unless-stopped
database:
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0
restart: unless-stopped
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: postgres
POSTGRES_DB: immich
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
model-cache:
pgdata:deploy-and-verify.shbash
mkdir -p /opt/immich/library && cd /opt/immich
printf "UPLOAD_LOCATION=/opt/immich/library\nDB_PASSWORD=%s\n" "$(openssl rand -hex 24)" > .env
docker compose up -d03 / PRODUCTION FIELD NOTES
Critical Operational Insights
Limit `MACHINE_LEARNING_WORKERS=1` and `Concurrency=1` in Immich Job Settings during initial 50,000-photo uploads so CPU and RAM stay smooth.
04 / SECURITY & PRIVACY
UFW Firewall, TLS & WireGuard / ProtonVPN Hardening
Disable public registration after creating family accounts. Consider keeping Immich completely private over WireGuard/Headscale VPN or behind Caddy with strict rate limiting.
Isolate container egress with ProtonVPN WireGuard + Proton Suite (US$20 in credits · code
5AA9X0DA).Claim US$20 on Proton05 / VERIFIED DEPLOYMENT STACK
Deploy on Verified Infrastructure
KVM COMPUTE · EXTRA −20%
Hostinger KVM 4
~$10.39/mo
$12.99/mo
vCPU
4 EPYC
RAM
16 GB
NVMe
200 GB
24m Save
~$62
Renew: $24.99/mo · Free backups
SWISS PRIVACY · ACCOUNT CREDIT
Proton VPN & Unlimited
US$20
in credits
Tunnel
WireGuard
Docker
Gluetun + NAT
Suite
VPN·Mail·Drive
pr.tn/ref/5AA9X0DA
Frequently Asked Questions
Can Immich run on 4 GB RAM?
Only if you disable `immich-machine-learning` (losing smart search and face grouping). With ML enabled, 8 GB minimum and 16 GB recommended.


