[email protected]

How-to · PaaS & Cloud Exit

Migrate Fly.io to Coolify or private infrastructure

Editorial note: This guide was written to the best of our knowledge at the time of publication. Versions, commands, features, prices and licensing terms may change through vendor updates; the current information from the respective provider applies. Please verify critical steps independently before production use. All trademarks, product names and company names mentioned belong to their respective owners. As a rule, WZ-IT is not a partner of the vendors and projects mentioned and is not officially affiliated with them; existing partnerships are stated explicitly. This text does not replace individual professional, legal or tax advice. If any information is outdated or incorrect, please write to [email protected].

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.toml and 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:

  1. Which Machine writes to each volume?
  2. Are there replicas or one authoritative copy?
  3. How can a consistent export be produced?
  4. Does the target need local, shared or object storage?
  5. 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.

Sources

Rather have it operated?

You'd rather not run PaaS & Cloud Exit yourself? WZ-IT handles setup, operations and maintenance - privacy-focused from Germany.

Enquiry

Assess a PaaS migration

Describe the source, application and intended target. We assess the migration path for runtime, data, delivery and ongoing operations.

  • You speak directly with Timo and Robin, who are technically responsible
  • A professional assessment of your situation
  • Concrete next steps for infrastructure, software or AI

The conversation is free and non-binding.

I recently worked with Timo and the WZ-IT team, and honestly, it turned out to be one of the best tech decisions I have made for my business. Right from the start, Timo took the time to walk me through every step in a simple and calm way. No matter how many questions I had, he never rushed me. The results speak for themselves. With WZ-IT, we reduced our monthly expenses from $1,300 down to $250. This was a huge win for us.
Aleksandr ShulikoCTO, EVA Real Estate
Timo and Robin, founders of WZ-IT

Assess a PaaS migration

I recently worked with Timo and the WZ-IT team, and honestly, it turned out to be one of the best tech decisions I have made for my business. Right from the start, Timo took the time to walk me through every step in a simple and calm way. No matter how many questions I had, he never rushed me. The results speak for themselves. With WZ-IT, we reduced our monthly expenses from $1,300 down to $250. This was a huge win for us.
Aleksandr ShulikoCTO, EVA Real Estate

Frequently Asked Questions

Answers to the most important questions

Customers from mid-sized business, industry and the public sector, in Germany and internationally

Read client reviews