Sign In
Sign In

Create Load Balancers

Updated on 01 August 2024

To create a load balancer:

  1. Go to Load balancers and click Create.

  2. Select region.

  3. Select configuration if available. The configuration with 2 nodes includes a replica of your load balancer to ensure fault tolerance.

335a6d92 F38d 4b6c Bc14 69d97e71588f

  1. Select the maintenance window: a period during which system updates are allowed.
  2. Configure network settings: a public IP and a private network. For both, you can create a new one or select an existing one (should be created in the same region as the load balancer).

When creating a new network, set the IP address range for it.

Available ranges

Maximum CIDR size

Minimum CIDR size

10.0.0.0/x

/8

/28

192.168.0.0/x

/16

/28

172.16.0.0/x

/12

/28

  1. Specify basic settings for the load balancer.

    • Add servers to the balancing. You can add both Hostman and third-party servers. You can select a server from the drop-down list or enter an IP address.

You will be able to add and remove servers later on, when the load balancer already exists.

    • Set forwarding rules. At least one forwarding rule must be specified. This will be enough to launch the load balancer.

      You need to specify the protocol and port for the server and for the balancer. Available protocols: HTTP, HTTP2, HTTPS, TCP. Each protocol will default to a standard port, but you can change this value to your liking.

      The specified parameters will be applied to all servers in the balancing.

      When setting up HTTPS, you must use TCP and port 443. If you are using Cloudflare, you must use only TCP as the source and destination protocols. Learn more about setup.

    • For additional configuration, click Advanced settings.
  1. Specify the name of the balancer and select which project it should be added to.

You will be able to edit the list of servers, forwarding rules and advanced settings even after the load balance has been created.

Was this page helpful?
Updated on 01 August 2024

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support