Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved How does Cloudron handle DigitalOcean Floating IP addresses?

    Support
    digitalocean
    2
    3
    288
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d19dotca
      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?

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • d19dotca
          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.

          --
          Dustin Dauncey
          www.d19.ca

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB