Log inSign up

CI runner VPS: your own build machines on fast cores

A self-hosted runner on F2-4 with 2 vCPU, 4 GB RAM, 128 GB NVMe handles one or two parallel jobs for a typical team, and F4-16 runs four builds at once with room for heavy caches.

Why self-host a CI runner?

You get fixed monthly costs, caches that stay warm between jobs, and full control over what runs on the machine. Shared runners start from a clean image every time, so each job pulls the same dependencies again and waits in a queue at busy hours. A runner of your own keeps Docker layers, package caches and compiled objects on local NVMe, which often turns a ten-minute pipeline into a three-minute one.

Builds are a burst workload that rewards clock speed: compilers, test runners and bundlers mostly run on one or a few threads. That is why the High Frequency line, Intel Xeon above 3 GHz with NVMe, is our first pick here, with AMD EPYC plans as the choice when you want more vCPU per instance.

How many parallel jobs can a plan run?

Plan on one concurrent job per one or two vCPU, and about 2 GB of RAM per job for typical web and backend projects. Heavy builds (large C++ or Rust codebases, Android, big frontend bundles) need more memory per job; light jobs such as linting or unit tests need less.

  • F2-4, 2 vCPU, 4 GB RAM, 128 GB NVMe: one or two jobs.
  • F3-8, 3 vCPU, 8 GB RAM, 256 GB NVMe: two or three jobs.
  • F4-16, 4 vCPU, 16 GB RAM, 384 GB NVMe: four jobs, or two heavy ones.
  • A8-16, 8 vCPU, 16 GB RAM, 350 GB NVMe: up to six or eight light jobs in parallel.

Set the limit in the runner config instead of letting jobs pile on. A runner that overloads its machine finishes everything later than one that queues sensibly.

Plans for this workload

Smallest first, at the base city price. Order totals are the shortest prepaid term that reaches $40.

PlanWhySizeMonthlyOrder from
F2-4one or two jobs for a small team2 vCPU, 4 GB RAM, 128 GB NVMe$14.40/mo$43.20 for 3 months
F3-8two or three jobs with warm Docker caches3 vCPU, 8 GB RAM, 256 GB NVMe$28.80/mo$86.40 for 3 months
F4-16four parallel jobs or two heavy compiles4 vCPU, 16 GB RAM, 384 GB NVMe$57.60/mo$57.60 for 1 month
A8-16many light jobs in parallel on AMD EPYC8 vCPU, 16 GB RAM, 350 GB NVMe$57.60/mo$57.60 for 1 month

How do you register a GitLab Runner with Docker?

Deploy the Docker image, install the runner package from the GitLab repository, then register it with a token from your project or group settings:

curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | bash
apt install -y gitlab-runner
gitlab-runner register --non-interactive \
  --url https://gitlab.example.com \
  --token <runner token> \
  --executor docker \
  --docker-image alpine:3.20

Then set concurrent = 2 at the top of /etc/gitlab-runner/config.toml to match the plan. For a Forgejo instance, the Forgejo Runner registers in a similar way and reads workflow files written in the familiar Actions syntax; Woodpecker CI agents connect to their server with a shared secret.

How do you keep the disk from filling up?

Prune Docker on a schedule and keep caches within a budget. Every job leaves image layers, volumes and build cache behind. A cron entry is enough:

# /etc/cron.d/docker-prune
0 4 * * * root docker system prune -af --filter "until=72h" > /dev/null
30 4 * * 0 root docker volume prune -f > /dev/null

Check usage with docker system df and df -h /. Plans with larger disks help when you build many images: F4-16 has 4 vCPU, 16 GB RAM, 384 GB NVMe. Since extra volumes are not sold, size the plan for your biggest caches from the start.

How much transfer do CI runners use?

Pulling base images and dependencies is incoming traffic; pushing images and artifacts to a registry is outgoing and counts against the plan. A team pushing a 500 MB image fifty times a day sends about 25 GB a day, around 750 GB a month. That fits the 3 TB on F2-4, but bigger images and more pushes add up quickly. Push only from the main branch, use multi-stage builds to keep images small, and check the outgoing graph on the Usage tab.

How do you keep a runner safe?

Treat every job as code that can do anything the runner allows, and limit the runner to repositories you trust. Practical rules:

  • Never let pipelines from outside contributors run on a runner with privileged Docker or deploy secrets.
  • Avoid privileged = true unless you need Docker-in-Docker, and prefer rootless or socket-free builders such as BuildKit in rootless mode.
  • Keep deploy keys and registry tokens as protected variables, available only on protected branches.
  • Allow only SSH inbound; runners poll their server and need no open ports.
  • If a runner was exposed to an untrusted job, reinstall it from the console (this erases the disk) and register again.

Which city should host the runner?

Put the runner near your Git server and registry, not near your developers. Most of the time is spent cloning, pulling and pushing, so the shortest path to those services matters most. If your Git server is self-hosted on BitcoinVPS, deploy the runner in the same city. Remember that F4-16 is not offered in Frankfurt, Atlanta, Chicago, Dallas, Honolulu or Santiago; Amsterdam, London and New Jersey carry it.

CI runners questions

Can the runner and the Git server share one instance?

For a small team, yes, but builds will slow the web UI. A separate runner instance keeps the Git server responsive.

Do runners need a public IP?

They connect outward to the Git server, so no inbound port is needed. You still get a dedicated IPv4 and IPv6 on every instance.

Can I build ARM images?

Instances are x86_64. Cross-building with QEMU emulation through docker buildx works, but it is much slower than native builds.

Is there an API to start runners on demand?

We do not offer an API or hourly billing. Runners here are always-on machines paid per prepaid term.

Which payment works best for a team?

Any of 23 methods. Each order and renewal is its own invoice, which makes it easy to file alongside other team costs.