Azure Networking Workshop – Part 2
Prepartion
- To create images
# vm 1
mkdir /var/www/html/images
echo '<h1> Images </h1>' > /var/www/html/images/index.html
- To create videos
# vm 2
mkdir /var/www/html/videos
echo '<h1> Videos </h1>' > /var/www/html/videos/index.html
Azure Application Gateway
- This is Layer 7 load balancer which is managed by Azure. Refer Here for official docs
- Azure App Gateway has two features
- Layer 7 load balancing
- Web Application Firewall
- Azure application gateway Refer Here
-
Create Azure Application Gateway
-
Basic overview
- url patterns
- For redirection Refer Here
- SSL Termination/Offloading: Refer Here
Azure DNS
- We can Azure DNS to manage
- public DNS
- private DNS
- DNS server stores records which map hostnames to ip addresses
- In your local system we can create dns mappings
- Windows (
C:\Windows\system32\drivers\etc\hosts
) - Linux
/etc/hosts
- Windows (
-
We can maintain DNS in Azure by creating DNS zone, but we cannot purchase domains in Azure.
- Once the NS (name servers) are updated, all the DNS management can be done by Azure. Azure gives 100% uptime SLA.
Traffic Manager
- Create a VNET in Region A and VNET in Region B
- Create a ubuntu vm and install apache in Region A
- Create a ubuntu vm and install nginx in Region B
- Refer Here for traffic manager pricing
- Refer Here to create traffic manager profile
- Azure front door can be used for http accelaration as edge locations also come into play Refer Here