Do you want to leave Fly.io and consolidate application and operations? WZ-IT provides PaaS migration from EUR 1,990 excluding VAT to Coolify, Docker, Kubernetes or another suitable target architecture.Book an initial consultation
A migration from Fly.io to Coolify or private infrastructure can involve much more than moving a container. Fly.io combines Machines, regions, Anycast, private networking, local volumes, secrets and process groups. Before selecting the target, determine which distribution is a product requirement and which is only an artefact of the current platform.
Fly.io or Coolify: must global distribution be retained?
Multiple regions are not a goal by themselves. Before consolidation answer:
- Where are the actual users located?
- Which latency is material to the product?
- Is the application stateless or region-bound?
- How is data kept consistent across regions?
- Does distribution provide availability or proximity?
- Which recovery objectives apply after migration?
A single regional environment can cost less and be easier to operate, but it is not equivalent to an actively distributed application. Decide and test that change deliberately.
Fly.io and Coolify compared: map Machines and process groups
| Fly.io layer | Coolify | Own infrastructure |
|---|---|---|
| Machine / Process Group | Git/image deployment, separate web and worker services | container or workload with a resource profile |
| Service/Port / Health Check | configure ports, proxy and health check | define load balancer, proxy and readiness |
| Autostop/Autostart | limited: no unchanged import of Machine control | design scale-to-zero or continuous operation |
| Secret | protected platform variable | operate secret management |
| Region / Anycast | own architecture, no Fly.io region network | plan locations, routing and replication |
| Volume | persistence on the chosen host; separate transfer | plan local, shared or object storage |
Coolify suits bounded Git- or image-based applications. Kubernetes or a separated architecture can be more appropriate for multiple nodes, dynamic orchestration or complex distribution.
The Railway, Render and Fly.io comparison supports target selection, with Managed Kubernetes for distributed orchestration.
Inventory the Fly.io topology
The inventory covers:
- apps, organisations and active regions
- Machines, images and process groups
- configuration in
fly.tomland current Machine settings - services, ports, protocols and health checks
- autostart, autostop, scaling and resources
- secrets and non-secret variables
- volumes, mounts and Machine attachment
- private connections across the Fly network
- public IPs, Anycast, domains and certificates
- databases, tunnels and external services
fly.toml is a valuable source but may not represent every item of current runtime state. Compare declared configuration, running Machines and external dependencies.
Minimal example: this fly.toml describes a web container and volume. Configure the Dockerfile, internal port 3000, HTTPS domain and persistent /data mount separately in Coolify. primary_region becomes a location decision rather than an automatic import.
app = "example-web"
primary_region = "fra"
[build]
dockerfile = "Dockerfile"
[http_service]
internal_port = 3000
force_https = true
[[mounts]]
source = "app_data"
destination = "/data"
Private networking and public endpoints
Internal Fly.io names and 6PN connections are not directly portable. Define target service names, network segments, firewall rules and outbound connections explicitly. Decide which services require public exposure and which communicate only internally.
Include WebSockets, streaming, fixed outbound IPs, OAuth callbacks, webhooks and partner allow-lists in the test plan. A successful basic HTTP request is not a complete network acceptance test.
Fly Volumes and databases
Fly Volumes provide local persistence in a specific region. They are not automatically replicated shared storage. Determine:
- Which Machine writes to each volume?
- Are there replicas or one authoritative copy?
- How can a consistent export be produced?
- Does the target need local, shared or object storage?
- How will backup and restore be validated?
Use native database migration methods. Replication or a final delta sync may be required for short outage windows.
File export (as of 18 October 2026): First stop application writes under control or create a consistent export. Keep a volume snapshot as a rollback point; it is not a directly portable file backup. Recursively download the mounted directory with fly sftp get, transfer it to the target and compare counts, permissions and checksums. Use native dumps or replication for databases rather than copying a live data directory.
fly volumes list -a example-web
fly machine list -a example-web
# Replace MACHINE_ID and VOLUME_ID with the attached Machine and its volume
fly sftp get -a example-web --machine MACHINE_ID -R /data ./fly-data-VOLUME_ID
Use fly volumes list to identify volume ID, region and attached Machine; verify the Machine ID and mount against the running configuration. Keep the Machine reachable for SFTP while application writes are paused. Export and validate each local volume separately in a directory named by volume ID. Do not treat independent datasets as replicas or merge them without validation.
Rehearsal and traffic switch
Test the target with realistic data and load assumptions. Pay particular attention to regional behaviour, background processes, network paths, restart, storage and failover. The cutover defines the write boundary, data finalisation, DNS or traffic switch, smoke tests and rollback.
If it is unclear whether consolidation, Coolify or a distributed target fits, the PaaS Exit Review provides a portability and target assessment first.
The PaaS exit checklist consolidates cutover, acceptance and rollback.
The implementation as a PaaS migration by WZ-IT starts from €1,990 net.













