Skip to main content

How to configure a Load Balancer in mCloud - Knowledgebase / mCloud - Micron21 Knowledge Hub

How to configure a Load Balancer in mCloud

Authors list

mCloud offers a basic software layer 4 load balancer that runs from within our software-defined networking layer. This guide details the steps required to configure a load balancer in the Cloud Dashboard and offers an explanation of its capabilities and limitations.

Please note that to access this service, you will need to request access from the Micron21 Support Team.

Capabilities:

mCloud LBaaS can handle the following types of traffic:

  • TCP/UDP

  • Source IP/Port load balancing

Limitations:

mCloud LBaaS is unable to be configured with the following configurations

  • Layer 7 load balancing (HTTP, HTTPS etc)

  • Round robin or least connection load balancing

Prerequisites:

Before you begin to configure the load balancer via mCloud you will need to ensure you have configured the following:

  • The internal network has already been created

  • Backend VMs created and connected to an internal network

  • Correct security group assigned to VMs for their service

  • You have contacted the m21 support team for permission to create Load Balancers

Method:

  1. Log into mCloud at https://mcloud.micron21.com/

  2. Navigate to Project > Network > Load Balancers

    1. lb1.png

  3. Click "+ Create Load Balancer"

  4. Enter the following details as required:

    1. Name:

    2. Internal subnet

    3. IP Address (Optional, mCloud will choose automatically if left blank)

    4. Description (Optional)

    5. Leave Availability Zone and Flavor blank, and click Next

      1. lb2.png

  5. On the Listener Details tab, enter the following as required:

    1. Name

    2. Description (Optional)

    3. Protocol (TCP or UDP only)

    4. Port

    5. Allowed Cidrs (Optional)

    6. Leave other values at default and click Next

      1. LB3.png

  6. On the Pool Details tab, enter the following:

    1. Name

    2. Description (Optional)

    3. Algorithm (SOURCE_IP_PORT only)

    4. TLS Enabled set to NO

    5. Leave other values at default and click Next

      1. lb4.png

  7. On the Pool Member tab, click ‘add’ for each backend server you’d like associated, then enter their service port and weight (if applicable) then click Next

    1. lb5.png

  8. On the Monitor Details tab, enter the following:

    1. Name

    2. Type (TCP or UDP only)

    3. Leave other details at default, and click "Create Load Balancer"

      1. lb6.png

  9. Wait for the creation to complete, you can determine if the creation has been completed when the following are shown:

    1. The operating status is "Online"

    2. Provisioning Status is "Active"

    3. Admin State Up is "Yes"


  10. Click the drop-down menu, and select "Associate Floating IP"

    1. lb7.png

  11. From the dropdown box, select a public network for a floating IP pool and click associate

    1. lb8.png

  12. Click the down arrow for the load balancer and take note of the floating IP (highlighted Below) associated with it

    1. lb9.png

  13. Now you can test that the load-balancer is working as intended by visiting the Floating IP in your browser.

    1. lb10.png


Helpful Unhelpful