Codemagic vs Ubicloud
Codemagic is a CI service for mobile apps: each build gets a new Mac, Linux or Windows machine, which Codemagic deletes when the build ends, after at most 120 minutes on self-serve plans. Ubicloud is an open source cloud that rents general Linux VMs, managed Postgres and GitHub Actions runners, and a VM lives until you delete it.
The companies and products
Codemagic
Codemagic is a cloud CI/CD service built for mobile developers: it builds, tests and publishes iOS, Android, Flutter and React Native apps.
You describe a workflow in codemagic.yaml, and each build runs on a new virtual machine: an Apple silicon Mac, an Ubuntu Linux machine or a Windows machine. Codemagic deletes the machine when the build finishes. The result can go straight to App Store Connect, Google Play and other stores. It is built for app teams that want builds and code signing done for them. It is a different kind of product from an agent sandbox. The two overlap where an agent needs a machine for a short, scripted job.
Ubicloud
Ubicloud is an open source cloud that runs VMs, managed Postgres, Kubernetes and GitHub Actions runners on leased bare-metal servers.
You rent Linux VMs from Ubicloud's managed service: Standard with dedicated CPU, or Burstable with shared CPU at a lower price. You can also run the same AGPL code on your own servers. Around the VMs it offers machine images, private subnets, an inbound firewall, load balancers, managed PostgreSQL, Kubernetes, GPU VMs, inference endpoints and GitHub Actions runners. It is general infrastructure, not an agent sandbox. This page compares the two where they overlap: an agent on its own Linux machine.
- Compliance
- Says it is SOC 2 Type 2 compliant
Which use cases each one fits
For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “361st cheapest of 365” means 360 of the other 364 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.
| Use case and its workload | Codemagic: price rank | Ubicloud: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs machines that keep their work. Codemagic deletes each build machine, and you carry files over with caches and artifacts. A Ubicloud VM keeps its disk but bills while stopped. boat saves the disk every minute and has no compute charge while stopped; saved snapshots above the included count still charge. | 361st of 365, with limits $32,669 a month | 159th of 365, with limits $1,136 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB | 359th of 361, with limits $98,550 a month | 211th of 361, with limits $1,139 a month | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Ubicloud fits short runs best of the three: its burstable VMs bill per minute with no plan fee. Codemagic sells 8 vCPU build slots, at most 3 at once on Pay as you go. boat's start limits slow big bursts. | 329th of 336, with limits $9,098 a month | 67th of 336, with limits $52 a month | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Hundreds of user sandboxes at once do not fit Codemagic's build slots (up to 10 on fixed annual plans). Ubicloud needs a quota raise past 256 vCPU. boat allows 100 to 2,000 sandboxes at once by plan, within per-plan start limits. | 341st of 349, with limits $28,448 a month | 58th of 349, with limits $390 a month | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 327th of 349, with limits $135,098 a month | 230th of 349, with limits $1,560 a month | 39th of 349, with limits $2,000 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 358th of 359, with limits $10,898 a month | 44th cheapest of 359 $624 a month | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month Both sell CI: Codemagic is built for mobile apps on Macs, and Ubicloud sells x64 and arm64 GitHub Actions runners billed per minute. boat runs CI jobs on general sandboxes with Docker and /dev/kvm, within its per-plan start limits. | 205th of 374, with limits $3,338 a month | 26th cheapest of 374 $300 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A Codemagic machine is deleted after each build, so only Ubicloud and boat fit a 24/7 dev box. boat comes to $26 a month against $91 on Ubicloud (Standard VM with dedicated CPU). boat needs auto-stop turned off (default 1 h). | 207th of 371, with limits $333 a month | 70th cheapest of 371 $91 a month | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Codemagic offers VNC or RDP for a person who debugs a build, with no computer-use API documented. On Ubicloud you set it up: install a desktop, a browser and a remote-display server on a VM. boat streams a 1920x1080, 60 fps Linux desktop with computer-use tools. | 120th of 367, with limits $9,998 a month | 174th of 367, with limits $312 a month | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 221st of 356, with limits $10,898 a month | 249th of 356, with limits $156 a month | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 222nd of 343, with limits $13,261 a month | 237th of 343, with limits $78 a month | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 326th of 327, with limits $263,348 a month | 63rd of 327, with limits $1,573 a month | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | 152nd of 351, with limits $6,623 a month | 180th of 351, with limits $81 a month | 3rd cheapest of 351 $200 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month Only Ubicloud fits, as a compromise in our model: it rents Nvidia GPU VMs and dedicated GPU hosts on request. Neither Codemagic nor boat has GPUs. | Not ranked: misses a requirement | 97th of 102, with limits $795 a month | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month Only Codemagic fits: it runs macOS on Apple silicon with Xcode and iOS simulators. Ubicloud and boat run Linux only. | 30th of 35, with limits $1,903 a month | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Codemagic | Ubicloud | boat |
|---|---|---|---|
| What you get | A new build machine per CI build, deleted when the build ends | A general cloud VM you set up and run yourself, plus Postgres, Kubernetes and CI runners | A sandbox API for agents, on full VMs you create, stop, fork and delete from code |
| Isolation | A new VM per build; macOS runs on Apple's Virtualization framework | Every VM is a full KVM guest (Cloud Hypervisor) with its own kernel | Every sandbox is a full VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| How long a machine can run | 120 minutes per build on Free, Pay as you go and Fixed price; 180 minutes on Enterprise | No time cap; a VM runs until you stop or delete it | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap |
| Files and billing after a stop | Machine and disk are deleted; you set up carry-over with cache folders in codemagic.yaml and build artifacts | A stopped VM keeps its disk and bills as if it were running. To stop paying, capture a machine image (one disk up to 40 GiB), delete the VM and boot a new one later | Disk saved every minute and on stop; no compute charge while stopped; disk kept at least 14 days, saved snapshots longer |
| Snapshots and fork | No fork; every build starts from a stock image, with cached folders restored | Stop the VM, capture a machine image (one disk up to 40 GiB), then boot new VMs from it | Automatic snapshots every minute and on stop; fork a running sandbox in one call, from its last 1-minute snapshot (no memory) |
| Operating systems | macOS on Apple silicon, Linux (x64, arm64 on request) and Windows | Linux only, from Ubuntu, Debian or AlmaLinux images, or your own machine image | Linux only (Ubuntu 24.04, x86-64); Windows programs through Wine |
| Mobile builds and publishing | Xcode and iOS simulators preinstalled; built-in publishing to App Store Connect, TestFlight and Google Play | You set it up yourself on a Linux VM; no macOS | None built in; Linux only, and you script publishing yourself |
| Docker and nested virtualization | Docker and Android emulators on Linux; macOS machines have no nested virtualization | Root over SSH, so Docker installs as on any Linux VM; nested virtualization is not documented for VMs | Docker, root, systemd and /dev/kvm on every sandbox |
| Reaching the machine | Temporary SSH, VNC or RDP turned on per build; machines sit on a private network | Free public IPv6 and a fixed public IPv4 for $3 a month, on any port; for HTTPS the VM runs TLS itself | HTTPS URLs for up to 50 ports, token-gated by default; SSH; public IPv6; no static IP, and the IP changes at each resume |
| Desktop and computer use | VNC or RDP for a person to debug a build; no computer-use API documented | You set it up: install a desktop, a browser and a remote-display server on the VM | 1920x1080, 60 fps Linux desktop and Chrome, with computer-use tools |
| Coding agents | You install an agent CLI in a build step; codemagic-init helps agents on your own computer write workflows | You set it up: install each agent yourself, or bake it into a machine image, and drive it, for example over SSH | Seven harnesses preinstalled, including Claude Code, Codex and OpenCode, with a prompt, steer and events API |
| Keeping keys out of the machine | Encrypted environment variables delivered into the build machine while it runs | You set it up: run your own key proxy on a separate VM; otherwise secrets go on the VM | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests): with it on, real keys of supported providers stay out of the VM; other secrets still enter it |
| GPUs and self-hosting | No GPUs; managed service only | Nvidia B200 and RTX PRO 6000 VMs on request, plus dedicated B300 hosts; the whole stack is AGPL code you can run yourself | No GPUs; managed service only |
| Regions | US data centers; dedicated macOS hosts in the EU on request | Germany, Finland and Virginia (US), plus GPUs in Istanbul and the SF Bay Area | Germany, Finland and France; no US or Asia region, and you cannot pick one |
Every feature Battleships tracks (43)
| Feature | Codemagic | Ubicloud | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | Yes | Not published | Yes |
| Root | Not published | Yes | Yes |
| Systemd | No documented way | Not published | Yes |
| Desktop GUI | Yes | No documented way | Yes |
| Browser | Yes | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | No documented way | Yes | Yes |
| Pause/resume | No documented way | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | No documented way | Yes | Yes |
| Live fork (no pause) | No documented way | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | No documented way | Yes | Yes |
| ≥24 h sessions | No documented way | Yes | Yes |
| Idle auto-stop | Yes | No documented way | No documented way |
| Wake on request | No documented way | No documented way | No documented way |
| HTTPS preview URLs | No documented way | No documented way | Yes |
| Raw TCP inbound | No documented way | Not published | Yes |
| Public IPv4 | No documented way | Yes | No documented way |
| Egress allowlist | No documented way | No documented way | No documented way |
| Secret proxy | No documented way | No documented way | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | No documented way | No documented way | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | No documented way | No documented way | No documented way |
| GPU | No documented way | Yes | No documented way |
| Windows | Yes | No documented way | No documented way |
| Arm64 | Yes | Yes | No documented way |
| Self-hosting | No documented way | Yes | No documented way |
| BYOC | No documented way | Yes | No documented way |
| Open source | No documented way | Yes | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Not published | Not published | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Yes | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Codemagic and Ubicloud are not in the public benchmarks we use, so we cannot say which of the three is faster. Codemagic sells fixed machine sizes with no 4 vCPU / 8 GB option. On Ubicloud results would depend on the family: Standard VMs have dedicated CPU, and Burstable VMs are guaranteed half of each vCPU. For reference, boat did 28.06 runs per second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). Every boat sandbox in that run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts and does not promise a CPU model.
V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Codemagic and Ubicloud are not in the public benchmarks we use, so we cannot say which is faster.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | Codemagic, a month | Ubicloud, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | $333 · Free (individual) · with limits | $22 · Usage | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $333 · Free (individual) · with limits | $91 · Usage | $26 · $20/mo |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $21,482 · Pay as you go (team, 3 concurrent) · with limits | $1,098 · Usage | $317 · $20/mo × 3 seats |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $12,248 · Pay as you go (team, 3 concurrent) · with limits | $156 · Usage | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $27,098 · Pay as you go (team, 3 concurrent) · with limits | $312 · Usage · with limits | $8,800 · $2000/mo · with limits |
Codemagic: Codemagic bills build minutes: $0.095 a minute on a Mac mini M2, $0.114 on an M4, and $0.045 on Linux X2 or Windows, with 500 free M2 minutes a month for individuals. Pay as you go runs 1 build at a time and sells up to 2 more at $49 a month each. Fixed annual plans give unlimited minutes from $3,990 a year for 3 builds at once, plus $1,500 a year for each extra one, up to 10.
Ubicloud: Ubicloud bills each VM per minute for as long as it exists, running or stopped, with no plan fee; a public IPv4 adds $3 a month. The cheapest shapes are Burstable VMs with shared CPU, and Germany and Finland prices rose 25% on September 1, 2026.
Ubicloud: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month; unused time does not carry over. A card is required, also for the 7-day trial. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI credentials proxy still charge.
Limits in those scenarios
Codemagic fits none of the five scenarios cleanly: builds stop within 120 minutes on self-serve plans and lose their files unless you cache them. Pay as you go runs at most 3 builds at once, fixed annual plans at most 10, and the smallest Linux machine is 8 vCPU / 32 GB. Ubicloud limits the vCPU a project can run: 32 for a new project and 256 once it has paid an invoice over $5, so big fleets need a raise from support, and its burstable shape guarantees only half of each vCPU. On boat the 1,000-job burst hits the start limits: the $2,000 plan includes 90 starts a minute and 2,400 a day, extra starts are paid, starts above 270 a minute fail with 429, and boat never queues a start.
| Scenario | Codemagic | Ubicloud | boat |
|---|---|---|---|
| One coding agent, workdays |
| None for this scenario | None for this scenario |
| One agent that never stops |
| None for this scenario | None for this scenario |
| 50 agents in parallel |
| None for this scenario | None for this scenario |
| Sandboxes for your users |
| None for this scenario | None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Codemagic when
you build, sign and publish iOS, Android or Flutter apps and need Macs with Xcode for builds that finish within two hours.
- Real Macs with Xcode. Useful if you build iOS or macOS apps: Codemagic runs Apple silicon Macs with Xcode and iOS simulators ready.
- A full mobile release pipeline. Useful if you ship mobile apps: Codemagic signs builds and publishes to App Store Connect, TestFlight and Google Play.
- Windows build machines. Useful if you also build Windows apps: Codemagic offers Windows machines next to its Mac and Linux ones.
Use Ubicloud when
you want an open source cloud you can also run yourself, GPU VMs, GitHub Actions runners, a US region, or long-lived VMs next to managed Postgres.
- Open source you can run yourself. Useful if you want the cloud on your own servers: Ubicloud's whole stack is AGPL code.
- GPUs on request. Useful if you train or serve models: Ubicloud rents Nvidia B200 and RTX PRO 6000 VMs and dedicated B300 hosts once support turns them on.
- A whole cloud with CI runners. Useful if you want long-lived VMs with a fixed IPv4 next to managed Postgres, Kubernetes and per-minute GitHub Actions runners, or a US region.
Where boat fits
Codemagic and Ubicloud are not agent sandboxes: one is a mobile CI service, the other a general cloud. If what you are really running is agents that work for hours, install tools, serve apps and sit idle between tasks, boat gives each one a full Linux VM that is ready for that job. For iOS builds pick Codemagic, and for GPUs or self-hosting pick Ubicloud.
A machine that keeps its work
Codemagic deletes the machine after each build of at most 120 minutes on self-serve plans. A stopped Ubicloud VM keeps its disk but bills as if running, so you pay for idle time or script a machine image and delete the VM. boat saves the disk every minute and has no compute charge while stopped; saved snapshots above the plan's count and the credentials proxy still charge.
Coding agents and a desktop built in
On Codemagic an agent runs as a build step, and you wait for the build to end. On Ubicloud you install and supervise each agent yourself. boat ships seven coding agents with a prompt, steer and events API, plus a 60 fps desktop.
HTTPS ports, and fork while running
Codemagic machines sit on a private network. On Ubicloud you run TLS yourself and stop a VM to copy it. boat serves up to 50 ports on HTTPS URLs and forks a running sandbox in one call; its IP changes at each resume.
Use boat when your agents need a full Linux VM that is ready to work: coding agents you drive from outside, a desktop, HTTPS ports, a disk snapshot every minute, fork while running and no compute charge while stopped. Compare it one to one: boat vs Codemagic and boat vs Ubicloud.
boat's own limits
- Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
- Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
- A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
- Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
- boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
- Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
- Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
- Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source
Questions people ask
Is Codemagic cheaper than Ubicloud?
Not for long-running machines. A 24/7 dev box comes to $91 a month on Ubicloud against $333 on Codemagic's cheapest fixed annual plan, which does not fit because builds end within 120 minutes; boat comes to $26. For CI runners, Ubicloud is $300 a month against $3,338 on Codemagic, and boat is $86. For light mobile CI, Codemagic's 500 free M2 minutes a month can cost less than any of these.
Which is faster, Codemagic or Ubicloud?
We cannot say: neither is in the public benchmarks we use. Ubicloud Standard VMs have dedicated CPU, while Burstable VMs are guaranteed half of each vCPU. For reference, boat did 28.06 runs per second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026.
Can Codemagic and Ubicloud run Docker?
Codemagic runs Docker and Android emulators on its Linux machines, but its macOS machines have no nested virtualization. A Ubicloud VM gives you root over SSH, so Docker installs as on any Linux VM. boat has Docker, systemd and /dev/kvm on every sandbox.
Can I keep a machine between runs?
On Codemagic you carry files over with cache folders and artifacts, because the machine is deleted when the build ends. A stopped Ubicloud VM keeps its disk, but billing continues as if it were running. A stopped boat sandbox has no compute charge and keeps its disk for at least 14 days; memory and running programs are not saved.
Which one can build iOS apps?
Only Codemagic. It runs Apple silicon Macs with Xcode and iOS simulators, and publishes to App Store Connect and TestFlight. Ubicloud and boat run Linux only.
Is Ubicloud or Codemagic open source?
Ubicloud is: its code is on GitHub under the AGPL v3, and you can run it yourself on leased bare-metal servers. Codemagic is a managed service only, and so is boat.
Try boat
Install the CLI, then run boat new.
7-day free trial