Railway vs Azure Container Apps Sandboxes

Railway is an app platform whose sandboxes are Linux VMs next to your apps and databases. Railway destroys a sandbox after an idle timeout, unless you take a checkpoint first. Azure Container Apps Sandboxes are microVMs inside your Azure account. They suspend with their memory and wake again on traffic.

The companies and products

Railway

Railway is a cloud platform for deploying web apps, servers and databases. It also sells Sandboxes and Cloud Agents.

Railway's main product is app hosting: you deploy services and databases as containers on its own hardware. In 2026 it added Sandboxes: isolated Linux VMs that you create from the CLI or a TypeScript SDK, run commands in and destroy. It also added Cloud Agents: a personal VM for a coding agent that keeps its disk and sleeps or wakes. Cloud Agents are in Priority Boarding, and breaking changes may occur. Railway suits teams that already host on Railway and want sandboxes next to their apps.

Azure Container Apps Sandboxes

Azure Container Apps Sandboxes is a service inside Microsoft Azure that gives each agent or user an isolated microVM you create, suspend and resume through an SDK.

It is part of Azure Container Apps, the hyperscaler's serverless container platform, and lives in your Azure subscription as a sandbox group resource. Each sandbox boots from an OCI image or a snapshot and has its own kernel. A stop keeps the disk, or the disk and the memory, and a memory-mode sandbox resumes in under a second. It is built for teams already on Azure that want stateful code execution with Azure networking, identity and billing.

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. “28th cheapest of 365” means 27 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 workloadRailway: price rankAzure Container Apps Sandboxes: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Railway ranks 13th and Azure 31st, both with your own setup. Railway keeps work in checkpoints; Azure has no documented SSH or /dev/kvm. boat saves the disk every minute and ranks 8th.
28th cheapest of 365
$1,481 a month
33rd cheapest of 365
$5,276 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Both fit. Railway (30th) needs the idle timeout set to 0, and memory bills the whole time. Azure (44th) bills a running sandbox every second. On boat (6th), turn auto-stop off on a paid plan.
21st cheapest of 361
$3,977 a month
52nd cheapest of 361
$6,780 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
Railway (43rd) and Azure (40th) are close for short code runs. Railway bills for CPU used and destroys the sandbox after. Azure suspends it with its memory and resumes in under a second.
42nd cheapest of 336
$413 a month
39th cheapest of 336
$354 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
Azure fits sandboxes for your users fully (34th) and suspends idle ones with their memory. Railway caps sandboxes at 100 per environment on Pro. boat ranks 3rd, with start limits per plan.
46th of 349, with limits
$290 a month
32nd cheapest of 349
$2,260 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
84th of 349, with limits
$4,450 a month
158th of 349, with limits
$10,740 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
Azure fits agent evals (87th): a snapshot of a running sandbox with its memory can seed many new ones. Railway forks the filesystem only and caps sandboxes per environment. boat ranks 12th.
113th of 359, with limits
$364 a month
85th cheapest of 359
$1,728 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
CI that builds containers needs Docker. Railway does not document it, so you install and verify it yourself. Azure ships it in some images, like azure-dev. boat documents it on every machine and ranks 2nd.
116th cheapest of 374
$1,210 a month
108th cheapest of 374
$1,046 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Railway (71st) can host a dev box with SSH that stays up. Azure gives a shell through its aca CLI, SDK and portal, and does not document SSH. boat has SSH and ranks 19th.
69th cheapest of 371
$89 a month
327th of 371, with limits
$262 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
Railway ranks 15th and Azure 51st, both with your own setup: neither includes a desktop, so you add Xvfb and noVNC or build one into an image. boat includes a 60 fps desktop and ranks 10th.
47th cheapest of 367
$407 a month
58th cheapest of 367
$1,573 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
53rd of 356, with limits
$93 a month
129th of 356, with limits
$795 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
65th cheapest of 343
$570 a month
112th cheapest of 343
$561 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
111th of 327, with limits
$2,988 a month
240th of 327, with limits
$10,956 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
71st of 351, with limits
$574 a month
30th cheapest of 351
$517 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 requirementNot ranked: misses a requirementNot 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 requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureRailwayAzure Container Apps Sandboxesboat
IsolationSandboxes are isolated Linux VMs; app services are containersMicroVM per sandbox with its own kernelFull VM with its own kernel on a physical host dedicated to boat (Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared
When the sandbox goes idleDestroyed after the idle timeout (30 minutes by default, or 0 for never); files survive in checkpoints you takeAuto-suspends after an idle timeout (5 minutes by default) with memory and disk; traffic or a start command wakes it in under a secondAuto-stop timer (1 hour by default; it does not watch for idle). The disk is saved every minute and at stop; memory is not saved.
Docker insideRoot shell on Ubuntu; Docker is not documented: you install and verify it yourselfDepends on the image: azure-dev ships Docker on systemd; the default ubuntu image has only Buildah; or import your own imageDocker, systemd and root documented on every machine
Nested virtualizationNot documentedNot documented/dev/kvm on every sandbox for Android emulators and VMs
Shell and inbound accessSSH and port forwarding; up to 10 public HTTPS domains, set only at creation, with no built-in authShell through the aca CLI, SDK or portal, SSH not documented; public HTTPS routes per published port, no public IPSSH; up to 50 HTTPS URLs, token-gated by default; public IPv6 for raw ports. No dedicated IPv4, and the IP changes at each resume.
Fork and snapshotsFork a running sandbox's filesystem; named disk checkpoints boot new ones (no memory)Snapshot a running sandbox with its memory and create new sandboxes from itFork from the last 1-minute disk snapshot; saved snapshots start new ones (no memory)
Custom imageTemplates built from ordered steps; no custom Docker or OCI image for sandboxesAny OCI image from a public or private registry, imported as a disk imageboat's Ubuntu 24.04 image or a saved snapshot; no custom Docker or OCI image
Coding agentsClaude Code, Codex, OpenCode and Pi preinstalled, run through execCopilot CLI and Claude Code images, run through the exec APISeven harnesses installed, with a prompt, steer and events API
Keeping AI keys out of the sandboxSecrets enter the sandbox as environment variables, or are signed in and saved in a checkpointYou set it up: an egress Transform rule adds a group secret or managed-identity token as a header outside the sandbox, one rule per API hostOptional paid credentials proxy ($1 per day on, plus $1 per 1,000 requests) for supported model providers; other secrets still enter
Desktop and computer useNo desktop included; you can add Xvfb and noVNC with the template builder and publish the portNo desktop or browser in the public images; you can build one into your own OCI image and publish it on an HTTPS portBuilt-in Linux desktop and Chrome stream at 1920x1080, 60 fps, with computer-use tools; no GPU
Outbound rulesOpen internet; no egress allowlist for sandboxesEgress policy with allow, deny, rewrite and header rules by host, path and method; VNet integrationOpen internet, no provider-side allowlist
Apps and databases nearbyPostgres, Redis and services in the same project; a sandbox can join their private networkLives in your Azure subscription; a sandbox group can join your Azure VNetsSandboxes only; host your own services inside a VM
Biggest sandbox8 vCPU / 8 GB on Hobby; on Pro up to 32 vCPU / 32 GB per the docs (24 vCPU / 24 GB per the pricing page)Seven tiers up to 16 cores / 32 GiB / 320 GiB disk8 vCPU / 16 GB on the $20 plan, 16 vCPU / 32 GB from the $100 plan
Sandboxes at oncePer environment: 50 on Hobby, 100 on Pro; Enterprise can ask for more. No published start limit.300 concurrent active cores per region and subscription by default; more by Azure support request, which can need review100 to 2,000 by plan, self-serve; starts limited per minute, hour and day (12 / 60 / 200 on $20)
RegionsUS West, US East, Amsterdam and Singapore40 Azure regions, 9 of them in the EUGermany, Finland and France; no US or Asia region, and you cannot pick one
Every feature Battleships tracks (43)
FeatureRailwayAzure Container Apps Sandboxesboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedYesYes
Nested virtualizationNot publishedNot publishedYes
RootYesYesYes
SystemdNot publishedYesYes
Desktop GUIWith your own setupWith your own setupYes
BrowserYesWith your own setupYes
Computer-use APINo documented wayNo documented wayYes
SSHYesNo documented wayYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkNo documented wayYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistNo documented wayYesNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsYesYesYes
Agent harness APIYesNo documented wayYes
MCP serverYesNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCYesNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesYesYes
Usage per sandbox (API)No documented wayYesYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

RailwayNot measured
Azure Container Apps SandboxesNot measured
boat28.06 runs/s

Neither Railway nor Azure Container Apps Sandboxes 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 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. Every boat sandbox in that 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.

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. Railway and Azure Container Apps Sandboxes 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.

ScenarioRailway, a monthAzure Container Apps Sandboxes, a monthboat, 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
$16 · Hobby · with limits$68 · Pay-as-you-go$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$70 · Hobby · with limits$262 · Pay-as-you-go · 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
$739 · Hobby · with limits$3,421 · Pay-as-you-go$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
$223 · Pro · with limits$989 · Pay-as-you-go$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
$781 · Pro · with limits$2,148 · Pay-as-you-go$8,800 · $2000/mo · with limits

Railway: Railway bills sandboxes per second at about $50 per vCPU-month on CPU actually used and $50 per GB-month on memory in use, plus $0.05 per GB out. Memory keeps billing while a sandbox waits, until it is destroyed. The Hobby ($5) and Pro ($20) fees count toward usage. Railway publishes no price for sandbox disk, so our bills leave it out.

Azure Container Apps Sandboxes: Azure bills per second on the Container Apps Consumption meters for the vCPU and memory of the sandbox's tier while it runs, idle time before auto-suspend included. The XL tier (4 cores / 8 GiB) is $0.432 an hour at East US rates. Stopped sandboxes pay no CPU or memory, and there is no plan fee. Storage for images, snapshots and volumes is announced as billed per GiB.

Azure Container Apps Sandboxes: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A running sandbox bills per second at full rate, busy or idle: $0.036 an hour for 4 vCPU / 8 GB. A stopped sandbox has no compute charge, but saved snapshots above the included count and the AI credentials proxy still charge. Extra starts above the plan's included starts cost $0.03 to $0.07 each. A card is required, also for the 7-day trial.

Limits in those scenarios

Railway is marked as not a clean fit in every scenario because it is an app platform first and does not price sandbox disk. Its cap of 100 sandboxes per environment on Pro blocks 300 user sandboxes or 1,000 jobs at once without several environments. Azure's lowest price for an always-on agent needs a 3-year savings plan, and Azure does not state that the plan covers Sandboxes. Its default quota of 300 active cores per region caps a fleet until support raises it. For the agent fleet, Docker on Azure means an image that ships it, like azure-dev. boat's $2,000 plan charges for starts above 90 a minute and refuses them above 270, so boat does not fit the 1,000-job burst. If a boat machine fails, you lose what was written after the last good snapshot.

ScenarioRailwayAzure Container Apps Sandboxesboat
One coding agent, workdays
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenarioNone for this scenario
One agent that never stops
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • 3-year commitment
None for this scenario
50 agents in parallel
  • not confirmed: Docker inside
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenarioNone for this scenario
Sandboxes for your users
  • Pro: max 100 concurrent
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenarioNone for this scenario
1,000 short jobs at once
  • Pro: max 100 concurrent
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenario
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

Which one should you use?

Use Railway when

your app and databases already live on Railway and you want short-lived sandboxes on the same private network, with SSH and big machines.

  • Sandboxes next to your apps. Useful if your app already runs on Railway: a sandbox can join the private network of your Postgres and services.
  • SSH and big machines. Useful when you want to SSH in or need up to 32 vCPU / 32 GB in one sandbox on Pro, per Railway's docs.
  • Short jobs that bill for CPU used. Useful for many quick code runs: CPU is metered on what a sandbox uses, and Railway destroys it when the job ends.

Use Azure Container Apps Sandboxes when

your team already runs on Azure and wants sandboxes from its own images that suspend with their memory, wake on traffic, sit behind strict egress rules, or run in many regions.

  • Suspend with memory, wake on traffic. Good for stateful jobs that sleep between requests: a sandbox suspends with its memory and resumes in under a second.
  • Fine-grained outbound rules. Its egress policy can allow, deny or rewrite each outbound request by host, path and method, with VNet integration.
  • Your own image, inside Azure, in 40 regions. Teams already on Azure get Entra ID, Azure billing, their own VNets and OCI images, in 40 regions on six continents.

Where boat fits

Railway and Azure both suit short jobs: Railway destroys a sandbox when it goes idle, and Azure suspends it with its memory. If your agents work for hours or days and need a whole computer, with Docker, a desktop and SSH, look at boat. Each agent gets a full VM that saves its disk every minute, with coding agents you drive by API. boat runs only in Germany, Finland and France, and limits starts by plan.

A disk that stays

Railway destroys a sandbox 30 minutes after it goes idle unless you took a checkpoint. Azure keeps the disk, or the disk and memory, when it suspends. boat saves the disk every minute and at stop, and keeps it at least 14 days. A boat resume is like a reboot: memory is not saved.

A whole computer: Docker, KVM, SSH and a desktop

Neither documents /dev/kvm or includes a desktop, and Azure does not document SSH. You can install Docker on Railway, use an Azure image that ships it, and build a desktop on either. boat documents all of it, with a 60 fps desktop. boat has no GPU.

Agents driven from outside

On Railway and Azure you run Claude Code through exec and parse its output. boat adds a prompt, steer and events API, and an optional paid credentials proxy. On Azure, egress rules can add keys outside the sandbox, which you set up per API host.

Use boat when your agents work for hours or days and need a whole computer: a full VM that saves its disk every minute, with Docker, /dev/kvm, SSH, a desktop, and coding agents you drive by API. boat runs only in the EU and limits starts by plan. Compare it one to one: boat vs Railway and boat vs Azure Container Apps Sandboxes.

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 Railway cheaper than Azure Container Apps Sandboxes?

In our scenarios Railway's bills are lower, but they count CPU and memory only, since Railway does not price sandbox disk. One agent on workdays comes to $16 on Railway and $68 on Azure, one agent all month to $70 against $262, and 50 agents in parallel to $739 against $3,421. boat comes to $20, $26 and $317 for those three. Azure fits 1,000 short jobs at once at $2,148 after a quota raise; Railway and boat do not fit that one.

Which is faster, Railway or Azure Container Apps Sandboxes?

We cannot say. Neither is in the public benchmarks we use. In StarSling's run of 3 October 2026, boat did 28.06 runs/s at 4 vCPU / 8 GB on a Ryzen 9 9950X host.

Can I run Docker inside Railway or Azure sandboxes?

Railway's sandbox docs do not mention Docker, so you install and verify it yourself. On Azure, the azure-dev image ships Docker on systemd, the default ubuntu image has only Buildah, and you can import your own image. boat documents Docker on every sandbox and also exposes /dev/kvm.

Can I SSH into a Railway or Azure sandbox?

Railway supports SSH and port forwarding into a sandbox. Azure does not document SSH: you get a shell through the aca CLI, the SDK or the portal. Every boat sandbox has SSH.

What happens when a sandbox goes idle?

Railway destroys it after the idle timeout, 30 minutes by default, so you keep files through checkpoints or by setting the timeout to 0. Azure suspends it after 5 minutes idle by default, with its memory, and wakes it on traffic. boat stops it when its auto-stop timer runs out (1 hour by default), keeps the disk at least 14 days, and has no compute charge while it is stopped.

Is boat SOC 2 compliant?

SOC 2 is in progress, so boat has no SOC 2 report today. Live status is at status.ascii.dev and the data retention policy is at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons