The "Load Balancer" element allows for workload distribution over multiple servers in your virtual data center.
Introduction to the Load Balancer
The Load Balancer in the DCD allows workload distribution (load balancing) across multiple servers on the network through a round robin procedure.
The Load Balancer receives an IP Address from DHCP. All servers which are connected to this load balancer get this IP Address. A direct communication between servers (over the load balancer network) is not possible.
We recommend adding an additional management network to configure the servers in conjunction with a load balancer. A load balancer is difficult to configure, as the round robin procedure prevents a specific connection with particular servers.
All configuration options are located in the "Inspector" panel after clicking on the Load Balancer element in your Workspace. All tabs are explained below.
You are able to provide a name for your network interface here.
The MAC address will automatically be assigned during provisioning and cannot be changed.
Primary IP Address
The primary IP address is automatically assigned by ProfitBricks via DHCP. IP addresses can be manually assigned here. Reserved public IP addresses can be assigned through the drop-down menu. Private IP addresses are entered manually (according to RFC 1918).
ProfitBricks offers a specific firewall to be enabled for each network interface, which prevents traffic to any virtual machine until after configuration. Configuration options range from specific MAC and IP addresses to ports, which allow access after activation.
Further information and details can be found in the "Firewall" chapter.
It is often necessary to run a DHCP server in an infrastructure (for example, a PXE boot for a faster rollout of VMs). To ensure that the IP address from ProfitBricks can't be overwritten, you will need to specifically deactivate each relevant network interface via the checkbox.
Additional IP Addresses
You can add additional IP addresses to a network interface (for instance, "Floating IPs).
In the "Members" tab you find a list of all servers that are connected to a Load Balancer, listed by name and network interface.
Remove a Load Balancer
Right-click on the to-be-removed Load Balancer in the Workspace to open its Context Menu. Click "Remove" and the Load Balancer will be deleted from the Workspace. There is no additional confirmation required as a load balancer can easily be added back on.