nam
nam

Reputation: 23753

Azure Load Balancing Solution - Application Gateway or Azure Load Balancer

Note: I'm still in learning phase.

Question: For the scenario described below, in the Load Balancing Settings for the two VMs for the FrontEnd subnet should I choose Application Gateway or Azure Load Balancer?

In Azure portal, when I create the VMs for FrontEnd, the Networking tab of the wizard, gives me two choices shown below:

enter image description here

Why the confusion:

For Load Balancing Internet Traffic to VMs, this tutorial does not choose Application Gateway. But the 5th bullet of the following scenario seems to indicate I should choose Application Gateway

Scenario

This tutorial from official Azure team describes designing an infrastructure for a simple online store as follows:

enter image description here

The above configuration incorporates:

Upvotes: 2

Views: 2175

Answers (1)

4c74356b41
4c74356b41

Reputation: 72151

you can use both, its a matter of your needs. load balancer just forwards traffic to your vms, while application gateway can do path based routing, ssl offloading, has WAF capabilities, and so on. But it costs a lot more and is clunky.

Looking at the bullet points you've listed, your case will work with both of these solutions.

ps. Like Rahul mentioned, load balancer works on level 4 and is not HTTP aware, Application Gateway is a level 7 load balancer.

Upvotes: 7

Related Questions