Machines
More machines run more jobs at once. Add another Mac, a Linux server, or a cloud machine. Each machine takes one slot on your plan (Plan & Billing).
How many jobs per machine
Each job needs about 4 GB of memory, 2 CPU cores and 15 GB of disk. Codemany keeps some room for the system. An 8 GB Mac runs 1 job at a time; a 16 GB Mac runs 3.
Add a Mac
Install Codemany on the new Mac, as in Get started.
Sign in with the same GitHub account and pick the same repos.
Optional: to see and control it from your first Mac, open Settings › Machines there, choose Add next to it under Nearby and type the code the new Mac shows.
Add a Linux server
Any 64-bit Linux with systemd: Ubuntu 22.04 or 24.04, Debian 12 or newer, Fedora, and others. Run this on the server:
curl --proto '=https' --tlsv1.2 -fsSL https://codemany.com/install.sh | sh
Then print the setup link and open it in a browser on any computer on your network:
codemany setup-link
Sign in with GitHub and pick repositories, as on a Mac. Codemany's background service starts by itself. In workflows, add Linux so the job doesn't land on your Mac:
runs-on: [self-hosted, Linux, codemany]
On a Linux desktop, you can install the app instead from the download page. It has one window with the same places as the Mac app: Overview, Runs, Machines, Repositories, Plan & Billing, This machine and Account. Updates, apt and SSH tunnels: Advanced.
Job isolation on Linux
A Linux machine runs jobs in one of two ways. Setup picks the fast host mode, with or without KVM; you can switch at any time with codemany isolation vm or codemany isolation host.
| Mode | What a job gets | Tradeoff |
|---|---|---|
Each job in a fresh VM (vm, opt-in) | Docker and passwordless sudo, like GitHub's hosted runners. The VM is thrown away after the job, so every job starts clean, and cloud credentials are never shared between jobs. Runners always carry the docker label. | Needs KVM (/dev/kvm); on a cloud machine, nested virtualization. Slower: each job boots a VM first, with 2 vCPUs, 4 GiB of memory and a 40 GiB disk; Codemany runs only as many jobs at once as fit. |
Fast on the host (host, the default) | Your tools and warm caches, so jobs start fastest. Public repo jobs run as separate slot users with safe limits. | No sudo; jobs can read your files; docker only if Docker is installed on the machine. |
Details and the VM image: Advanced › Isolation modes.
Add a cloud machine
Codemany can create a machine in your own cloud account and set it up for you.
In the Mac app, open Settings › Machines, choose Add Machine and pick a cloud machine.
Connect Google Cloud, Hetzner or DigitalOcean. (AWS and Azure are coming.)
Pick a region and a size. The button shows the monthly price.
- Your cloud bills you for the machine. Codemany never sees that bill.
- Always on: the machine stays on, so its caches, toolchains and runner registration stay warm. The size shows its 24/7 monthly price.
- Monthly spending cap (Google Cloud): at the cap the machine stops until next month or until you raise the cap. The cap is the only reason it stops. It starts at the 24/7 price plus 5%, rounded up to the next 5 (a $49.06 machine gets a $55 cap). You can raise it; a lower cap stops the machine before the month ends, and the app warns you. (Hetzner and DigitalOcean bill a stopped machine in full, so they have no cap.)
- A fresh VM per job on Google Cloud needs an N2-family size (N2 sizes support nested virtualization; E2 sizes don't).
- Remove it with Remove… on its page in Settings › Machines. That deletes the machine, stops its cost and frees its slot.
See your machines: Codemany Console
console.codemany.com shows all your machines in one browser tab. Sign in with GitHub. From there you can Pause New Jobs on a machine, resume it, or change how many jobs it runs at once. It also shows each job's log, with secrets masked on the machine first; code never leaves your machines. To hide a machine, run codemany console off on it.