Avatar of D_wathi
D_wathi
Flag for India asked on

cloud network design for auto scaling load balancing and high availability

Dear Experts
I am looking for cloud computing service to host the websites and have internally decided we go for Google Cloud Computing, few websites (word press /drupal are on dedicated VM’s and few are on shared VM’s ,  one of our customer runs multiple campaigns hence  based on campaign schedules the traffic would be high hence would like design the cloud architecture such that website experience to the end-users should not be slow on campaigns schedule.
1.Please suggest what to choose in Google cloud platform, to achieve website (word press/Drupal ) application load balancing and auto-scaling. Without load balancing can we still go for auto-scaling.
2.If we go for auto-scaling should we have to separately avail High availability OR does auto-scaling includes application load balancing and High availability.
please help, thanks in advance.
Web DevelopmentGoogle* Google Cloud PlatformCloud Computing

Avatar of undefined
Last Comment
Shalom Carmel

8/22/2022 - Mon
David Favor

Based on your questions you have a long road ahead of you.

Hints...

1) Likely you'll setup multi-master MariaDB or MySQL 8 database replication.

2) Then for files, use something like lsynd or csync2.

3) Then use round robin DNS to rotate between instances. Use a low TTL. When machines die or require maintenance, just remove the IP from the round robin list + then add it back, when maintenance completes or problem resolves.

You may prefer to hire someone to do your initial design + implementation for you.

Setting up a HA (High Availability) system that actually works is tricky.

Big Tip: You'll require continual checking on health of system + dealing with edge conditions/problems, so be sure you factor in ongoing budge t for paying someone to do this work.

HA systems require continual maintenance of a different form than individual system.

Big Tip: Setup Ubuntu Bionic + LXD at your host level + then run your site instances in LXD containers. This allows containers to be moved onto different machines + new containers cloned in a matter of seconds to minutes.

Container management for HA systems is far simpler than trying to manage monolithic machine installs.
David Johnson, CD

I don't use your platform but use Azure auto-scaling and globalization.
https://azure.microsoft.com/sv-se/blog/scaling-up-and-scaling-out-in-windows-azure-web-sites/
D_wathi

ASKER
Thank you very much for the inputs, please help me understand on following
1.  if we go for Auto Scaling  (any cloud service provider) does this setup includes application load balancing or load balancing is separate please let me know.
2. if we go for Auto scaling does it include the High availability  fault tolerance is  taken care or this has to be availed separately.
3. can we go for auto scaling on any application like word press, drupal or the auto scaling is application specific.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
SOLUTION
David Johnson, CD

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
D_wathi

ASKER
Thank you so much,
1. the scale up is it only for CPU's or can it also be for RAM etc please let me know.
2. Database should be in one of the VM and web applications to be setup on auto scaling is this correct. thank you.
Also can you take up this as project and setup the design for us please let us know.
David Johnson, CD

I'm stretched pretty thin from Black Friday until the End of the Tax Season.  I manage many sites that both scale up and out.
Scaling up you define the cpu and/or ram.. with azure we pretty much use sql server that also can be scaled out. we use elastic pool/Vcore model
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
D_wathi

ASKER
Hi David Favor
can you take this work, design and setting up auto scale/load balancing in goolge cloud platform if yes what will be the cost. we can schedule it in this weekend. await to hear from you.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.