By JohnRivs
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”?
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.