Time
19 hours 58 minutes
Difficulty
Intermediate
CEU/CPE
9

Video Transcription

00:00
Welcome back. In this episode, we're gonna start talking about application load balancing with an introduction to load balancers.
00:07
The objectives include understanding load balancers, identifying load balancer features and then understanding load balancer Excuse that are available inside of azure.
00:16
So first, what is a load? Balancer? Load Balancers and azure are responsible for traffic distribution that allows scaling your applications and virtual machines to support millions of network streams. Inbound and outbound. A load balancer is the front end for inbound network flow and is responsible for distributing that traffic to back in pool instances
00:35
like a group of virtual machines, all running the same application or website
00:40
load balancers air not just for inbound traffic flow to its back end Resource is a load. Balancer can also be used for outbound connectivity for virtual machines, allowing those virtual machines to access the Internet Using a load balancers Public i p address Load balancers can be public or internal.
00:56
A public load bouncer will have a radical public I P address assigned to it that will receive request while distributing traffic to Internal Resource is with private I P addresses
01:04
an internal load balancer will have a private i P address attached to its front end and will distribute traffic to virtual machines in an internal private network. A scenario for a public load balancer would be using one to distribute Web traffic from external resource is to a pool of back and servers hosting the website.
01:22
Load balancers responsible for distributing traffic evenly to the back end server So one server is not overloaded with request while others sit idle.
01:30
An example of an internal load balancer would be putting one in front of a group of database servers, since these database servers would not need to be accessible on the Internet. But a Web application could make calls to a database server.
01:41
An internal load balancer would distribute this traffic from the application across multiple database servers.
01:48
Let's discuss a couple of features of our load balancer.
01:49
The first is how the load balancer determines how to distribute traffic. This is done three hash based distribution system.
01:57
The load balancer looks at five different pieces of information when it receives an inbound network stream. The source i p. The source port, the Destination I p. The destination port and the protocol being used. This is used to direct traffic to the available servers and allows the external in point to keep that same session to the back and server.
02:15
If the external in point creates a new session, the source board will change and cause the traffic to go to a different server in the pool.
02:23
You can use all five pieces of information or only used two or three, which will cause better affinity meaning. If the port changes, the endpoint would still connect to the same backend server. You can also use a load balancer for port fording. This allows creating a rule to take incoming traffic on a specific port and friend and i p address and send that
02:42
to a specific port on the back and instance in the pool.
02:45
A common scenario is taking an incoming RTP request over an unconventional port, say 50,000 and translating that to port 3389 to a specific virtual machine in the back in pool. This would allow excess in the internal virtual machine, while it doesn't have a public I P address assigned from the Internet.
03:02
Finally, we have health probes, which allows the load balancer to determine if the back and server in its pools are healthy and available to accept incoming traffic.
03:12
If a health probe fails, the load balancers stops any traffic to the failed back and server until it's healthy again.
03:17
Health probes can be configured using TCP HTTP or https
03:23
as your load balancer comes in two different varieties or skews basic and standard.
03:29
A standard load balancer can do anything that a basic load balancer can do. However, the to do have some distinct differences that will cover in this table. The first is the backend pool size. A basic load balancer only supports 100 pool size, while a standard can support up to 1000 2nd is for the health probes.
03:46
Basic doesn't support https, while the standard load bouncer skew does
03:52
the next is availabilities owns the standard load balancer has an availability zone, which means it is automatically configured across multiple availability zones inside the azure region.
04:01
As long as the zone remains healthy inside the region, the low bouncer can still process traffic to the back and servers, and you can see in the table the basic load bouncer does not have this option.
04:13
Next is default security
04:15
by default the basic load balancer will accept all incoming traffic to it and is not restricted
04:20
while in the standard load balancer, all ports are closed until they're loud Through security rules.
04:27
The next is S L. A. The basic load balancer actually doesn't have an S l a. While the standard load balancer does of a 99.99% up time as long as there are two healthy virtual machines and the back in pool. Finally, there's pricing.
04:41
The basic load balancer is free and no charge. While the standard charges based on the number of rules in the amount of inbound and outbound data process through it.
04:50
Next, let's talk about back end pulls. This is a group of servers providing the same function that the load balancers Since traffic, too,
04:58
the back end pool can be made up of a couple of different options. It can be an availability set, a single virtual machine or a virtual machine scale set
05:06
so you can see some of the concepts we learned back in the virtual machine. Episodes are coming back into play when configuring our load balancers On the right hand side is a little screen shot of just showing how to create this back and pool and the options to associate it with. And we'll see more of this in our demo later.
05:23
That does it for some of the basics of our load balancers. Want to follow it up with a quick quiz question. What does the load bouncer used to determine traffic distribution.
05:32
And again, it goes back to our five to pull hash that it creates using a source I p Sore sport Destination I, P. Destination port and the protocol
05:43
coming up next. We're gonna take some of these concepts and see what they look like in our load. Balancer Demo. See you in the next episode.

Up Next

AZ-300: Microsoft Azure Architect Technologies

Azure Solution Architects are responsible for taking business requirements and turning them into solutions. This course provides an introduction into Azure, Microsoft’s cloud platform whilst preparing students to take the AZ-300 Microsoft Azure Architect Technologies certification.

Instructed By

Instructor Profile Image
Jeff Brown
Instructor