Right now we have just one droplet hosting a Parse Server (2.8.4)
and a Parse Dashboard (1.2.0)
. The Parse Server uses the built-in sessions, installations, cloud code, and config and uses MongoDB, which is hosted in another droplet.
What I want to do now, is to add a load balancer, the one DigitalOcean offers, and one extra droplet for another Parse Server. I am completely clueless as to how to do it; I’ve never used a load balancer before.
Could someone please walk me through the process?
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!
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.
Hello,
What you could do is:
https://docs.digitalocean.com/products/images/snapshots/how-to/create-and-restore-droplets
https://docs.digitalocean.com/products/networking/load-balancers/how-to/create/
https://docs.digitalocean.com/products/networking/load-balancers/how-to/manage/
Then when you visit your Load Balancer’s IP address your traffic will be load balanced between your two Parse Server Droplets.
For a quick introduction on how load balancing works I could suggest the following tutorial:
https://www.digitalocean.com/community/tutorials/what-is-load-balancing
Hope that this helps!
Best,
Bobby