Time
23 hours 16 minutes
Difficulty
Intermediate
CEU/CPE
7

Video Transcription

00:00
Hello and thanks for joining me for Cyber Aires. Microsoft Azure Administrator A Z 103 Course. This is Episode 45 as your traffic manager, and I'm well, Carlson.
00:10
In today's episode, we're gonna discuss the benefits of traffic manager and what it is. We're also gonna talk about the way that it does the job that it does for us using certain routing options.
00:21
We'll talk a bit about the difference or how traffic Manager is different from load balancer. And we're gonna do all this while we're configuring the traffic manager in Portal as well
00:31
to jump right into traffic Manager. Let's get into portal here and, as we've done many times, will come to the top
00:37
and search for traffic manager. We're gonna click on traffic manager profiles, go ahead and get started.
00:44
We're gonna create a new traffic manager profile here
00:48
and you'll notice that
00:50
this name is part of a girl and oftentimes an azure. When we see that, that's a clue to us that this is going to have to be globally unique so we cannot use
01:02
the name that's already been used
01:04
or it will fail. However, as soon as we make this a unique
01:07
You are ill.
01:10
We get the green light.
01:11
Now, this is where traffic manager goes ahead and gets interesting now. So what generally is traffic manager? Well, traffic Manager is a way to rout Internet traffic using D. N s to an end point of our choice. So it's similar in some ways to a load balancer.
01:30
But the main differences here of Traffic Manager are that
01:33
primarily it uses d. N s to do the job that it does. We'll need an http or in https in point to set up monitoring.
01:42
We can send traffic to Azure V EMS as your cloud service is as your Web APS. And we can even send traffic using traffic monitor
01:51
traffic manager to a completely external in point. And that could be 1/3 party Web site on another provider or an on Prem piece of equipment that hosts an application is Well, the last difference here between traffic manager is that it is only going to support Internet traffic. You cannot use traffic manager for internal traffic
02:09
because traffic manager uses D. N s.
02:13
We're going to have to be accessing the traffic manager with D N s in tow. Internal D N s will not work again. Traffic manager is for public traffic on Lee.
02:23
Now, how does Traffic Manager do the magic that it does? That's gonna be based on this routing method here, and you can see that we have a number of options.
02:32
So the performance option here at the top is going to use Leighton. See? And it's gonna use the lowest Leighton see option that we have available to us. So this is gonna be really great if you want the best performance possible.
02:45
So the example here would be that you have workloads. Let's say, Web maps, for example, deployed to a number of different data centers in the azure environment across the globe.
02:54
A user is going to use our traffic manager I p address to try to access that Web app, and they're going to be sent to the one that has the lowest lightens the possible.
03:04
You're probably thinking that this sounds a little bit like a seating in, and it does share some similarities, but it's not exactly the same.
03:10
It is going to require a little bit more work on our part to manage the resource is that traffic manager is ultimately standing traffic to Where's the CD and in points are completely hands off on our part. And it really is a service that we're deploying
03:24
Awaited routing method here is going to be where we can send an X percentage of our traffic toe, one endpoint and another percentage traffic toe. Another end point
03:34
priority's gonna be similar, but we can set the priority from 1 to 3, whatever the priority of the endpoint is going to be. And this is particularly useful for setting up things like fail over patterns so you could have your main in point be set to the highest priority,
03:51
and then you could walk down a backup chain with diminishing priorities as you go.
03:55
A geographic routing method is gonna be exactly what it sounds like. But the way this works is that traffic manager is going to be looking at the I p address of where the D. N s is coming from. So the D. N s source i p. And whatever that I p address geography resolves to traffic manager is going to send your users
04:15
tow whatever geography region address has its closest to that end user
04:21
and those are gonna be the primary routing methods that are gonna be relevant here for a Z 103 So for the sake of argument, we're gonna go ahead and leave this on performance, our subscription and free trial. We're gonna pull down this resource group here.
04:34
We're leaving this in Central US region and we're gonna create this traffic manager.
04:39
Let's go ahead and look at this traffic manager that we've already deployed. We can see some of the options here that we have
04:46
here in the overview blade, we can see the D. N s name. That's ultimately gonna be how we navigate to and take advantage of traffic manager to get to whatever resource is we haven't connecting to.
04:56
We can also come here into the configuration settings and change some of the settings here of the traffic manager, such as the routing method that we just previously selected.
05:05
We also have some options here on how the traffic manager is going to be monitoring the end points that we're going to add in just a minute.
05:13
We have three options. Http https and T c p. We're gonna go ahead and leave this at http. Import 80 and there's a path that we can watch as well. So if there was a particular web page that you wanted this to be monitoring, you could go ahead and put that here in the path
05:28
we can see done here that it's gonna be probing every 30 seconds. And we can change that here to a 10 seconds. Should we choose to,
05:34
We're gonna be tolerating three failures. So is on with its less than three. We don't have any problems here,
05:42
and it's gonna be a failure if the probe doesn't get responded to within 10 seconds. And I can change that. Here is well,
05:47
really user measurements is gonna be a pretty interesting feature that's similar to, say, tracking on a website. So you're gonna embed code in your Web property here is azure refers to it,
05:59
and any time that property loads, it's going to be sending back information on late and see to the azure traffic manager.
06:05
You can come down here and enabled traffic view so that you can see some information about how traffic managers working where your traffics coming from. It's really pretty interesting should you wanna know more about enabling traffic view? Definitely click on the pricing info before you do so.
06:19
And the important part here in Traffic Manager is assigning an end point to this particular traffic manager profile. We're gonna come in here to end point and we're going to select add
06:30
we're gonna name our in point and then we can select the target resource type called Service APP Service AB service lot or public I P address. And we could use his public i p address to route traffic to an external resource outside of Azure.
06:46
You could select the I. P. Address that you ultimately wanted to include us an end point, and then you could hit okay to apply those changes. Now, you'll notice here that we Although we have some public i p addresses here in Azure,
06:57
these are gonna be great out. And if we look at the information on the tool to that's gonna be because no. D. N s name or publicly and s, it's currently configured on this particular resource. So he wanted to take advantage of traffic manager. We're gonna need to have d. N s up and running again traffic manager does its job by using d N s to get the work done.
07:16
We're gonna come back out here to this traffic manager
07:19
because I want to mention here real quickly. What are the benefits of traffic manager? Why would we want to use this over a load balancer?
07:26
Now, traffic manages pretty interesting because it does do the endpoint health checks, which we looked at here when we went to the configuration blade. So every 30 seconds, it's gonna be probing to do health checks on all of our end points and it's gonna auto fail over. So if one of those in points fails, traffic managers not gonna send traffic to that end point any longer,
07:46
this ultimately is gonna increase the up time of all of our end points.
07:48
Imagine if you have a number of Web APS deployed all across the United States and various different regions. You could even have multiple V EMS in the same region for multiple Web gaps in the same region in traffic manager. And as long as those Web maps were online, traffic manager would continue to route traffic to them. But if any of them went down
08:07
traffic manager is going to stop routing traffic to those Web, perhaps that have failed.
08:11
You can also use things like Leighton See and geography routing to make sure that you're sending users to the closest endpoint to them and yet still have control over those in points, which is something you lose when you deploy via CD in
08:26
Traffic. Manager also allows you to updates during normal business hours because it is monitoring for up time and it auto fails over.
08:33
Another interesting thing about traffic manager is that you can use an on premise or a cloud workload both within Azure or another cloud provider. As long as it's public traffic. Using D. N s traffic manager can round it wherever you would like for it to go.
08:48
You could even go through the process when you're creating your traffic manager profiles and nest them in relatively complicated ways to get some really interesting things done as faras routing and traffic manager aren't concerned.
09:01
So in today's episode we talked about what traffic manager does, which is basically taking public Internet traffic, leveraging the use of D. N s and giving us control over where we would like for that traffic to end up through a number of different routing methods.
09:16
We talked about what those routing methods are so priority performance, geographic and waited being relevant here today.
09:24
And we step through the process of how we actually configure traffic manager here in the azure portal.
09:30
Coming up next, we're going to step through a really interesting tool called network Watcher that allows us to have some visibility into theat as your environment and into its network.
09:39
Cloud providers are not known for giving a lot of visibility into their networks for some obvious security reasons, which can often times make networking troubleshooting relatively difficult when it's traversing the provider's network.
09:52
But Azure has a really interesting tool in network watcher to help us troubleshoot problems within networking. Thank you so much for joining me today, and I'm looking forward to our last networking video coming up very soon.

Up Next

AZ-103 Microsoft Azure Administrator

This is a training course for the Microsoft Azure AZ-103 Certification. The Microsoft Azure Administrator training course teaches students to perform tasks like managing Azure subscriptions and resources, implementing and managing storage, deploying and managing virtual machines (VM) and networks, and managing identities!

Instructed By

Instructor Profile Image
Will Carlson
Director of IT and Cybersecurity
Senior Instructor