Load Balancing in Azure
Architectures to realize
- Path Based Routing
- Multi Region ntier: ignore the sql server, bastion host, Active Directory
- Note: Refer Here for the Latency testing from your system to azure.
Lab Setup
- Lets create an Azure Compute Gallery based vm images with two simple image defintions
- Image Definition:
- AdminVmIMage:
- Create a ubuntu linux
- install apache & add the html with static content
admin page
sudo apt update
sudo apt install apache2 -y
echo "<h1> This is admin page </h1>" > index.html
sudo cp index.html /var/www/html/index.html
- OrderVmImage:
- Create a ubuntu linux
- install apache & add the html with static content
order page
“`
sudo apt update
sudo apt install apache2 -y
echo “This is order page
” > index.html
sudo cp index.html /var/www/html/index.html
- AdminVmIMage:
- For ntier, lets realize this by using Order vm image in the web tier.
- Next Steps:
- Using the above vm images lets create a path based routing using Azure Application gateway