Fly.io
Fly.io Inc. Β· π³ Container Hosting
Fly.io transforms containers into micro-VMs that run on their hardware in cities close to your users.
Overview
Fly.io runs your app as lightweight micro-VMs (Fly Machines) close to your users, in 35+ regions worldwide. You give it a Docker image β or a Dockerfile, or a detected app β and Fly deploys it globally with Anycast IPs, private networking and managed Postgres available alongside.
Fly.io is now best treated as usage-based infrastructure rather than an always-free host for new organizations. Older organizations may retain legacy free allowances for small shared VMs and storage, but new projects should plan around metered pricing. Inbound transfer is generous, and you only run what you need.
It is aimed at developers who want to run real containers β full apps, APIs, even databases β globally distributed, rather than being limited to static sites or single-region servers.
Pros
- βRuns any Docker container as fast-booting micro-VMs
- βGlobal deployment across 35+ regions with Anycast IPs
- βPrivate networking and managed Postgres available
- βGood for stateful and latency-sensitive workloads
- βScales down to lightweight shared VMs
Cons
- βFree and trial allowances have moved toward usage-based billing
- βRequires comfort with Docker and some operations work
- βManaged Postgres needs careful sizing and backups
- βPricing can be unpredictable for heavy egress
Best for
- βContainerized full apps and APIs deployed globally
- βLatency-sensitive services running near users
- βDevelopers comfortable with Docker who want edge compute
Getting started
- 1 Install the flyctl CLI and sign in
- 2 Run fly launch in your project to generate a fly.toml
- 3 Adjust regions, VM size and secrets as needed
- 4 Run fly deploy to ship your container globally
- 5 Optionally attach Fly Postgres and scale machines per region
Related guides
Features
- βGlobal Edge Deployment
- βFly Machines
- βManaged Postgres
- βPrivate Networking
- βAnycast IPs
- βAuto-scaling
Languages
FAQ
For new organizations, Fly.io is usage-based rather than broadly always-free. Some older organizations may still have legacy free allowances.
Fly runs Docker images. The fly launch command can detect common stacks and generate a Dockerfile, but containers are the core model.
Yes. Fly offers managed Postgres, and you can run your own stateful services on persistent volumes.
Deploy these projects to Fly.io
Open-source projects and templates that run on Fly.io's free tier.