Load Balancing: Next Step After Spinning Server

Posted August 10, 2014 2.2k views

Overall, I’ve created a Droplet, installed LAMP, loaded my website, and have made a snapshot of the Droplet. Currently, I have horizontally spun a 2nd Droplet, which has OS software on it and nothing else. I want to investigate how to reduce server load, but I’m not sure what needs to be done as a next step.

Is this 2nd server (with just OS) now automatically linked with the original server (with LAMP) to reduce load? Or, does the 2nd server need the LAMP stack installed on it also, to have things working together? Or, is this where load balancing needs to happen to connect the two servers? I’m assuming it is load balancing.

Your help is appreciated to the direction of my next steps.

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.

Submit an Answer
1 answer

Your droplets are not automatically linked. If you wish to distribute your services between multiple droplets, that is something you will need to configure yourself. There are many ways to go about that. It’s hard to give a definitive answer without more information. What kind of site are you running?

This tutorial should give you a few options for different directions to go:

One common setup is to split your web app’s frontend and database onto separate servers. This tutorial should point you in the right direction, and give you a good picture of what’s involved with that type of configuration:

by Justin Ellingwood
When your site begins to get more visitors, you may have to think about how to handle the additional traffic. One easy way of doing this is to separate your database operations from your web server so that each can handle its own load. In this guide, we'll demonstrate how to do this for a WordPress site built on Nginx by configuring a remote MySQL database.
  • Your response is all I really needed to confirm, what I assumed was the thing to do. I had read Mitchell’s and other’s articles, but wasn’t quite sure if that was truly the next step. Now I know.

    Thanks again Andrew SB. You’re always helpful.