An organization is designing a regional load balancing solution for a web application in the West US 2 region. The application runs on Azure Virtual Machines that require direct inbound Internet access for administrative tasks and are configured with Basic SKU public IP addresses. The new load balancer must meet the following requirements:
- Distribute traffic within the West US 2 region only.
- Support SSL/TLS termination at the load balancer level.
- Route requests to different backend pools based on the URL path.
- Avoid configuration or validation errors when integrating with the existing virtual machines.
Which load balancing solution should you design?
- Azure Application Gateway (Standard v2) configured to target the backend virtual machines using their private IP addresses.Answer
- BAzure Standard Load Balancer configured with backend pools containing the virtual machines.
- CAzure Traffic Manager configured to route traffic based on the URL path to the virtual machines.
- DAzure Application Gateway (Standard v2) configured with a Basic SKU public IP address as its frontend.
Answer
Azure Application Gateway (Standard v2) configured to target the backend virtual machines using their private IP addresses.
Azure Application Gateway (Standard v2) is a regional Layer 7 load balancer that supports SSL/TLS termination and URL path-based routing. By configuring the backend pool to target the virtual machines' private IP addresses, the application gateway bypasses any configuration or validation conflicts related to the Basic SKU public IP addresses on the virtual machines' network interfaces.
Step-by-Step Solution
Key Concept
Selecting the appropriate regional Layer 7 load balancer (Application Gateway) and avoiding SKU mismatches by utilizing private IP backend routing.