By sam k.t
1)Can we use loadbalancer setup alone as a single entry-point for users and for callbacks from any service ? or does it have to be used with any other?
Does the servers pointing to loadbalancer need to be configured to virtual IP so that request from http , or https gets served? or the http/https request can be pointed directly to loadbalancer without a virtual IP as discussed above?
The load balancer should be configured for round-robin between the servers to distribute the requests, is it a feature of load balancer ?
4)In order to have full HA, the load balancer should also have HA support, or it becomes a single point of failure? Are they any open source stack available with this feature and can you suggest a few ?
Please let me know if my questions make sense or suggest an idea and literature to go through.
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!
For the first answer to your question, Yes you can configure a loadbalancer as a single entry point for users ( clients ). Typically a loadbalancer sits in a DMZ zone and routes service requests to the internal nodes ( internal servers ). Hardware loadbalancer does support service call backs but they will be quite expensive. I have worked with HA proxy and it works like a charm and since its open source as well so there you go! You can find lot of articles on internet for free, I will provide the link at the end of my answer.
You second question is not clear to me but still here is my take on that!
Normally, you can offload your servers to your loadbalancer, so the request from the client to the loadbalancer uses SSL and from there onwards you can use simple HTTP .i.e from your loadbalancer to your internal node. Confusing? Client --> Loadbalancer ( HTTPS)—> (HTTP) Internal node. Now you are saving your computing resources as well and serving secure requests faster. Hope you are clear with the concept.
Loadbalancer supports different algorithms for loadbalancing like srouce based, least connection, round robin and ratio based load balancing (typically supported by hardware loadbalancers), most of them are supported by HAproxy.
HAproxy supports full HA, it can be used along with keepalived ( open source tool for hearbeat sharing). You can configure two linux machines with HAproxy with Keepalived.
DNS loadbalancing can help you will IP based load balancing but when you need service based load balancing, you need a load balancing software like HAproxy. So, the answer is yes you need a load balancer for it.
Below are some links which can help you brushing up your concepts of load balancing with self sufficient tutorials.
You can also refer to official documentation of HAproxy.
Let me know in case I can be of any help.
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.