Prerequisites
- Go 1.26+ — install Go
- A Linux server with KVM support (for microVM mode)
Build from Source
bin/athanor.
Cross-Compile for Linux
If you’re building on macOS for a Linux server:bin/athanor-linux-amd64 and bin/athanor-linux-arm64.
Deploy to a Server
Copy the binary to your server:Server Requirements
Your server needs:| Requirement | Minimum | Notes |
|---|---|---|
| KVM | /dev/kvm present | Required for CloudHypervisor |
| RAM | 4 GB | ~1 GB per concurrent VM |
| Disk | 20 GB | ~4 GB for the rootfs image |
| OS | Ubuntu 22.04+ | Tested on Ubuntu 24.04 |
| Network | Public IP | For receiving GitHub webhooks |
Automated Setup
The repo includes a setup script that installs all dependencies:- cloud-hypervisor — the VMM
- virtiofsd — virtiofs daemon for workspace sharing
- Go — for running workflows that need it
- Network bridge + NAT for VM internet access
- Rootfs image (Ubuntu 24.04 with Go, git, SSH)
Manual Setup
If you prefer to set things up yourself:- Install cloud-hypervisor:
- Install virtiofsd:
- Set up the network bridge:
- Copy the host kernel for VMs:
- Build the rootfs:
- Generate an SSH key pair for VM access:
Systemd Service
Install the service file:/etc/athanor/env: