April 5, 2023, 4:52pm
I know that I am pretty annoying but it is really important.
fly.io release a feature where you have a stable ip address of the app’s vm ? - So every request that gets sent from the vm, gets sent with the same ip address.
I really need this static ip address.
If there isn’t a release planned to create for the next few months I would appreciate If anybody can describe me how to assign a static ip address of the vm myself (My apps are running with node.js)
April 5, 2023, 5:07pm
When you say VM I assume you mean an allocation/machine, is that correct?
Can I ask what problem having stable IP addresses per VM solves?
In the meantime:
VMs are ephemeral so when you deploy new ones you might not have the same context as the previous one. We provide an internal DNS system you can use to reach out to specific apps, machines, regions, VMs, and combinations of those. Depending on the problem you could this might be helpful:
April 5, 2023, 6:07pm
With VM I mean an allocation/machine.
Stable IP addresses would solve my problem to access my external database. Because I have to whitelist an ip to access my database.
Thanks for providing some context. I will definitely dive deeper in this topic.
April 6, 2023, 1:10pm
I think the docs I sent you might not be helpful then. One possible solution is using a VPN solution such as Tailscale to connect privately your DB to your apps. I hope this helps.
April 6, 2023, 4:38pm
Thanks for your answer!
Could you please describe that solution a bit more in detail, please?
April 6, 2023, 4:42pm
I found a link where tailscale introduces how to use it with
fly.io ( https://tailscale.com/kb/1132/flydotio/)
I will definitely look at this.
April 13, 2023, 4:42pm
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.