Outbound data transfer on <app_name>.fly.dev requests

The docs say we are not charged for outbound data transfer if it’s between machines in the same region.

I was looking for some clarification if this is _only_if we are using the internal network (<app_name>.internal) or also true if we use https://<app_name>.fly.dev?

For example, assume I have two apps (app1, app2) in region IAD.

app2 makes a HTTP GET to https://app1.fly.dev to fetch some data. Will I pay outbound data transfer fees for this request?

If I have app1 running in multiple regions (including the region app2 is making the request from) then will it automatically use the same region instance of app1 to handle the request?

If the answer is yes and the only way to avoid it is by using the <app_name>.internal lookups then a follow up question is will LiteFS proxy work for redirecting to primary if I POST to <app_name>.internal?

Hitting <app>.fly.dev will go out to the internet. You’ll want to go to <app>.flycast instead. It’s not 100% clear that fly would charge for that.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.