Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Auto Scaling and Load Balancing with Google Compute Engine?

Discussion in 'General Discussion' started by unity200, May 17, 2019.

  1. unity200

    unity200 Member

    Joined:
    Nov 16, 2006
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    153
    Hello,

    A bit clear already from the topic title, but here goes:

    Lets say that we have created a VM in Google Compute Engine and installed cPanel per the tutorial at cPanel docs. And it works.

    If we spin up the copies of that VM in GCE using autoscaling features and distribute the load through those VMs through Google's load balancer, will cPanel function normally? With the load being distributed among different instances of the copies of VM?

    Thanks.

     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,455
    Likes Received:
    178
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Not without heavy modification and coordination. Biggest issue that would need to be dealt with is database connections. If you simply copy an instance, each instance is going to have its own database for each site and writes will not all be consolidated into one database. So that needs to be addressed. Also you cannot host email in this manner. There are other challenges as well, but these are the biggest.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. unity200

    unity200 Member

    Joined:
    Nov 16, 2006
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    153
    However running multiple instances of databases while using a single mysql database file on persistent disks is possible using Kubernetes engine? Surely, since there is one persistent disk which is actually a network drive, all the instances of mysql is going to write to that one single mysql record on the single same disk?
     
  4. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,455
    Likes Received:
    178
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Yes that is one possible way to overcome that challenge if done correctly. But this is not possible using just cPanel's built in systems, it would require manually configured systems to use properly, and I will note that cPanel says it does not support the use of network drives.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. unity200

    unity200 Member

    Joined:
    Nov 16, 2006
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    153
    Woah that's very bad. As internet moves to cloud, cpanel falls behind...

    Anyway thanks...
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,273
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @unity200,

    There's currently no support for automatic scaling and/or load balancing with cPanel & WHM in the manner in which you described, however the information on our Server Profiles Roadmap document offers a glimpse into future plans and existing options :

    Server Profiles Roadmap - cPanel Knowledge Base - cPanel Documentation

    Additionally, I encourage you to vote and add feedback to the following feature requests to express your support for this functionality:

    Built-in load balancing, replication, high availability
    Active-Active Redundancy or High-availability

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice