A Load Balancer helps you to dynamically distribute user traffic to multiple backend nodes — for high availability, scalability, fault-tolerance, and smooth user experience. It also helps you to apply changes to the backend without impacting the end-user experience.
How to Launch a Load Balancer Appliance?¶
Initiate Load Balancer Creation¶
- Login to MyAccount portal using your credentials set up at the time of creating and activating the E2E Networks ‘My Account’.
- After you log in to the E2E Networks ‘My Account’, you can click on any of the following options.
- On the left side of the MyAccount dashboard, click on the “Load Balancer” sub-menu available under the Products section.
- You may also click on “Load Balancer” header on the dashboard.
- You will be routed to the ‘Manage Load Balancer’ page. Now, you have to Click on the ‘+Add‘ button to create a load balancer that takes you to the ‘Create Load balancer’ page.
Select your Load Balancer Plan¶
- In the Billing Plan information section, from Select Size dropdown, select an appropriate size of the Load Balancer according to your workload.
- Upon selection of the appropriate plan, the monthly & hourly pricing details of it will appear.
- you need to enter various configuration details and preferences like name, mode, port, list type, SSL certificates, etc.
- Name: A string of characters that you can enter as the name of your Load Balancer Appliance.
- Mode: The protocol you want to use. Currently, it can be either HTTP or HTTPS.
- Port: The port number, automatically displayed based on the protocol you select.
If you select the HTTPS protocol, the SSL details section will be displayed.
- Name: a string of characters is to be provided for saving your SSL certificates.
- Certificate: you can paste the content of your SSL certificate file or can load it from a file.
- Private Key: you can paste the content of the private key or you can load it from a file.
- Certificate Chain: you can paste the content of your intermediate/CA certificates chain or can load it from a file. SSL certificate file is not required to be included in this chain.
- Select Redirect HTTP to HTTPS checkbox if you want to redirect all your traffic to LB from HTTP to HTTPS.
In the List Type, you can select either Static IPs or Dynamic Scale Group(for Auto-scaling group nodes only) as per your situation.
- If you select the Static IPs in the list type field, the node details section will be displayed. In the Node Details section, you need to enter the details of the virtual nodes you want to add behind the Load Balancer as backend.
- If you select Static IPs, you need to add the node attributes like name, Server IP(preferably private IP if backend node is also created on E2E cloud), and port to which you want to send/receive traffic via Load Balancer. You can use the ‘+ Add node’ button to add more backend nodes as required.
- If you select Dynamic Scale Group, you need to select an existing auto-scale group from the dropdown in Scale group that you want to make available under the Load Balancer. Also, define the port to which you want to send/receive traffic via Load Balancer in Target Port field.
- Select Add HTTP Healthchecks checkbox to define an HTTP based monitoring for the health of your backend nodes. You need to define a URL path to which HTTP HEAD requests will be sent to fetch the response code. If the backend node responds with 2xx or 3xx HTTP status code for the defined URL path, it will be marked as UP; else DOWN.
- The default URL path is / which means index page of your site/application hosted on the backend nodes and it can be changed to any other URI path as well.
- By default, our Load Balancer checks the connectivity to the backend-nodes/Target port defined during creation to mark a backend node up or down for it. If any node is down/unresponsive, traffic will not be sent to that particular node. The removal of unresponsive nodes and their re-addition on successful health checks are automatically taken care of by the Load Balancer appliance.
Deploy Load Balancer¶
After filling all the details successfully, click on the Deploy button. It will take a few minutes to set up the scale group and you will take to the ‘Manage Load Balancer’ page.