Skip to main content
Version: 2.1

Create a Load Balancer

Pre-task:#

  • upload amphora-x64-haproxy-train.qcow2 to /mnt/cephfs or usb drive
  • import with cli lb_import
    HOSTNAME> imageHOSTNAME:image> lb_import1: usb2: localEnter index: 21: amphora-x64-haproxy-train.qcow2

Create a new load balancer to your network#

/assets/network/lb-01-create-1.png /assets/network/lb-01-create-2.png

Create a listener type http - 80#

/assets/network/lb-02-listener-1.png

Create a pool#

/assets/network/lb-04-pool-1.png

[Optional] Add VM as members of pool#

/assets/network/lb-04-member-1.png

Create Health monitor type#

/assets/network/lb-05-hm-1.png

Associate Floating IP#

/assets/network/lb-04-fip-1.png /assets/network/lb-06-fip-1.png

Access your website with Floating IP#

/assets/network/lb-07-fip-1.png /assets/network/lb-08-fip-1.png

Last updated on by Roy Tan