Set Up a Network Load Balancer

Prerequisites: The Network Load Balancer (NLB) needs a private network with targets (such as VM instances), to distribute the client sessions. The targets must be provisioned already, and the connection requests can come through the internet access element or a separate private network.

Create an NLB

1. In the DCD, go to Menu > Virtual Data Centers.

2. Select the data center where you want to configure a NLB.

Select a Virtual Data Center (VDC)

3. Add the NLB element by dragging it into the Workspace. 4. Connect NLB. NLB element has two interfaces, Northern at the top and Southern at the bottom.

  • Northern Interface: This interface connects to the clients and is the Listener. You can use it to link the NLB to an internet access element or a private network.

  • Southern Interface: This interface connects to the targets and is the Backend. You can use it to link the NLB to the private network containing the targets.

Creating a network load balancer

Provision a new NLB

An existing NLB can be modified at any time. The provisioning process cannot be undone. Your password may be required for editing some of the elements as an additional security measure.

Delete an NLB

If you need to delete the NLB, right-click the element and choose Delete.

Deleting a network load balancer

Add a load balancer

The load balancers created in the DCD enable load balancing on several servers in the network using the round-robin method.

The load balancer receives an IP address from the DHCP. Alternatively, you can assign a reserved IP address to it via its NIC. All servers connected to the load balancer receive this IP address. Direct communication between the servers (via the load balancer network) is, therefore, not possible.

An additional management network is thus recommended for configuring servers with a load balancer. Configuration via the load balancer is hardly possible since the round-robin procedure prevents a targeted connection with certain servers.

Procedure

1. In the DCD, go to Menu > Virtual Data Centers.

2. Select the data center where you want to configure a NLB. 3. Drag the load balancer element from the palette into the workspace. 4. Connect the load balancer to the required servers. 5. Connect the load balancer to internet access. 6. Set the properties of the load balancer by selecting the element in the workspace and opening its properties in the Inspector > Settings:

  • Name: Enter a name.

  • Name (NIC): Enter a name for the NIC of the load balancer.

  • The MAC address will be assigned automatically upon provisioning and cannot be changed.

  • Primary IP: The primary IP address is automatically assigned by the IONOS DHCP server. You can, however, enter an IP address for manual assignment by selecting one of the reserved IP addresses from the drop-down list. Private IP addresses (according to RFC 1918) must be entered manually.

  • DHCP: It is often necessary to run a DHCP server in your virtual data center (e.g., PXE boot for fast rollout of VMs). If you use your own DHCP server, clear this check box so that the IONOS DHCP server does not reassign your IPs.

  • In the Balanced NICs tab, you can check which servers are connected to the load balancer through which NIC.

  • (Optional) Make further changes to your data center.

Adding a network load balancer

7. Provision your changes.

Last updated

Was this helpful?