Fly.io is a platform as a service that runs full-stack apps, APIs and AI agents on hardware-isolated Machines in regions close to users.
Fly.io puts application servers in data centers near the people who use them, so a request from Sydney or São Paulo is answered nearby. Every workload runs on a hardware-isolated virtual machine that can scale out across regions or up in size. The same machines now serve AI agents, which can each get a Linux computer of their own and deploy what they build without moving platforms. Fly.io, Inc. builds and runs the platform as an independent company and has worked on it since 2017. Fly Machines are the core unit, managed with the flyctl command line and described in a fly.toml file kept in the repository. The fly launch command detects common frameworks and writes a Dockerfile when a project has none, and prebuilt images and buildpacks work as well. Deploys roll out blue-green, canary or rolling, and new Machines take traffic only after their health checks pass. Fly Proxy starts and stops Machines as requests arrive, apps talk over a private 6PN network, and custom domains get certificates automatically. Sprites are sandboxed computers for agents that sleep when idle and wake on request. Managed Postgres brings high availability, backups and connection pooling, Fly Volumes give Machines persistent local disks, and GPUs carry AI workloads. Fly.io suits developers and small teams who work from the command line and want one app running in several regions. It also fits companies building agent products that need a separate computer for every customer, and AI teams running evals or reinforcement learning rollouts in parallel. Teams whose CI already runs on GitHub add Git deploys and pull request previews as GitHub Actions workflows in the repository. Healthcare teams can get a pre-signed BAA, and security reviewers can draw on SOC 2 Type II compliance. A common job is hosting a Rails, Phoenix or Django app next to its Postgres database in the regions where its users live. Another is a review app for each pull request, built by a workflow and reachable at its own URL before merge. Engineering teams also give Claude Code or OpenAI Codex a computer in the cloud to work in. Scheduled tasks run as one-off Machines started by Cron Manager, and the Log Shipper app forwards logs to Datadog or S3. For a product whose users span continents, Fly.io is where one codebase runs close to all of them.
Pricing
View plans-
Machines
$2.19 per month
Pay as you go, billed by the second: shared-cpu-1x with 256MB at $0.0030 an hour, $2.19 a month
- performance-1x with 2GB at $0.0458 an hour, $33.00 a month
- 14 presets from shared-cpu-1x to performance-16x
- Extra RAM $6.00 per GB a month, up to 128GB
- Stopped Machine $0.15 per GB of rootfs a month
- Volumes $0.15 per GB a month, billed on provisioned capacity
- Snapshots $0.08 per GB a month, first 10GB each month at no charge
- Egress $0.02 per GB in North America and Europe, $0.04 in Asia Pacific, Oceania and South America, $0.12 in Africa and India
- Shared IPv4 and unlimited Anycast IPv6 per app; dedicated IPv4 $2.00 a month
- Invoices under $5 are waived
- New accounts get $1 of credit with no card, valid 7 days or until used
- Until a card is added: up to 10 Machines, shared-cpu-2x with 4GB, 20GB of volumes and 3 Sprites
- Without a card, Machines stop after 5 minutes and performance CPUs, dedicated IPv4 and extensions are unavailable
-
Sprites
Custom pricing
- $0.0385 per CPU-hour and $0.021875 per GB-hour of memory, metered per hour of active use
- Hot storage $0.50 per GB a month, billed while the Sprite is awake
- Cold storage $0.02 per GB a month, billed for as long as it is kept
-
Managed Postgres Basic
$38 per month
Flat monthly rate per cluster, no annual discount; prorated when created or deleted mid-month
- shared-2x CPU with 1GB of RAM
- High availability, automated backups and connection pooling
- Storage $0.28 per GB a month ($2.80 for 10GB), up to 1,000GB per cluster
- Larger clusters: Starter shared-2x 2GB $72, Launch performance-2x 8GB $282, Scale performance-4x 32GB $962 a month
-
Managed Postgres Performance
$1,922 per month
Flat monthly rate per cluster, no annual discount; storage billed on top
- performance-8x CPU with 64GB of RAM
- High availability, automated backups and connection pooling
Features
- Included: Deploy from a Git repository
- Included: Docker image deployment
- Included: Auto-detected language buildpacks
- Included: Preview environments per pull request
- Included: Zero-downtime deploys with health checks
- Not included: One-click rollback to a previous release
- Included: Automatic horizontal scaling
- Included: Managed PostgreSQL database
- Not included: Managed Redis or key-value store
- Included: Scheduled jobs and background workers
- Included: Private networking between services
- Included: Automatic TLS for custom domains
- Included: Log streaming to external tools
- Not included: Service metrics with threshold alerts
- Included: Declarative service config file
- Included: Choice of deployment region
- Included: Persistent disks for stateful services
- Not included: Free plan for hobby projects
Additional Features
- Fly Machines hardware-isolated virtual machines
- Sprites sandbox computers for AI agents
- Managed Postgres with high availability and backups
- Point-in-time Postgres restore to a new cluster
- Fly Volumes local persistent storage
- Volume snapshots
- GPUs for AI workloads
- flyctl command line tool
Best for
- developers who deploy from the command line with Docker or a common framework
- teams serving users on several continents from nearby regions
- startups building agent products that need a computer per customer
- AI teams running evals and RL rollouts in isolated sandboxes
- engineering teams giving Claude Code or Codex a cloud workspace
- teams whose CI already runs on GitHub Actions
- Postgres-backed web apps and APIs
- healthcare teams that need a BAA
Use cases
- hosting a Rails, Phoenix or Django app near its users
- running an API in several regions at once
- giving each pull request its own review app
- running untrusted agent code in a sandbox
- giving each customer's agent a computer that sleeps when idle
- running cron jobs on one-off Machines
- running a high-availability Postgres cluster
- keeping a self-run database on persistent volumes
- shipping app logs to Datadog or S3
- running AI workloads on GPUs
- rolling out deploys that switch traffic after health checks
Screenshots & Videos
Explore Fly.io in action
User Reviews
Compare with Similar Software
Click to compare side by side with Fly.io