boat vs AWS EC2
AWS EC2 is a hyperscaler's general-purpose VM service: you get a machine and set up the rest. boat is a sandbox made for agents: every machine already has Docker, /dev/kvm, a desktop, coding agents and HTTPS URLs, and you can fork it from its last 1-minute snapshot while it runs.
Where boat stands out
Coding agents you drive from outside
boat installs seven coding-agent harnesses in each sandbox, including Claude Code, Codex and OpenCode. You drive them from outside with a prompt, steer and events API. The optional AI credentials proxy ($1 a day plus $1 per 1,000 requests) keeps the real keys of supported providers outside the sandbox. EC2 gives you a clean VM and a shell.
Fork a running machine, no compute charge when stopped
boat saves the disk every minute and at each stop. A stopped sandbox has no compute charge, and boat keeps its disk for at least 14 days, longer with a saved snapshot. You can fork a running sandbox from its last 1-minute snapshot to try two ideas from the same point. On EC2 a copy means making an image and booting a new instance from it, and a stopped instance still bills its EBS disk (and an Elastic IP, if you keep one).
Desktop, browser and HTTPS URLs ready
Every boat sandbox has a 1920x1080, 60 fps desktop with Chrome and computer tools, and up to 50 HTTPS URLs, token-gated by default. On EC2 you set them up: a desktop streamed with Amazon DCV, and for HTTPS your own domain, certificate and a load balancer or web server.
The companies and products
boat
boat.dev runs sandboxes for AI agents: each one is a full Linux VM with its own kernel.
You start a machine with one command or one API call, then SSH in, run Docker, open a desktop, or let a built-in agent (Claude Code, Codex, OpenCode and others) work in it. The disk stays between sessions, and a stopped sandbox costs nothing.
- Isolation
- Full VM per sandbox, own kernel
- Regions
- EU: Germany, Finland, France
AWS EC2
AWS EC2 is Amazon's general-purpose cloud VM service, not a sandbox product: you rent virtual servers by the second and set them up yourself.
You pick an instance type (Intel, AMD, Graviton Arm, GPU or Mac), a machine image and a network, and EC2 boots a Nitro VM with its own kernel and root access. Disks are EBS volumes, and security groups control inbound traffic. You set up the agent parts yourself: agents, desktops, HTTPS URLs and key handling. AWS also sells managed agent sandboxes, Bedrock AgentCore Code Interpreter and Browser, as a separate product. EC2 serves every kind of server workload, from websites to GPU training, across AWS's worldwide regions.
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. “5th cheapest of 365” means 4 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 | boat: price rank | AWS EC2: price rank |
|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month EC2 can run a software factory. You set it up: install the agents, put your own certificate and a load balancer or web server in front for preview URLs, and copy machines through images. boat ships these on every sandbox. | 5th cheapest of 365 $634 a month | 118th of 365, with limits $775 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant fits both. boat runs one default sandbox all month for $26 with auto-stop turned off (default 1 h). EC2 reaches $51 a month only with a 3-year commitment, and bills the EBS disk (and an Elastic IP, if you keep one) also while stopped. | 6th cheapest of 361 $657 a month | 177th of 361, with limits $646 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Both fit. EC2 has no start count; boat counts each create, fork and resume as a start (200 a day included on the $20 plan, paid extras above that). | 189th of 336, with limits $2,000 a month | 106th of 336, with limits $165 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Sandboxes for your users fit both. boat ships a VM per user with token-gated HTTPS URLs. On EC2 you set up HTTPS access, isolation per user and lifecycle tooling yourself, or use AWS's Bedrock AgentCore Code Interpreter. | 3rd cheapest of 349 $209 a month | 76th of 349, with limits $607 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month EC2 fits large RL rollouts better once your vCPU quota is raised: it has no start count. boat's $2,000 plan includes 2,400 starts a day, up to 14,400 with paid extras. | 39th of 349, with limits $2,000 a month | 15th of 349, with limits $830 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 10th cheapest of 359 $200 a month | 7th cheapest of 359 $177 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month | 2nd cheapest of 374 $86 a month | 19th cheapest of 374 $255 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 19th cheapest of 371 $26 a month | 60th cheapest of 371 $76 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month You set it up on EC2: install a Linux desktop, stream it with Amazon DCV (no extra license fee on EC2) and add your own click API. boat streams a 60 fps desktop with computer tools out of the box. | 7th cheapest of 367 $200 a month | 145th of 367, with limits $195 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month boat has Chrome and browser control ready in each sandbox. On EC2 you install and wire the browser yourself, or use AWS's managed Bedrock AgentCore Browser. | 7th cheapest of 356 $200 a month | 232nd of 356, with limits $101 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 6th cheapest of 343 $90 a month | 259th of 343, with limits $116 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 73rd of 327, with limits $1,800 a month | 85th of 327, with limits $2,046 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | 3rd cheapest of 351 $200 a month | 162nd of 351, with limits $45 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month EC2 fits: it rents Nvidia GPU instances such as H100s. boat has no GPUs. | Not ranked: misses a requirement | 26th cheapest of 102 $1,723 a month |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | boat | AWS EC2 |
|---|---|---|
| What you get | An agent sandbox: a full VM with agents, desktop, URLs and snapshots set up | A general cloud VM; you set up agents, desktop and URLs yourself (AWS sells managed agent sandboxes separately in Bedrock AgentCore) |
| Isolation | Every sandbox is a full VM with its own kernel, on a host dedicated to boat; vCPUs are shared | Every instance is a Nitro VM with its own kernel |
| Docker and nested virtualization | Docker, root, systemd and /dev/kvm on every sandbox | Docker, root and systemd on any instance; KVM or Hyper-V on Intel 7th/8th-gen families (C7i, M7i, R7i, C8i, M8i, R8i, X8i, I7i and variants) and metal, not on Graviton or AMD |
| Coding agents | Seven harnesses preinstalled, including Claude Code, Codex and OpenCode, with a prompt, steer and events API | You set it up: install the agents and drive them over SSH or Systems Manager |
| Keeping keys out of the machine | Optional AI credentials proxy ($1 a day plus $1 per 1,000 requests): real keys of supported providers stay outside; AWS Bedrock, env vars and other secrets still enter the sandbox | IAM roles give the instance short-lived AWS credentials; for other API keys you set up your own proxy |
| Desktop and computer use | Built-in 1920x1080, 60 fps desktop with Chrome, computer tools and browser control; embeddable stream | Linux images have no desktop by default; you install one and stream it with Amazon DCV (no license fee on EC2), or use Remote Desktop on Windows; no computer-use API on EC2 itself (AWS sells a managed agent browser in Bedrock AgentCore) |
| Reaching the machine | Up to 50 HTTPS URLs per sandbox, token-gated by default; public IPv6 and outbound IPv4; SSH over a shared IPv4 host:port; no dedicated or static IPv4 | Public IPv4 ($0.005 an hour) and any port through security groups; static Elastic IPs; HTTPS needs your own domain, certificate and load balancer or web server |
| Files after a stop | Snapshots every minute and on stop; a stopped sandbox costs no machine time and keeps its disk for at least 14 days (longer with a saved snapshot) | EBS disks are kept until you delete them and billed while stopped; snapshots are manual or scheduled with Data Lifecycle Manager |
| Pause and fork | Fork a running sandbox from its last 1-minute snapshot; resume reboots from disk (no memory snapshots) | Hibernation keeps memory for the same instance; cloning means making an image and booting a new instance from it |
| Start limits | $20 plan: 12 starts a minute and 200 a day included, up to 1,200 a day with paid extras ($0.03 to $0.07 each); $2,000 plan: 90 a minute, 2,400 a day; create, fork and resume count | No start count; a running-vCPU quota per region (5 vCPUs on a new account, raised with usage or on request) |
| Outbound network rules | Open internet on every plan; no provider-side allowlist; no egress charge | Security group rules per instance; domain allowlists with AWS Network Firewall or DNS Firewall (paid) |
| GPUs | None; graphics run on the CPU | Nvidia GPU instances, from L4 and L40S up to H100 and H200 |
| Operating systems and CPUs | Ubuntu 24.04 (x86_64) on AMD Ryzen 9 9950X and Ryzen 7 9700X hosts; Windows programs through Wine, no Windows VM | Linux and Windows on Intel, AMD and Graviton Arm; macOS on Mac Dedicated Hosts |
| Regions | Germany, Finland and France; you cannot pick a region; no US or Asia region | 39 regions worldwide, including several in the EU |
| Compliance and transparency | SOC 2 is in progress. We're open about where we stand: live status and data retention policy. | SOC 2 |
Every feature Battleships tracks (43)
| Feature | boat | AWS EC2 |
|---|---|---|
| Full VM (own kernel) | Yes | Yes |
| Docker inside | Yes | Yes |
| Nested virtualization | Yes | Yes |
| Root | Yes | Yes |
| Systemd | Yes | Yes |
| Desktop GUI | Yes | With your own setup |
| Browser | Yes | No documented way |
| Computer-use API | Yes | No documented way |
| SSH | Yes | Yes |
| Persistent disk | Yes | Yes |
| Pause/resume | Yes | Yes |
| Automatic snapshots | Yes | Yes |
| Fork/clone | Yes | Yes |
| Live fork (no pause) | Yes | No documented way |
| Memory fork | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes |
| ≥24 h sessions | Yes | Yes |
| Idle auto-stop | No documented way | No documented way |
| Wake on request | No documented way | No documented way |
| HTTPS preview URLs | Yes | No documented way |
| Raw TCP inbound | Yes | Yes |
| Public IPv4 | No documented way | Yes |
| Egress allowlist | No documented way | Yes |
| Secret proxy | Yes | No documented way |
| Secret proxy for any API | Yes | No documented way |
| Preinstalled agents | Yes | No documented way |
| Agent harness API | Yes | No documented way |
| MCP server | No documented way | No documented way |
| GPU | No documented way | Yes |
| Windows | No documented way | Yes |
| Arm64 | No documented way | Yes |
| Self-hosting | No documented way | No documented way |
| BYOC | No documented way | No documented way |
| Open source | No documented way | No documented way |
| Scoped API keys | Yes | Not published |
| Spend limits | Yes | Not published |
| Usage per sandbox (API) | Yes | Yes |
| Audit logs | No documented way | Not published |
| SSO | No documented way | Yes |
| SOC 2 | No documented way | Yes |
| HIPAA | No documented way | Yes |
| EU data residency | No documented way | Yes |
| Zero data retention | Yes | Not published |
Performance
EC2 is not in the public benchmarks we use, so we cannot say which is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in that run. 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. EC2 speed depends on the instance family you pick, from Graviton Arm to the latest Intel and AMD chips.
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. AWS EC2 is 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 | boat, a month | AWS EC2, 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 | $20 · $20/mo | $21 · Pay-as-you-go (no platform fee) |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $26 · $20/mo | $51 · Pay-as-you-go (no platform fee) · with limits |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $317 · $20/mo × 3 seats | $944 · Pay-as-you-go (no platform fee) |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $200 · $100/mo × 2 seats | $269 · Pay-as-you-go (no platform fee) |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $8,800 · $2000/mo · with limits | $502 · Pay-as-you-go (no platform fee) |
boat: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month; unused time does not carry over. A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge; extra saved snapshots and the optional AI credentials proxy still charge. The $20 plan includes 200 starts a day (create, fork and resume count), up to 1,200 with paid extras at $0.03 to $0.07 each. boat does not bill egress.
AWS EC2: EC2 bills each instance per second (60 second minimum) at its list rate, here the Graviton c7g sizes, with no platform fee. EBS disks bill on top, also while stopped. A public IPv4 address bills while the instance runs, and an Elastic IP you keep also bills while stopped. Data sent out to the internet bills per GB. Lower rates need a 1-year or 3-year commitment that bills every hour of the term.
Limits in those scenarios
A new AWS account can run only 5 vCPUs of standard On-Demand instances per region, which is one 4 vCPU machine. AWS raises that quota with usage or on request, but 50 agents in parallel or 300 sandboxes for your users need it raised first. One agent that never stops reaches EC2's $51 a month only with a 3-year commitment. On boat, the 1,000-job burst is the one that does not fit: the $2,000 plan includes 90 starts a minute, 600 an hour and 2,400 a day (the $20 plan 12/60/200); extra starts cost $0.03 to $0.07 each up to 6 times the included number (3 times per minute), and above that a start fails with 429. Other boat limits: no GPUs, no region outside Germany, Finland and France, and a stopped disk is kept for at least 14 days unless you save a snapshot. If a boat machine fails, you lose what was written after the last good snapshot.
| Scenario | boat | AWS EC2 |
|---|---|---|
| One coding agent, workdays | None for this scenario | None for this scenario |
| One agent that never stops | 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 |
| None for this scenario |
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
Which one should you use?
Use AWS EC2 when
you need GPUs, Windows or macOS, regions outside Europe, disks kept until you delete them, or very large bursts of short jobs, and you have the people to set up the agent tooling on top.
- GPUs, Windows and macOS. Useful if your agents need GPUs, Windows or macOS: EC2 rents Nvidia GPU instances, Windows servers and Mac hosts.
- Regions all over the world. Useful if your users or data must sit outside Europe: EC2 runs in 39 regions across every continent but Antarctica.
- Network rules, static IPs, durable disks and memory hibernation. Useful if you must limit where code can connect, keep a fixed address, keep a disk indefinitely, or resume with memory intact: EC2 does all four.
Use boat when
you want each agent on a ready, full VM: coding agents with an API, an optional keys proxy, a desktop, HTTPS URLs, minute-by-minute snapshots and forks, with no infrastructure to assemble.
- Coding agents you drive from outside. On EC2 you set up the install, start, prompt and watch steps for every agent yourself. IAM roles cover AWS's own APIs; other API keys sit inside the instance unless you build your own proxy.
- Fork a running machine, no compute charge when stopped. Agents break things and branch often. On EC2 each branch waits for an image and a fresh boot. On boat, memory and running programs are not saved, so a resume or a fork starts like a reboot.
- Desktop, browser and HTTPS URLs ready. A computer-use agent on EC2 needs a desktop, a streaming server and a click API that you install and maintain. Showing a user the app an agent built needs DNS and TLS setup for every instance.
Questions people ask
Is boat cheaper than AWS EC2?
In four of the five scenarios we priced, yes. One coding agent on workdays is about even: $20 a month on boat and $21 on EC2. One agent that never stops: $26 on boat, $51 on EC2 with a 3-year commitment. 50 agents in parallel: $317 versus $944. Sandboxes for your users: $200 versus $269. EC2 runs the 1,000-job burst for $502 a month, which does not fit boat's start limits. Prices come from the Battleships engine of 8 November 2026 at battleships.dev.
Can I just run Claude Code on an EC2 instance?
Yes. You launch an instance, install the agent, give it a key and keep it running over SSH or Systems Manager. boat does that setup for you: the agents come preinstalled, and you drive them with a prompt, steer and events API. With the optional AI credentials proxy on, the real keys of supported providers stay outside the sandbox.
Does EC2 support nested virtualization like boat?
Yes, on many instance types. EC2 has allowed KVM or Hyper-V inside virtual C8i, M8i and R8i instances since February 2026. It now also allows it on C7i, M7i, R7i, R7iz, X8i, I7i, I7ie and their variants, and metal instances have long allowed it. Graviton and AMD virtual instances do not. On boat, /dev/kvm is available on every sandbox.
Does boat have GPUs, Windows or macOS like EC2?
No. boat runs Linux VMs on AMD Ryzen hosts with shared vCPUs, and has no GPUs. Windows programs run through Wine on the Linux desktop; there is no Windows VM. If you need Nvidia GPUs, Windows Server or macOS, EC2 offers all three.
Does AWS have its own agent sandbox?
Yes. AWS sells Bedrock AgentCore Code Interpreter and Browser, microVM-isolated and billed by use, if you want an agent sandbox inside AWS. EC2 itself is a general VM service that you set up yourself.
Where does my data run?
boat sandboxes run on machines in Germany, Finland and France. You cannot pick a region, and snapshot copies can be stored outside the EU. EC2 runs in 39 regions worldwide, including several in the EU, and you choose the region for each instance.
Is boat SOC 2 compliant?
SOC 2 is in progress; boat has no SOC 2 report today. No HIPAA BAA and no SAML SSO are documented. boat has 99.95% measured sandbox uptime over the history of all sandboxes, and no published SLA. Live status is at status.ascii.dev and the data retention policy at docs.boat.dev/data-retention.
Start a sandbox
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Oracle Cloud
- boat vs IONOS Cloud
- boat vs AWS AgentCore
- boat vs Contabo
- boat vs Azure Virtual Machines
- boat vs AWS Fargate
- boat vs netcup
- boat vs Gcore
- boat vs E2B
- boat vs Daytona
- boat vs Modal
- boat vs Vercel Sandbox
- AWS EC2 vs Google Compute Engine
- AWS EC2 vs Azure Virtual Machines
- AWS EC2 vs Oracle Cloud
- AWS EC2 vs DigitalOcean
- AWS EC2 vs Hetzner Cloud
- AWS EC2 vs Vultr
- AWS EC2 vs Linode
- AWS EC2 vs Scaleway