How to Load Balance Existing Websites with More Than 300 GB of Files and 20 GB of Databases?


Currently, I have several websites in my dedicated server and planning to transfer it here by leveraging on Load Balancing of DigitalOcean.

But I don’t know how am I able to allocate my existing files and databases in droplets. I have more than 300 GB of files and 20 GB of databases.

In my current hosting I am paying $219 per month. My only issue is that when my hosting is down, I don’t have another server for backup.

My estimated pageviews on all my websites are between 30 million to 40 million per month.

So any recommending of how many droplets and SSD size that can cater my existing traffic and files?

The price should at least break-even on my current web hosting. or not more than $300 per month.

Thanks in advance for any help.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
June 29, 2022

Hi there,

I could suggest the following approach for scaling horizontally:

  • Create a separate server for your MySQL database, that way you will be able to scale up your web servers and they would read from that external database instance
  • Use an Object Storage to store your static files like images, so that all of the webservers would have a centralized place where they pull the images from
  • Add a second web server and a load balancer

Here is a good tutorial that describes this concept with a Laravel application, though the process would be similar for other frameworks too:

Hope that this helps!

Let me know if you have any questions.