Skip to main content

Using cPanel with Google Cloud Load Balancer

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! Currently there isn't any built-in support on the cPanel side of things for load balancing or similar tools, so while you're welcome to try it, there will need to be a lot of manual intervention required from your side if you want to test this. More discussion on this can be found here:
    0
  • GOT
    Beyond running more than one instance you are also correct in that the Google load balancer is going to communicate from private ip space whereas cpanel is configured to expect to be seeing traffic from public ip space. That is why you saw problems in the past. It's really just not a product designed to do what you want to do even with a single server. In theory you would have to somehow disable the Nat feature in cpanel compelty and have it listening on private ips only. It would be ugly.
    0
  • mario.rivera
    We're using 1 only cPanel instance, the Load Balancer in front of this instance is only for security purposes (Google Cloud Armor). So we expect it to be a simple traffic pass from Load Balancer to cPanel, without any additional configuration (high availability or similar). Google Cloud Armor (network security service that provides defenses against DDoS and application attacks).
    0
  • cPRex Jurassic Moderator
    Hmmmmm - if that's the case then, as long as the cPanel server can communicate over a public IP directly to our license network, that would work fine. If the traffic between the load balancer and the cPanel system happens over a private IP, you'd have to have some customizations in place to get that working.
    0

Please sign in to leave a comment.