GitHub Actions runners on your Hetzner account
Codemany sets up a Hetzner Cloud server in your own account and turns it into a self-hosted GitHub Actions runner. You pay Hetzner its monthly price, plus one $10 machine seat. No per-minute bill.
What is a Hetzner GitHub Actions runner?
It is a Linux server you rent from Hetzner that runs your GitHub Actions jobs. Codemany creates the server in your own Hetzner project, installs the runner, and keeps it up to date. Hetzner bills you for the server. Codemany never sees that bill. You add one $10 a month machine seat.
- Your account, your server. Codemany only touches servers it creates. They carry the label
codemany=managed. - A firewall on day one. Each new server gets the
codemany-runnerfirewall. - Fallback, on by default. The server takes jobs only when your own Macs and Linux boxes are busy or asleep. See cloud fallback.
- One line in your workflow:
runs-on: [self-hosted, Linux, codemany].
How much does a Hetzner runner cost?
You pay two things: Hetzner's monthly price for the server, and a $10 a month Codemany machine seat. On 2026-11-25, Hetzner listed an 8 vCPU, 16 GB server (CX43) at €16.49 a month before VAT. That price stays the same however many minutes your jobs use.
Hetzner prices on hetzner.com/cloud as of 2026-11-25, monthly, before VAT. Prices change, so check Hetzner. The app shows the live monthly price for each size and region before you create anything.
| Hetzner server | CPU | Memory, disk | Per month |
|---|---|---|---|
| CX33 (Cost-Optimized) | 4 vCPU, Intel/AMD | 8 GB, 80 GB | €8.99 |
| CX43 (Cost-Optimized) | 8 vCPU, Intel/AMD | 16 GB, 160 GB | €16.49 |
| CAX31 (Cost-Optimized) | 8 vCPU, Arm (Ampere) | 16 GB, 160 GB | €21.49 |
| CPX32 (Regular Performance) | 4 vCPU, AMD | 8 GB, 160 GB | €30.49 Helsinki, €35.99 Nuremberg |
| CPX42 (Regular Performance) | 8 vCPU, AMD | 16 GB, 320 GB | €59.49 Helsinki, €69.99 Nuremberg |
On that day Hetzner's page marked its Cost-Optimized servers as currently unavailable. If a size is not offered, the app shows only the sizes you can create.
Add the Codemany seat: $10 a month per machine. Codemany is $20 a month for 2 machines, and each extra machine is $10. See pricing.
Is a Hetzner runner cheaper than GitHub-hosted runners?
For busy teams, usually yes. GitHub bills hosted jobs by the minute. A 2-core Linux runner was $0.006 a minute on 2026-11-25. So 10,000 minutes cost $60, and 30,000 minutes cost $180. A Hetzner server plus the $10 seat costs the same every month, and it has more cores.
| Linux minutes a month | GitHub 2-core x64 at $0.006/min | CX43 on Hetzner + Codemany seat |
|---|---|---|
| 5,000 | $30 | €16.49 + $10 |
| 10,000 | $60 | €16.49 + $10 |
| 30,000 | $180 | €16.49 + $10 |
GitHub rates are from GitHub's runner pricing page on 2026-11-25. GitHub's plans include some free usage each month, shown as a dollar amount. GitHub's billing page lists self-hosted runners as free usage. Try your own numbers in the cost calculator, or read how to cut GitHub Actions costs.
How do I connect my Hetzner account?
The Mac app walks you through it in three steps, each with a link. Create a Hetzner account. Create a project just for Codemany. Then make a Read & Write API token in that project and paste it in. Codemany then shows regions, sizes and monthly prices.
Create a Hetzner account
Sign up at Hetzner. Hetzner may ask you to verify who you are before you can create servers. That check is Hetzner's, not Codemany's.
Create a project for Codemany
In the Hetzner Console, make a new project. Use it for Codemany alone, so its token can't reach your other servers.
Make a Read & Write token
In the project, open Security › API tokens › Generate API token and pick Read & Write. Paste the token into Codemany. It stays in your Mac's Keychain. When you are signed in, it is also stored encrypted with your account, so your other devices can use it.
Add the machine
In the Mac app, open Settings › Machines, choose Add Machine and pick a cloud machine. Pick a region and a size. The button shows the monthly price.
Then use the Linux labels in your workflow:
jobs:
test:
runs-on: [self-hosted, Linux, codemany]
Pick an Arm size (CAX) and GitHub adds the ARM64 label, so you can target it with [self-hosted, Linux, ARM64, codemany]. More on labels in Runner labels.
Which Hetzner regions can I use?
You can pick any Hetzner Cloud location Codemany lists: Falkenstein and Nuremberg in Germany, Helsinki in Finland, Ashburn, Virginia and Hillsboro, Oregon in the US, and Singapore. Sizes and prices differ by region. The app shows only what Hetzner offers in the region you pick.
Pick a region close to where your code and packages live. Prices in Germany and Finland are often lower than in the US or Singapore.
What does the codemany-runner firewall allow?
It lets in only SSH (TCP port 22) and ping (ICMP). Everything else coming in is dropped. GitHub runners only make outgoing connections, so they need no open port. The local dashboard is locked to the server itself and reached only through the SSH link.
Codemany makes one codemany-runner Cloud Firewall per Hetzner project and attaches it to each new server when it is created. SSH is open so your signed-in devices can manage the server, each with its own key. If you change the firewall's rules in Hetzner, Codemany uses them as they are.
How are jobs kept apart on a Hetzner server?
Hetzner machines use user isolation: jobs run on the server, not in a VM per job. Hetzner Cloud servers have no nested virtualization, so a fresh VM for each job is not possible there. Each job still gets a fresh runner that is used once. Run only workflows you trust.
A VM per job is an opt-in mode for your own Linux machines with KVM. See Job isolation on Linux and Runner security.
Will the Hetzner server take jobs from my Mac?
Not by default. With fallback on, the server keeps no idle runner. It takes a job only when none of your own machines can: they are busy, asleep or off. It also takes a job that has waited past the limit, 120 seconds by default. Your own machines get first pick.
The switch is Only take jobs when my own machines are busy or asleep. It is on by default when you add a cloud machine, and you can change it later. Turn it off and the server takes jobs like any machine. Details: Cloud fallback.
Does the server run all month?
Yes. The server stays on, so its caches, tools and runner sign-in stay warm. Hetzner bills a stopped server in full, so turning it off would not save money. The size list shows each server's full monthly price, so you know the cost before you create it.
How do I remove a Hetzner machine?
Open its page in Settings › Machines and choose Remove…. Codemany deletes the server in your Hetzner project. That stops Hetzner's charge and frees your Codemany machine slot. Remove the extra seat in Settings › Plan & Billing if you no longer need it.
Questions
Who bills me for the Hetzner server?
Hetzner bills you directly, at its own price. Codemany adds a $10 a month machine seat and never sees the Hetzner bill.
Can I run Arm jobs on Hetzner?
Yes, when Hetzner offers an Arm (CAX) size in your region. GitHub adds the ARM64 label to the runner.
What can Codemany do with my Hetzner token?
Codemany only touches servers it creates, which carry the label codemany=managed. Use a project for Codemany alone to keep other servers out of reach.
Does each job get its own VM on Hetzner?
No. Hetzner Cloud machines use user isolation. A VM per job is opt-in on your own Linux machines with KVM.
Do jobs still run when my Mac is asleep?
Yes. With fallback on, the Hetzner server picks up jobs your sleeping, busy or switched-off machines can't take.
Related
Read next: cloud fallback, the self-hosted runner guide, self-hosted runner on Linux, Machines › Add a cloud machine and fix "Waiting for a runner to pick up this job".
Codemany is $20 a month for 2 machines. Try it free for 14 days, with no card.