Fly.io Machines vs AWS AgentCore
Fly.io Machines are microVMs for hosting your own apps in 17 regions: you build the image, and they run until you stop them. AWS AgentCore is an agent platform inside your AWS account: each session gets a microVM that you reach through AWS APIs and authenticated session endpoints, with managed Code Interpreter and Browser tools.
The companies and products
Fly.io Machines
Fly.io is an app hosting platform, and Machines are the microVMs underneath it that you can also start and stop through a REST API.
A Fly Machine boots your Docker image as a Firecracker microVM on Fly's own servers, in one of 17 regions. You pick a shared or performance CPU preset and mount one Volume at a time for data that must last. Fly Proxy can stop, suspend and wake Machines as traffic comes and goes. Machines themselves are an app-hosting building block; for agent sandboxes Fly also sells Sprites (see boat vs Sprites), so this page compares only the Machines product.
AWS AgentCore
Amazon Bedrock AgentCore is a set of AWS services to deploy and run AI agents: a Runtime that hosts your agent code, plus built-in Code Interpreter and Browser tools.
AgentCore is not a sandbox product first. It is a hyperscaler's agent platform: you push a container image or code, and each Runtime session gets its own Firecracker microVM. You reach a session through AgentCore APIs, an interactive shell API and authenticated HTTPS session endpoints. Around it sit managed tools (Code Interpreter, Browser) and services for memory, identity, gateways and evaluations. An Instances compute type runs longer sessions on EC2 in your own account. It is built for teams who already build on AWS and want agents to stay inside their account, IAM and VPC.
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. “123rd cheapest of 365” means 122 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 | Fly.io Machines: price rank | AWS AgentCore: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month An AgentCore microVM session has 2 vCPU and stops after 8 hours; longer or bigger sessions need the Instances type on EC2. Fly's shared vCPUs throttle long builds unless you pay for performance CPU. boat gives a 4 vCPU machine with Docker and a desktop. | 123rd of 365, with limits $836 a month | 132nd of 365, with limits $888 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that runs all month outlasts AgentCore's 8-hour microVM sessions; the Instances type allows up to 14 days. On Fly it keeps files on a Volume, or on the root file system with opt-in persist_rootfs. On boat, turn auto-stop off (1 hour by default) on a paid plan. | 186th of 361, with limits $816 a month | 109th of 361, with limits $1,300 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 AWS AgentCore fits this well: Code Interpreter is built for short code runs and bills for CPU actually used and peak memory. | 83rd of 336, with limits $94 a month | 11th cheapest of 336 $114 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 AgentCore session endpoints reach an app's ports, but each request needs an AWS signature or an OAuth token. Fly can host the app on public HTTPS. boat gives HTTPS URLs on up to 50 ports, token-gated by default or public. | 75th of 349, with limits $600 a month | 205th of 349, with limits $506 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 Fly bills per second with no plan fee, so it costs less here than AgentCore. Both are compromises, and so is boat, whose start limits push it to the $2,000 plan. | 52nd of 349, with limits $2,838 a month | 129th of 349, with limits $8,075 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 | 124th of 359, with limits $457 a month | 46th cheapest of 359 $650 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 | 154th of 374, with limits $288 a month | 51st cheapest of 374 $399 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box needs SSH and a disk that keeps installed packages. AgentCore has a shell API but no SSH. A Fly Machine keeps files on its Volume, or on the root file system with opt-in persist_rootfs. | 160th of 371, with limits $35 a month | 242nd of 371, with limits $52 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 | 140th of 367, with limits $173 a month | 146th of 367, with limits $202 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 AWS AgentCore fits this well: its Browser tool is a managed Chromium with live view and replay. On Fly you package a browser into your own image. | 229th of 356, with limits $90 a month | 4th cheapest of 356 $144 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 | 233rd of 343, with limits $67 a month | 32nd cheapest of 343 $287 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 Fly can spread scrapers across 17 regions and pays only for the seconds they run, so it ranks above AgentCore and boat here. | 47th of 327, with limits $1,232 a month | 164th of 327, with limits $5,458 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 | 168th of 351, with limits $63 a month | 108th of 351, with limits $294 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 | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
| 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 | Not ranked: misses a requirement |
Key features
| Feature | Fly.io Machines | AWS AgentCore | boat |
|---|---|---|---|
| Kind of product | App hosting platform; Machines are Firecracker microVMs that boot your own image, started through a REST API | AWS agent platform: a Firecracker microVM per Runtime session, plus managed Code Interpreter and Browser tools in containers | Agent sandbox: a full VM with its own kernel per agent, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X) |
| CPU and size | Shared vCPUs guarantee 6.25% of each core plus bursts; performance vCPUs get the full core at a higher rate | 2 vCPU / 8 GB per microVM session, not adjustable; on Instances, the EC2 type you pick sets the size | Shared vCPUs with no baseline quota or burst balance; up to 16 vCPU / 32 GB on the $100 plan and above |
| Session length | No documented maximum; a Machine runs until you or autostop stop it | Up to 8 hours per microVM lifecycle, stopped after 15 idle minutes by default; up to 14 days on Instances | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Files after a stop | Root file system resets by default; opt-in persist_rootfs keeps it, but Fly staff say not to trust it with critical data. One Volume of up to 500GB per Machine, with daily snapshots, billed for its full size around the clock | Mounts under /mnt only: a 1 GB per-session storage mount (preview), your own EFS or S3 Files mounts in a VPC, or EBS volumes on Instances; the rest of the microVM resets | The disk is saved every minute and at each stop, and kept at least 14 days; memory, /tmp and most caches are not saved |
| Pause with memory | Suspend keeps memory for Machines up to 2GB; dropped on deploy or host move | No pause or memory snapshot for sessions | Resume reboots from disk (no memory snapshots) |
| Fork | Clone copies a Machine's config; its Volume starts empty unless you restore a volume snapshot or fork the Volume; the root file system is not copied | No snapshot or fork of a session; on Instances you can seed new EBS volumes from your own EBS snapshots | Fork a running sandbox in one step from its last 1-minute snapshot (writes from the last minute or so can be missing) |
| Docker, systemd and /dev/kvm | Root and Docker you install yourself; Fly's own init by default (systemd as PID 1 is not a documented setup); /dev/kvm not documented | Root inside the microVM; arm64 container images; Docker and /dev/kvm not documented | Root, Docker, systemd and /dev/kvm on every machine |
| Custom image | Your own Docker image | Your own container image (arm64 on microVMs; x86_64 or arm64 on Instances) | Start from boat's Ubuntu 24.04 image or a saved snapshot; you cannot boot your own Docker image |
| Reaching the sandbox | Public HTTPS and TCP through Fly Proxy, Anycast IPs, custom domains, SSH and a private network | Authenticated HTTPS session endpoints for 1 to 5 ports (IAM or OAuth on every request, not on Instances) and an interactive shell API; no SSH | Up to 50 HTTPS URLs, token-gated by default or public; SSH; public IPv6 and outbound IPv4; no dedicated IPv4 |
| Network controls | Network policies allow chosen ports and protocols and deny the rest | VPC mode with security groups, PrivateLink and a NAT gateway for a fixed outbound IP | Open internet on every plan; no provider-side allowlist |
| Browser and desktop | Not built in; you set it up: add a desktop, a browser and a VNC stream to your own image | Managed Chromium with live view, session recording and replay, profiles and proxies; no desktop beyond the browser window | Full Linux desktop and Chrome streamed at 1920x1080, 60fps, with computer-use tools |
| Coding agents | Not built in on Machines; you install agents in your image. Fly's separate Sprites product ships Claude Code, Codex and Gemini | AWS's own managed harness built on Strands Agents, or your own agent code in any framework | Seven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API |
| Keeping keys out of the sandbox | Secrets arrive as environment variables; you can deploy Fly's open-source tokenizer proxy yourself | AgentCore Identity stores OAuth tokens and API keys and hands them to your agent code | Optional AI credentials proxy ($1 per day while on, plus $1 per 1,000 requests); with it on, real keys of supported providers never enter the sandbox; other secrets still do |
| GPUs | No; Fly GPU Machines were discontinued in 2026 | NVIDIA G-series and Inferentia2 on the Instances type | No GPU on any size |
| Regions | 17 regions on six continents, on Fly's own servers | 21 commercial AWS regions plus GovCloud (Instances in 9) | Germany, Finland and France; no US or Asia region, and you cannot pick one |
Every feature Battleships tracks (43)
| Feature | Fly.io Machines | AWS AgentCore | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Not published | Yes |
| Nested virtualization | Not published | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | No documented way | Yes |
| Desktop GUI | No documented way | No documented way | Yes |
| Browser | No documented way | Yes | Yes |
| Computer-use API | No documented way | Yes | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | No documented way | Yes |
| Automatic snapshots | Yes | No documented way | Yes |
| Fork/clone | Yes | No documented way | Yes |
| Live fork (no pause) | Yes | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | No documented way | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | Yes | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Yes | No documented way | Yes |
| Public IPv4 | Yes | No documented way | No documented way |
| Egress allowlist | Yes | Yes | 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 | Yes | Yes | No documented way |
| GPU | No documented way | Yes | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Yes | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | Yes | No documented way |
| Open source | Yes | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | No documented way | With your own setup | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | No documented way | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Fly.io Machines nor AWS AgentCore is 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 V8 Web Tooling Benchmark runs per second at 4 vCPU / 8 GB, second of 15. 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. Fly results depend on whether you pick shared or performance vCPUs. An AgentCore microVM session stops at 2 vCPU, so a like-for-like test would use the Instances type.
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. Fly.io Machines and AWS AgentCore 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 | Fly.io Machines, a month | AWS AgentCore, 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 | $15 · Pay As You Go · with limits | $26 · Pay-as-you-go (Instances) · with limits | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $36 · Pay As You Go · with limits | $107 · Pay-as-you-go (Instances) · with limits | $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 | $487 · Pay As You Go · with limits | $1,286 · Pay-as-you-go (Instances) · with limits | $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 | $110 · Pay As You Go · with limits | $423 · Pay-as-you-go · with limits | $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 | $232 · Pay As You Go · with limits | $1,615 · Pay-as-you-go (Instances) | $8,800 · $2000/mo · with limits |
Fly.io Machines: Fly bills each Machine per second while it runs, by CPU preset and memory, with no plan fee. Stopped Machines pay for their root file system, and Volumes are billed for their full size all month at $0.15 per GB. The figures here use Fly's lowest rate: shared vCPUs in 1-year reservation blocks for 40% off.
AWS AgentCore: No monthly fee. Runtime microVMs, Code Interpreter and Browser bill per second for CPU actually used and for peak memory. The 4 vCPU shape in these scenarios is the Instances type: the EC2 on-demand price plus a 12% management fee, with EBS storage and data transfer on top. The scenario prices leave out EBS storage.
AWS AgentCore: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and unused time does not carry over. A default 4 vCPU / 8 GB sandbox 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; extra starts cost $0.03 to $0.07 each.
Limits in those scenarios
Fly is a compromise in every scenario: its lowest figures need a 1-year reservation, and shared vCPUs guarantee only 6.25% of each core, so long builds get throttled. AgentCore's microVM sessions stop at 2 vCPU / 8 GB and 8 hours, so the 4 vCPU scenarios use the Instances type, and files survive a stop only under /mnt mounts. AgentCore fits the 1,000-job burst; Fly and boat do not. boat charges for starts above 90 a minute on the $2,000 plan and refuses them above 270. boat's other limits: auto-stop defaults to 1 hour, a resume is like a reboot, and the IP address changes at each resume.
| Scenario | Fly.io Machines | AWS AgentCore | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Fly.io Machines when
you want long-running microVMs from your own image, reachable on public ports in regions worldwide, that wake on traffic.
- Host it and reach it. For agents that serve something: Fly gives each Machine public HTTPS and TCP, SSH, custom domains and a private network.
- Wake on request and memory suspend. For work that sleeps between requests: Fly Proxy wakes a Machine on traffic, and small Machines resume with memory kept.
- Runs as long as you want. For long jobs: a Fly Machine has no documented time limit, while an AgentCore microVM session stops after 8 hours (14 days on Instances).
Use AWS AgentCore when
your agents must stay inside your AWS account and VPC, need a GPU, or are short code and browser tasks that fit the managed tools.
- It lives inside your AWS account. For teams built on AWS: agents stay behind your own IAM, VPC, security groups and PrivateLink, in 21 commercial regions.
- Managed tools that bill for use. For short code runs and browser tasks: Code Interpreter and Browser charge for CPU actually used and peak memory, with live view and replay.
- GPUs and two-week sessions. For agents that need a GPU or up to 14 days: the Instances type runs them on EC2 in your account.
Where boat fits
Fly.io Machines give you a VM image that you build yourself, and AgentCore gives you sessions inside AWS that you reach through AWS APIs. If your agents install tools, build, test and run Docker for hours, boat gives each one a full machine that saves its disk every minute, with a desktop and coding agents installed.
The disk is saved with no setup
On Fly the root file system resets by default, so lasting files go on a Volume billed for its full size, or on the root file system with opt-in persist_rootfs. On AgentCore, files survive under /mnt mounts: session storage, EFS, S3 Files or EBS on Instances. boat saves the whole disk every minute and at each stop, and keeps it at least 14 days. It does not save memory or /tmp, and a machine failure loses writes after the last good snapshot.
A full machine for long sessions
Fly does not document systemd as PID 1 or /dev/kvm, and its shared vCPUs guarantee 6.25% of a core. An AgentCore microVM session stops at 2 vCPU and 8 hours unless you use EC2 Instances. boat has Docker, systemd and /dev/kvm, up to 16 vCPU. Auto-stop defaults to 1 hour, and you can turn it off on a paid plan.
Desktop and coding agents installed
On Fly you add a desktop, a browser and agents to your own image. AgentCore drives a managed browser window and its own harness. boat ships a 60fps Linux desktop with computer-use tools and seven coding-agent harnesses that you drive from outside.
Use boat when your agents do real work for hours: installs, builds, tests, Docker and emulators on a full VM whose disk is saved every minute and at each stop, with a desktop and coding agents installed. Compare it one to one: boat vs Fly.io Machines and boat vs AWS AgentCore.
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 Fly.io Machines cheaper than AWS AgentCore?
In this page's scenarios, yes. One agent all month is $36 on Fly against $107 on AgentCore, and 50 agents in parallel are $487 against $1,286. On boat they are $26 and $317. Fly's figures assume a 1-year reservation and work within a shared vCPU's 6.25% baseline. For 1,000 short jobs at once, AgentCore ($1,615) is the one of the three that fits.
Which is faster, Fly.io Machines or AWS AgentCore?
Neither is in the public benchmarks we use. On Fly it depends on whether you pick shared vCPUs, which throttle under long load, or performance vCPUs. An AgentCore microVM session stops at 2 vCPU, so bigger jobs need the Instances type on EC2.
Can Fly.io Machines or AgentCore run Docker?
On Fly you can install and run Docker inside a Machine yourself. Fly does not document systemd as PID 1 or /dev/kvm. AgentCore runs your container image as root, but its docs do not say that Docker or /dev/kvm work inside a session. boat has Docker, systemd and /dev/kvm on every machine.
How long can a session run?
A Fly Machine has no documented time limit and runs until it is stopped. An AgentCore microVM session lasts up to 8 hours and stops after 15 idle minutes by default; the Instances type allows up to 14 days. On boat, auto-stop defaults to 1 hour; you can set up to 30 days or turn it off on a paid plan.
Do files survive a stop?
On Fly, files on the Machine's Volume last, and the root file system lasts too if you turn on persist_rootfs, which Fly staff say not to trust with critical data. On AgentCore, files under /mnt mounts last: a 1 GB session storage mount (preview), EFS or S3 Files in a VPC, or EBS on Instances. boat saves the disk every minute and at each stop and keeps it at least 14 days; memory and /tmp are not saved.
Is boat SOC 2 compliant?
SOC 2 is in progress, and no HIPAA BAA is documented. We're open about where we stand: live status at status.ascii.dev and our data retention policy at docs.boat.dev/data-retention.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Fly.io Machines
- boat vs AWS AgentCore
- E2B vs Fly.io Machines
- Daytona vs Fly.io Machines
- Modal vs Fly.io Machines
- Vercel Sandbox vs Fly.io Machines
- Cloudflare Sandbox vs Fly.io Machines
- Blaxel vs Fly.io Machines
- Runloop vs Fly.io Machines
- Tensorlake vs Fly.io Machines
- Morph Cloud vs Fly.io Machines
- CodeSandbox SDK vs Fly.io Machines