Stack Sizer
Size a self-hosted stack from official sources.
Load and options
Nextcloud
v1.0.0Load
Up to 25 users, ~125 GiB of files (about 5 GiB each), sync clients on every device, shared folders, calendars and contacts; about 10 requests at once.
Options
No options change this app's resources.
Recommended resources
App requirements + system baseline + safety headroom. Nothing else is added, and nothing is rounded to a machine size.
vCPU 4.02, RAM 5.4 GiB, Disk 207.92 GiB
vCPU4.02
RAM5.4GiB
Disk207.92GiB
Breakdown
| Line | From | vCPU | RAM (GiB) | Disk (GiB) | Sources |
|---|---|---|---|---|---|
| Nextcloud | Nextcloud (Apache, PHP and cron) · Medium load | 2 | 2 | 165.5 | 123456 |
| Nextcloud | PostgreSQL · Medium load | 1 | 1 | 6.5 | 78910111213614 |
| Nextcloud | Redis (file locking, distributed cache, sessions) · Medium load | 0.25 | 0.25 | 0.5 | 15141617 |
| System baseline | Operating system, Container runtime (Docker Engine, containerd), System logs (journald), plus logs for 3 containers | 0.1 | 1.25 | 8.3 | 181920212223 |
| Safety headroom | vCPU 20%, RAM 20%, disk 15% of apps + baseline | 0.67 | 0.9 | 27.12 | 2419252226 |
| Recommended total | 4.02 | 5.4 | 207.92 |
Sources
- Nextcloud 35 Admin Manual: System requirements (PostgreSQL 14–18, 18 recommended; PHP 8.5 recommended; min 128 MB, recommended 512 MB RAM per process) (Nextcloud, read 14 Oct 2026)
- Nextcloud 35 Admin Manual: Server tuning (typical PHP worker 50–100 MB; 2 GB for PHP ≈ 30 workers; clients poll every 30 s; Redis file locking relieves the DB) (Nextcloud, read 14 Oct 2026)
- nextcloud/docker 35/apache Dockerfile (php:8.5-apache-trixie, 35.0.1, crontab */5 cron.php, remoteip X-Real-IP from private ranges, /var/www/data, VOLUME /var/www/html, no HEALTHCHECK) (Nextcloud, read 14 Oct 2026)
- Docker Hub tag nextcloud:35.0.1-apache (linux/amd64): 515,605,043 B compressed; 22 layers decompressed and counted: 1,513,370,624 B (code layer 816,867,328 B) (Nextcloud, read 14 Oct 2026)
- Docker: containerd image store is the default on fresh Engine 29+ installs and keeps images compressed and uncompressed (Nextcloud, read 14 Oct 2026)
- Nextcloud 35 Admin Manual: Configuration parameters (trash bin and versions retention auto, activity_expire_days 365, log_rotate_size 100 MiB, dbpersistent off) (Nextcloud, read 14 Oct 2026)
- PostgreSQL 18 documentation: 19.4 Resource Consumption (Nextcloud, read 10 Oct 2026)
- PostgreSQL 18 documentation: 19.3 Connections and Authentication (Nextcloud, read 10 Oct 2026)
- PostgreSQL 18 documentation: 19.10 Vacuuming (autovacuum settings) (Nextcloud, read 10 Oct 2026)
- PostgreSQL 18 documentation: 19.5 Write Ahead Log (max_wal_size) (Nextcloud, read 10 Oct 2026)
- PostgreSQL 18 documentation: 51.2 How Connections Are Established (Nextcloud, read 10 Oct 2026)
- Docker Official Image postgres: documentation (docker-library/docs) (Nextcloud, read 10 Oct 2026)
- Docker Hub: library/postgres tag 18.6 (compressed image sizes) (Nextcloud, read 10 Oct 2026)
- Nextcloud 35 Admin Manual: Transactional file locking (database by default, significant DB load; Redis recommended; Memcached unsuitable) (Nextcloud, read 14 Oct 2026)
- Nextcloud 35 Admin Manual: Memory caching (APCu local, Redis 4.0+ distributed and locking) (Nextcloud, read 14 Oct 2026)
- nextcloud/docker 35/apache config/redis.config.php (REDIS_HOST sets memcache.distributed and memcache.locking to Redis) (Nextcloud, read 14 Oct 2026)
- Docker Hub tag redis:8.10.2 (linux/amd64): 55,569,153 B compressed; 7 layers decompressed and counted: 148,460,032 B (Nextcloud, read 14 Oct 2026)
- Ubuntu Server: System requirements (Sizing policy, read 10 Oct 2026)
- Google Kubernetes Engine: About GKE node sizing (Sizing policy, read 10 Oct 2026)
- ANAROQ measurement: dockerd and containerd at rest (Ubuntu 24.04, Docker 29.8.2) (Sizing policy, read 10 Oct 2026)
- Docker Community Forums: Docker resource usage & overhead (Sizing policy, read 10 Oct 2026)
- journald.conf(5), Ubuntu Manpages (Sizing policy, read 10 Oct 2026)
- Docker Docs: Local file logging driver (Sizing policy, read 10 Oct 2026)
- AWS Compute Optimizer: Rightsizing recommendation preferences (Sizing policy, read 10 Oct 2026)
- Kubernetes: Node-pressure Eviction (Sizing policy, read 10 Oct 2026)
- mke2fs(8), Ubuntu Manpages (Sizing policy, read 10 Oct 2026)
Deployment Spec
Turn this result into a link you can keep or share. Everything is in the link; nothing is sent to us.
A short lowercase image id, for example ubuntu-24.04.