# Load Balancer

***

Loadbalancing ensures high availability and scalability for applications, even under heavy traffic. It is commonly used to improve website, application, database, and service performance and reliability.

With a Glesys load balancer, you can distribute traffic between different servers. You can choose whether the distribution should be even across all servers or if some servers should have higher priority.

The load balancer also automatically removes servers that are down. This ensures significantly higher availability. For example, if you have three servers behind the load balancer, two of them can go down without affecting the website.

With a load balancer in front of the servers, it is also possible to add or remove servers as needed. Individual servers can be temporarily taken offline for maintenance without affecting the website.

But the load balancer isn't just for websites. You can freely choose port numbers for both the load balancer and the servers behind it.

The servers behind the load balancer can be located anywhere; they don’t have to be Glesys servers. This means you can combine Glesys servers with your own local servers. It is also possible to combine IPv4 and IPv6 servers behind the load balancer.

## IP ranges

In some cases, you may want to restrict access to the backend servers so that only our load balancers can reach the ports configured for the service. These are the IP ranges used in each data center.

In **Falkenberg**, we use the following IP ranges:

* `185.39.145.176/28`
* `2a02:751:100:8::/64`&#x20;

In Stockholm, we use the following IP ranges:

* `195.149.101.160/28`
* `2a02:751:200:4::/64`&#x20;

{% hint style="warning" %}
Please note that our IP ranges may be expanded or changed without prior notice.
{% endhint %}

## Documentation

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Quickstart</strong></td><td>Create a load balancer quickly.</td><td><a href="/pages/xDpHsTUtd33YQEM3g3jq">/pages/xDpHsTUtd33YQEM3g3jq</a></td></tr><tr><td><strong>How-tos</strong></td><td>Detailed instructions on how to create, manage, and delete different kinds of load balancers.</td><td><a href="/pages/g4oRyH6DiVcdv899PsDu">/pages/g4oRyH6DiVcdv899PsDu</a></td></tr><tr><td><strong>Details</strong></td><td>All the details about our load balancers.</td><td><a href="/pages/cZQedzn0rfU0QHCqmKyu">/pages/cZQedzn0rfU0QHCqmKyu</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.glesys.com/products/connectivity/load-balancer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
