Moving a web process closer to a customer sounds straightforward. Moving the customer’s data with it is a separate job. That distinction makes Fly.io attractive for teams that care where their application runs, and a demanding choice for teams that expect a second region to take over automatically.
Consider an appointment service with readers in two regions and a booking database in one. A nearby Fly Machine can render the booking form. When the visitor chooses a slot, the application still needs an authoritative answer about availability. Count the journeys from browser to server and from server to database before deciding which region is “closer.”
A second Machine gives you compute. What happens to the records?
A Fly Volume lives on one physical server in one region. Two Machines with one volume each have two independent stores. Forking a volume copies its state at a point in time. Subsequent bookings on the original volume do not appear on the fork unless you supply a replication mechanism. Fly recommends redundancy and a separate backup plan for important data. Fly Volumes overview · Volume snapshots
For a booking service, that leaves two credible designs. Keep writes in one primary region and explicitly accept the round trip for distant customers. Or choose a database with replication and a documented failover procedure, then rehearse what happens to a reservation made just before failover. If the page does several sequential database reads, serving it from a faraway Machine can add a network round trip at each read. Caching a public schedule is much easier than resolving two customers who were both promised the last slot.
The small print on keeping one Machine warm
Fly Proxy can start or stop existing Machines as traffic changes. With autostop enabled, min_machines_running = 1 keeps a minimum in the primary region. It does not mean one warm Machine in every region. For an API where the main concern is bursts after idle periods, the Cloud Run concurrency example is a useful comparison. A regional launch plan should say which locations may go cold and whether the first visitor there can tolerate the wait. Queue consumers that never receive an incoming web request need their own plan for waking up. How Fly Proxy autostop and autostart work
Service-level health checks help the proxy route around an unhealthy Machine. A failed check alone does not restart it. For an appointment service, alert on booking success as well as HTTP availability. A server that responds to a health probe but cannot reach the booking database is of little use to a customer. Fly health check behavior
Price the storage you provision
The published volume rate is $0.15 per provisioned GB per month. Two 10 GB volumes held for the full month contribute $3, even if each contains only 1 GB. Stopping a Machine removes its CPU and RAM charge while stopped. Its root filesystem can still incur charges, and the attached volume keeps its own meter. Add running compute, applicable transfers, and backup storage to the estimate. Fly.io resource pricing
Fly.io is worth a pilot when control over placement solves a problem you can measure. Compare the time to load the public schedule, submit a booking, and read back the confirmation from both regions. Then stop the primary application Machine in a disposable environment and repeat. A fast schedule page and a recoverable booking are two different results. You want both before calling the second region ready.