1. Home
  2. Balancer
  3. How to create a load balancer

How to create a load balancer

Snapt ships a complete Layer 7 load balancer for HTTP/S and TCP traffic, to ensure your critical services are always kept online.

In this guide, we’ll see how to create a load balancer, and how to install additional plugins to extend its functionality.

The balancer is one of the four main modules of the Snapt ADC (application delivery controller), the other three being:

  • Accelerator: a powerful HTTP/S web acceleration, caching and optimization to speed up, optimize and protect your website or services.
  • WAF (web application firewall): Layer 7 web application firewall for the Snapt Accelerator keeps your website and data safe and secure from threats.
  • GLSB (global server load balancing): intelligent and flexible global server load balancing allows you to efficiently set up co-location, route to multiple countries, and more.

Step 1: Check If the Balancer Is Installed

First, to create a new Snapt load balancer, you need to ensure that you’ve installed the Balancer plugin and that it’s up to date.

Navigate to:

Setup > Modules & Plugins

Under the Manage Plugins tab, check the Snaptins sub-tab, and see if the Snapt Balancer is listed and enabled.

If it’s listed and enabled, you’re good to go, so continue to Step 3.

If it is listed but not enabled, simply click on the Enable button, and continue to Step 3.

If it is not installed, continue to Step 2.

Step 2: Install the Balancer

If you aren’t already there, navigate to:

Setup > Modules & Plugins

Click on the Add Plugins tab, and go under the Snaptins sub-tab, where you should see the Snapt Balancer.

Click on the Install button. Once you read the installation successful notice, you will have to refresh the Manage Plugins page in order to see the Snapt Balancer listed, as described in Step 1.

Step 3 (optional): Install Balancer Addon Plugins

If you aren’t already there, navigate to:

Setup > Modules & Plugins

Click on the Add Plugins tab, and explore the sub-tabs Misc and Balancer, where you will find some extra goodies, such as:

  • Balancer sub-tab:
    • Snapt Balancer HTTP Analyzer: analyze your HTTP requests as they flow through the load balancer. Errors, slow URLs and servers, and much more.
  • Misc sub-tab:
    • Snapt ADC: plugin for clients running in ADC mode, with the Balancer and Accelerator.
    • Let’s Encrypt: plugin for requesting and managing SSL certificates issued by Let’s Encrypt.

Step 4: Create a Load Balancer

Navigate to:

Balancer > Create a Load Balancer

And select any of the wizards for quick and easy setup:

  • HTTP: Create an HTTP load balancer that keeps state between your servers using cookie insertion. This is ideal for anyone using non-SSL webservers that wants to load balance across them and support session persistence.
  • HTTPS: Create an HTTPS load balancer which passes HTTPS traffic through to your servers without terminating it. This is ideal for anyone with HTTPS webservers that wishes to simply load balance them. It uses source hashing to support session persistence.
  • SSL Proxy: Create a SSL termination load balancer which accepts HTTPS traffic and sends HTTP to your servers. This can also redirect HTTP to HTTPS automatically to quickly secure your site. This requires you have uploaded a PEM certificate.
  • MS Exchange: Create a Microsoft Exchange load balancer that balances all the required Exchange ports through to your servers. There is some server modification required, but afterwards, you will be able to have full redundancy between servers.
  • Remote Desktop: Create a Remote Desktop Protocol load balancer using RDP cookies to track sessions. This allows full active load balancing of an unlimited number of RDP servers.

Find Out More

The Balancer, as one of the main components of the Snapt ADC, is quite powerful, easy to use rich featured.

You can find out more about the balancer at:

Updated on November 27, 2018

Was this article helpful?

Related Articles