Gerrit hosting on your own VPS
Gerrit is a Git code review system that controls changes before they are merged.
The VPS options compared offer at least 4 GB of RAM and 40 GB of fast SSD or NVMe storage, providing a practical starting point with room for the operating system, logs and backups.
Gerrit key features: what makes the application stand out?
- Patch sets and line-by-line reviews before changes are merged
- Granular repository and branch permissions
- Submit rules, labels, hooks and CI integrations
What can you do with Gerrit?
Require changes to be reviewed, compare new revisions as patch sets and enforce approval rules for sensitive repositories.
Benefits of running Gerrit on your own VPS
Your source code, reviews and access rules stay within your infrastructure. You can integrate Gerrit closely with your own CI, but you’ll need to manage availability, SSH/HTTPS access, plugins, backups and upgrades yourself.
Gerrit server requirements
- Memory: 4 GB of RAM is a sensible starting point; additional users, data and services will need extra capacity.
- Storage: At least 40 GB of fast storage is recommended for the application, data, logs and initial backups.
- CPU: Several recent vCores improve responsiveness and parallel processing.
- Operation: Plan for persistent data, HTTPS, monitoring, updates and off-site backups from the outset.
Run Gerrit securely
Use HTTPS or TLS, restrictive firewall rules and separate credentials. Persistent data should be stored outside ephemeral containers; test updates first and restore backups regularly.
Plan your requirements realisticallyData volume, integrations and concurrent access determine your actual needs. The minimum configuration is a starting point, not a fixed upper limit.
In the same topic cluster, GitLab hosting, Gitea hosting and Forgejo hosting can help you plan suitable additions or alternatives.
For further background, see the guide Understanding version control with Git.
Conclusion
AuthorChristopher PrüferA VPS with 4 GB of RAM and 40 GB of fast storage is a sensible starting point for Gerrit hosting. Secure access, tested backups and scaling according to actual usage are key.