Auto Scaling and Load Balancing with Google Compute Engine?
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.
-
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. 0 -
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? 0 -
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. 0 -
Woah that's very bad. As internet moves to cloud, cpanel falls behind... Anyway thanks... 0 -
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 : Built-in load balancing, replication, high availability 0
Please sign in to leave a comment.
Comments
5 comments