When selecting an upstream server, it is recommended to use the server's private IP address, as traffic routed through the GPN is free of charge. If a public IP address is used, the traffic will be routed through the internet, incurring additional charges.
To create a load balancer, you need at least one provisioned server.
Setting |
Description |
Group name |
The name of the pool of upstream servers |
Protocol |
The protocol used by the load balancer to communicate with upstream servers (for HTTPS L7 load balancer):
|
Upstream server |
Create the upstream servers pool by selecting servers from the dropdown list and clicking Add upstream server For each upstream server, specify:
|
Algorithm |
Choose one of the available traffic distribution algorithms. See Algorithms |
Sticky cookie |
Tick the checkbox if you want to enable session persistence, binding all user requests to the same upstream server (for HTTPS L7 load balancer) |
For HTTPS L7 load balancer |
|
Setting |
Description |
Domain |
The domain used in health check requests |
Health check path |
The path on the upstream server used to check availability |
Request method |
The HTTP method for health checks:
|
Checks to fail |
The number of consecutive failed checks required to mark a server as unhealthy |
Checks to pass |
The number of consecutive successful checks required to mark a server as healthy |
Inspect new upstream servers |
If enabled, the load balancer performs health checks on new upstream servers before adding them to the active pool |
For both load balancer types |
|
Interval |
The time in seconds between health checks for the upstream servers |
Jitter |
A random value to be added to the check interval, reducing network load and improving stability |
For both load balancer types |
|
Setting |
Description |
Rule name |
The name of the rule |
Ports |
The ports through which the load balancer will accept incoming requests |
For HTTPS L7 load balancer |
|
Domains |
The domains handled by specified forwarding rule |
Protocol |
Defines the protocol for incoming request handling:
|
Redirect HTTP to HTTPS |
If enabled, all HTTP requests are automatically redirected to HTTPS |
Minimum TLS version |
Sets the minimum allowed TLS version for HTTPS connections:
|
SSL certificate |
Allows selecting a pre-created SSL certificate to encrypt HTTPS connections on the load balancer |
Setting |
Description |
Location |
The original path or URI to be rewritten |
Upstream path |
The new path or URI to which the request will be redirected |
Upstream group |
The upstream server group to which the request will be directed after path rewriting |
Setting |
Description |
Disabled |
The real IP address is not forwarded; upstream servers see the load balancer's IP address |
X-Real-IP |
Uses the `X-Real-IP` header to forward the client's real IP address |
X-Forwarded-For |
Uses the `X-Forwarded-For` header, where the client's real IP address is listed first |
Setting |
Description |
Error code |
Displays a custom page when a specified HTTP error code occurs |
Redefine HTTP code |
Replaces the displayed HTTP code with another (e.g., change 500 to 404) |
Upload file |
Uploads a custom error page file (maximum size: 4096 bytes) |
File name |
The name of the uploaded file |
File size |
The size of the uploaded file |
Content type |
Selects the content type of the uploaded file (e.g., `text/html`) |
Setting |
Description |
Proxy Protocol |
Enables forwarding of the client's real IP address to upstream servers. When enabled, upstream servers see the client's original IP instead of the load balancer's IP |
Upstream Group |
Selects the upstream server group to which requests will be forwarded |
Setting |
Description |
Geo IP |
If enabled, the load balancer determines the client's geographical location based on their IP address. This information can be used for request routing or access restrictions (for HTTPS L7 load balancer) |
Logs Storing |
Tick the checkbox if you want to save logs of requests processed by the load balancer. Logs will be stored in the cloud storage in NGINX format |
Your load balancer instance will be created.