This section describes the steps to create a cross-region load balancer configuration with the Azure – Global Load Balancer (cross-region load balancer) Scenario. In particular, the steps show how to create a public load balancer and then a cross-region load balancer. Apache, which uses port number 80, will be explained as an example of an application to be protected by an HA cluster. Regions and the parameters used in this guide are examples. Please edit according to your environment. This guide does not explain the steps to create a resource as there is no specific resource creation method for this configuration. Refer to each Administration Guide for creating a resource. Azure services are continuously updated, so the steps and screen configurations are subject to change. Check the official Azure documentation and related information as you proceed.
Creating a Public Load Balancer
Creating a Public Load Balancer for the Japan East Region
- On the Azure Portal, go to Load Balancer to create the load balancer. Use the following parameters to create the public load balancer.
Item |
Value |
Resource Group |
LKTestGroup |
Name |
LKLoadBalancer-JE |
Region |
Japan East |
SKU |
Standard |
Type |
Public |
Tier |
Regional |
- Configure [Frontend IP configuration]. Use the following parameters to create the public load balancer.
Item |
Value |
Region |
Japan East |
Name |
LKLoadBalancerFrontEnd-JE |
IP Version |
IPv4 |
IP type |
IP address |
Public IP Address |
LKLoadBalancerPublicIP-JE |
Availability Zone |
1 |
Gateway Load Balancer |
None |
- Configure [Add backend pool]. Use the following parameters.
Item |
Value |
Virtual Machine |
lkserver01 |
Name |
LKTestBackendPool-JE |
Virtual Network |
Vnet1(LKTestGroup) |
Backend pools |
NIC |
- Configure [Inbound rules]. Use the following parameters to finish creating the load balancer.
Item |
Value |
Name |
LKTestLoadBalancingRule-JE |
IP Version |
IPv4 |
Frontend IP Address |
LKTestLoadBalancerFrontEnd-JE |
Backend pool |
LKTestBackendPool-JE |
Protocol |
TCP |
Port |
80 |
Backend Port |
8080 |
Health probes |
LKTestHealthProbe-JE |
Protocol |
TCP |
Port |
26001 |
Interval (seconds) |
5 |
Session persistence |
None |
Idle timeout (minutes) |
4 |
Enable TCP reset |
Unchecked |
Enable Floating IP |
Leave the default of unselected |
Outbound source network address translation (SNAT) |
(Recommended) Use outbound rules to provide backend pool members access to the internet. |
- Once the Load Balancer is created, use the following parameters to configure the virtual machine network security group.
Item |
Value |
Virtual machine name |
lkserver01 |
Source |
Any |
Source port ranges |
* |
Destination |
Any |
Service |
Custom |
Destination port ranges |
8080 |
Protocol |
TCP |
Action |
Allow |
Priority |
300 |
Creating Southeast Asia Region Load Balancer
Create the load balancer using the same steps described in “Creating a public load balancer for the Japan East region”.
Item |
Value |
Resource group |
LKTestGroup |
Name |
LKLoadBalancer-SEA |
Region |
Southeast Asia |
SKU |
Standard |
Type |
Public |
Tier |
Regional |
Item |
Value |
Region |
Southeast Asia |
Name |
LKLoadBalancerFrontEnd-SEA |
IP Version |
IPv4 |
IP type |
IP address |
Public IP Address |
LKLoadBalancerPublicIP-SEA |
Availability zone |
1 |
Gateway Load Balancer |
None |
Item |
Value |
Name |
LKTestBackendPool-SEA |
Backend Pool Configuration |
NIC |
Virtual Machine |
lkserver02 |
Item |
Value |
Name |
LKTestLoadBalancingRule-SEA |
IP Version |
IPv4 |
Frontend IP Address |
LKTestLoadBalancerFrontEnd-SEA |
Backend pool |
LKTestBackendPool-SEA |
Protocol |
TCP |
Port |
80 |
Backend Port |
8080 |
Health probes |
LKTestHealthProbe-SEA |
Protocol |
TCP |
Port |
26001 |
Interval (seconds) |
5 |
Session persistence |
None |
Idle timeout (minutes) |
4 |
Enable TCP reset |
Unchecked |
Enable Floating IP |
Leave the default of unselected |
Outbound source network address translation (SNAT) |
(Recommended) Use outbound rules to provide backend pool members access to the internet. |
Item |
Value |
Virtual machine name |
lkserver02 |
Source |
Any |
Source port ranges |
* |
Destination |
Any |
Service |
Custom |
Destination port ranges |
8080 |
Protocol |
TCP |
Action |
Allow |
Priority |
300 |
Creating a cross-region Load Balancer
- On the Azure Portal, go to Load Balancer to create the load balancer. Use the following parameters to create the cross-region load balancer. It should be selected from the home region.
Item |
Value |
Resource Group |
LKTestGroup |
Name |
LKTestLoadBalancer-EA |
Region |
East Asia |
SKU |
Standard |
Type |
Public |
Tier |
Global |
- Configure [Frontend IP configuration]. Use the following parameters.
Item |
Value |
Name |
LKTestLoadBalancerFrontEnd-EA |
Public IP Address |
LKTestLoadBalancerPublicIP-EA |
- Configure [Add a backend pool]. Use the following parameters.
Item |
Value |
Name |
LKTestBackentPool-EA |
Load balancing |
LKLoadBalancer-JE |
Frontend IP configuration |
LKLoadBalancerFrontEnd-JE |
Load balancing |
LKLoadBalancer-SEA |
Frontend IP configuration |
LKLoadBalancerFrontEnd-SEA |
- Configure [inbound rules]. Use the following parameters to finish creating the load balancer.
Item |
Value |
Name |
LKTestLoadBalancingRule-EA |
IP Version |
IPv4 |
Frontend IP address |
LKTestLoadBalancerFrontEnd-EA |
Backend pool |
LKTestBackentPool-EA |
Protocol |
TCP |
I know my Port |
Unchecked |
Port |
80 |
Session persistence |
None |
Enable Floating IP |
Checked |
Post your comment on this topic.