Do you really need to spin up a whole droplet for a single thing like...

Posted July 4, 2015 2.9k views
NginxUbuntuDigitalOceanLoad Balancing

I see tutorials here on digitalocean about things like load balancing for example, and I always see how they set up a droplet just for a single nginx load balancer or something “small”.

Is it just for the sake of the tutorial or is it like that in “real life”?

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

Well, you can run a load balancer or another simple server alongside other services (given no port conflicts) on an existing droplet. Configurations of a server are like opinions. Everyone has a slightly different one, some may be more acceptable than others. There are also bad and good opinions. The choice is yours.

For load balancers though, the theory behind it almost dictates you should put it on another virtual machine. Because if you have three web servers and 1 of them also have a load balancer on the virtual machine, if the load balancer gets bogged down due to overwhelming website traffic, your whole system is down. In the best case scenario, the virtual machine is free to do nothing but balancing to avoid being a point of failure due to traffic levels.