Code is a company's most valuable digital asset. Hosted platforms are convenient, but some teams need repositories on their own infrastructure for data control, compliance, cost at scale, access from internal networks, or independence from a single provider. A VPS makes a capable private Git server, from a minimal SSH setup to a full collaboration platform.
Options
| Option | What you get | Resources |
|---|---|---|
| Plain Git over SSH | Bare repositories, push and pull, no UI | Minimal |
| Gitolite | Fine-grained SSH access control, config in a Git repo | Minimal |
| Gitea | Web UI, pull requests, issues, packages, Actions-compatible CI | Light |
| Forgejo | Community-governed Gitea fork with similar features | Light |
| OneDev | Git with built-in CI and issue tracking | Moderate |
| GitLab (Community Edition) | Full DevOps platform: CI/CD, registry, planning, security tools | Heavy |
Plain Git over SSH
For one person or a tiny team, create a git user, add developers' SSH keys, restrict the user's shell to git-shell, and create bare repositories with git init --bare. It is simple and reliable but offers no web interface, per-repository permissions or code review tools. Gitolite adds access control on top while staying lightweight.
Full Platforms
Most teams want pull requests, code review, issues, wikis, webhooks and CI integration. Gitea and Forgejo provide these with small resource needs and simple upgrades (see our Gitea guide and Forgejo guide). GitLab provides an extensive all-in-one platform, but it runs many services and needs several gigabytes of RAM even for small installations; check its current requirements before choosing it.
SSH and HTTPS Access
- Serve the web interface over HTTPS behind Nginx or Caddy.
- Offer Git over SSH with keys; either share port 22 with the system SSH (using the platform's built-in integration) or run the platform's SSH on another port.
- For HTTPS Git access, use personal access tokens, not account passwords.
- Enable two-factor authentication and, for teams, single sign-on through OAuth or LDAP.
CI Integration
Gitea and Forgejo include Actions systems compatible with many GitHub Actions workflows, using runners you host. GitLab has GitLab CI with GitLab Runner. You can also connect Jenkins or other CI through webhooks (see our Jenkins guide). Run CI runners on separate servers so builds cannot slow down or compromise the Git server.
Packages and Images
Gitea, Forgejo and GitLab include package registries for container images and many package formats, keeping artifacts next to code with the same permissions (see our private Docker registry guide). Plan disk space accordingly.
Mirroring
Use push mirrors to copy important repositories to a second location automatically, or pull mirrors to keep copies of external projects you depend on. Mirrors help redundancy and migration, but they are not backups, because deletions and force-pushes are mirrored too.
Backups
Back up repositories, the database, configuration and attachments together, using the platform's dump or backup tools or consistent file-level backups. Store backups off-site, keep several generations, and test restoring to a fresh server. Developers' clones are partial copies at best; they do not include issues, pull requests or settings.
Security
- Keep the platform updated; Git platforms receive regular security releases.
- Disable open registration unless you intend a public instance.
- Protect main branches with required reviews and status checks.
- Scan repositories for committed secrets, and rotate any found.
- Limit admin accounts and audit them regularly.
Monitoring
Watch disk usage (repositories, packages and LFS objects grow steadily), memory, response times, background job queues and backup success. Alert on certificate expiry and failed backups.
Sizing
| Setup | Suggested plan |
|---|---|
| Plain Git, Gitolite, or Gitea/Forgejo for a small team | 2 vCores / 8 GB |
| Gitea/Forgejo for larger teams with packages and Actions | 4 vCores / 16 GB, runners separate |
| GitLab for a team | 4 vCores / 16 GB or more, per GitLab's requirements |
Example: A Software Agency
An agency moves 300 client repositories from a hosted platform to Forgejo on a 4 vCore / 16 GB VPS. Developers sign in through the agency's identity provider with two-factor authentication, branch protection requires one review, Actions runners run on two separate build servers, important repositories push-mirror to a second server, and nightly backups go to object storage.
Common Mistakes
- Choosing GitLab for a small team on an undersized server.
- Treating mirrors or developer clones as backups.
- Open registration on a private instance.
- CI runners on the Git server itself.
- Falling far behind on security updates.
In Short
Pick plain Git for minimal needs, Gitea or Forgejo for lightweight collaboration, or GitLab for an all-in-one platform with more resources. Secure access with keys, HTTPS and two-factor, keep CI separate, and back up everything together.
Moving from a Hosted Platform
Most self-hosted platforms can import repositories from GitHub, GitLab or Bitbucket, often including issues, pull requests, labels and releases. Start with a few repositories, check history, issues and permissions, update CI pipelines and webhooks, and then move the rest in batches. Keep the old platform read-only for a while so links and integrations can be updated without pressure, and tell the team clearly when the switch happens. Whichever platform you choose, write down how repositories, users and backups are managed, so the setup does not depend on one person's memory.
SkyRainCloud Plans for This Workload
Lightweight Git platforms such as Gitea or Forgejo run well on 2 vCores / 8 GB for teams. GitLab needs considerably more memory; plan 4 vCores / 16 GB or more, and separate CI runners.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.