Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
DevOpsEditor's pick

GitLab on a VPS

GitLab combines Git hosting, merge requests, issues, CI/CD pipelines and a container registry in one self-managed application. Plan for at least 8 GB of memory.

8 GBMinimum memory
Ubuntu 24.04 LTSBase image
80/tcp, 443/tcp, 22/tcpPorts
MIT (CE), proprietary (EE)License

About GitLab

GitLab is a single application for the whole software lifecycle: repositories and merge requests, issue boards, CI/CD pipelines run by GitLab Runner, and container and package registries. The Linux package bundles PostgreSQL, Redis, NGINX and the other services it needs.

GitLab's docs set a 16 GB, 8 vCPU baseline and accept 8 GB for memory-constrained single nodes, so start on the 8 GB Cloud VPS ($21.18/mo) or larger and resize as the team grows.

Once deployed, the web interface answers on 80 and 443, with SSH clones on 22.

What you get with GitLab

  • Merge requests with code review, approvals and protected branches
  • CI/CD pipelines defined in .gitlab-ci.yml
  • Built-in container and package registries
  • Issue boards, milestones and wikis
  • Bundled PostgreSQL, Redis and NGINX in the Linux package

GitLab use cases

  • Companies that want code, CI and registry in one place
  • Teams that want their code off hosted Git services
  • Self-managed pipelines with runners on your own servers

After you deploy GitLab

  1. Log in over SSH once the console lists Running, set external_url in /etc/gitlab/gitlab.rb to your domain and run sudo gitlab-ctl reconfigure.
  2. Use an https:// URL: the Linux package then requests a Let's Encrypt certificate on its own once DNS points at the server.
  3. Use the root account for the first login; if you lack its password, set one with sudo gitlab-rake 'gitlab:password:reset[root]'.
  4. Restrict sign-ups in the admin area and register a GitLab Runner for CI jobs.

GitLab ports

Open these in your firewall if you use one: 80/tcp HTTP, 443/tcp HTTPS, 22/tcp Git over SSH.

GitLab FAQ

Can GitLab run on 4 GB?

Not reliably. GitLab's requirements page names 8 GB as the floor for memory-constrained single-node installs and 16 GB as the baseline, and it warns that swap degrades performance under load.

Community or Enterprise Edition?

The Community Edition is MIT-licensed open source. The Enterprise Edition is proprietary but runs the same free features without a license key, and paid tiers switch on with a subscription from GitLab.

Disclaimer. The GitLab project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

GitLab on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back