SOLVED How does Cloudron handle DigitalOcean Floating IP addresses?
d19dotca last edited by girish
Does Cloudron only bind to the NIC on the droplet in DigitalOcean, or can it use the floating IP address? What logic dictates which IP it uses if a droplet has multiple IP addresses in terms of when it sets up DNS and such?
Currently, we pick up the droplet IP since AFAIK there is no way to detect a droplet's floating IP. Even when the droplet makes an external request, the droplet IP is the one used (and not the floating IP). The floating IP AFAIK is only used for incoming requests.
d19dotca last edited by
Okay, that makes sense. Thank you for the quick reply.
I wonder if it would make sense to add a feature where we can set the IP address to accommodate floating IP's in providers like DigitalOcean, so that the DNS records automatically setup by Cloudron in DigitalOcean would be using the floating IP instead. Without such a feature, it kind of removes the ability to have a sort-of manual failover method which is one of the main purposes of a floating IP from DigitalOcean (along with a secondary use-case of setting up a new server to replace an old one and moving the floating IP to the new one when ready, eliminating the need to update a whole bunch of DNS records). It would be nice, I think, to have Cloudron use a floating IP that we give it even if it means we have to set it manually in Cloudron first since it can't detect it automatically. The main reason for this is that whenever I switch a server, for example, nothing really needs to be changed at all, leaving downtime to a minimum if it exists at all during a server switch.