Load Balancing

If you want to:
  1. 1.
    Scale out your application across multiple antlets
  2. 2.
    Allow access to your antlet from the outside world
  3. 3.
    Route traffic from one antlet to another when one fails or hangs
then load balancing is perfect for you!
Load Balancing is a feature on antMan that lets you distribute outside traffic across a set of antlets, called upstreams. Each upstream typically accomplishes the same task (e.g. serve static web content, service API requests).
As each database technology has its own version of multi-node/clustering, utilize the multi-node/clustering functionality for that database rather than a load balancer.

Create Load Balancing Rule

Navigate to the "Load Balancing" page from the sidebar. On this page, you will see a table that will show high-level details of each load balancing rule.
Click the "Create +" button, as shown below.
Fill out the form below, and click "Create Rule."
Server Name
URL where you can access your upstreams. (,
Server Port
Port where you can access your upstreams
Applications that you are serving. These are usually copies of the same application served on different Antsle servers
Backup only
If selected, this upstream will only be used if the others are down
Address of this upstream (e.g.,
The amount of times the load balancer will route traffic to this upstream before moving to the next upstream in a round-robin fashion
Add Upstream
Add more upstreams as needed
Test your load balancer by repeatedly visiting the Server URL (e.g. my-balanced-page.local). As you repeatedly visit the URL, the load balancer will route the request to each of the different upstreams, taking into account the weight of each upstream.

Edit Load Balancing Rule

To make changes to a load balancing rule, click the "Edit" button as shown below:
Once confirmed, the changes will take place immediately.

Delete Load Balancing Rule

To delete a load balancing rule, click the "Delete" button as shown below:
Confirm deletion by clicking the button below that says "Yes, delete!"