Hello,
I want to setup some internal log collecting service which should not be reachable from the internet, but just internally, via the .internal addresses.
Is there anything I need to do besides not assigning an ip to the machine? I could not find any docs on this topic.
Is a fly.toml with this services section fine?
[[services]]
internal_port = 8686
[[services.ports]]
port = 8686
handlers = [“http”]
Hi… The internal network is a low-level and on-by-default feature of the Fly.io platform, and it really is simpler than many people expect. In particular, a [[services]] section isn’t needed if you’re using the .internal addresses, since those go directly from Machine → Machine. (I.e., it bypasses the Fly Proxy completely.)
Instead, just listen on :: (IPv6) and ensure that the receiving Machine is always running.
(There is no auto-start or load balancing in this context.)
Hope this helps!
Ahh thank you so much! That’s what I was looking for but somehow couldn’t find!!