Azure Load Balancer distributes traffic incoming across multiple virtual instances (VMs). It is highly available. Here’s the step-by-step guide for setting it up.
Step 1: Log into Azure Portal
Login to the Azure Portal at www.azure.com using your credentials.
Step 2 Create a load balancer
- Click on “Create an resource” from the left-sidebar.
- Find “Load Balancer”, then select it.
- Click on the Create button.
Step 3: Configure the Basic Settings
- Select your Subscription and Resource Group. You can create an additional resource group, if necessary.
- Choose the type you need: Internal or External .
- Name the Load Balancer.
- Choose a specific region.
- Choose Standard if you want to use the Basic.
Step 4: Add Frontend Ip Configuration
- Click “Add”.
- Create a different public IP address if using a load balancer.
- Click “OK.” after setting the name and configuration.
Step 5: Configure Backend Pool
- Click “Add” in the “Backend Pools tab.”
- Name your virtual machines and add them to the backend pool.
- Click “Add”, if you want to include the person in the pool.
Step 6 – Install Health Probes
- Click “Add.” in the “Health probes section.”
- Configure settings including the probe protocol and port (TCP/HTTP), interval, and other options.
- Click “OK” after configuring.
Step 7: Create Load Balancing Rules
- Click on “Load Balance Rules” and click “Add.”
- Define your rule by specifying probe, session persistence and the frontend IP.
- Save your settings
Step 8 Review and Create
Click the “Create Button” after reviewing all settings to deploy your Load balancer.