Time
7 hours 46 minutes
Difficulty
Intermediate
CEU/CPE
7

Video Transcription

00:00
Hello and welcome back to Siberia is Microsoft Azure Administrator, A Z 103 course. I'm Will Carlson. And this is Episode 25 Azure CD and or content delivery network.
00:12
In today's episode, we're gonna explain a little bit about what a content delivery network is, and then we're gonna walk through the process of configuring one here in Azure.
00:22
No,
00:23
follow me here in this image and let's think about an origin server being a storage account that has any number of files that I want to ultimately share. And this origin server is in the United States
00:35
now when a typical user request those files, if they are in the same region in the United States as the server, that request is going to be relatively timely.
00:46
But let's imagine for a second that this server is in the United States and Alice over here is in Australia, and those files are going to have to trippers all of the wires between the United States and Australia. That's gonna increase Leighton see and make it take longer and be less responsive for Alice to get those files. So what can we do?
01:04
Well,
01:06
we could spend up a copy of those files over in Australia and store them in two places.
01:11
But now all of a sudden we have data consistency issues, and we're paying for twice the storage of those files.
01:17
And then what happens when we have a series of users that want to access those files in the UK?
01:22
Do we copy our data over there and spend up another server? And now all of a sudden we're paying for three times the storage? Well,
01:29
that's not the best answer, and that's part of the problem that a cdn is set up to help us solve.
01:36
So what is a CD ender
01:37
if you're not familiar with a CD en Aura content delivery network? The point is for the origin server to replicate data to a point of presence or an edge server when the user requests it and these edge servers are going to be closer to the users. So when our example here are origin, Server is in the United States.
01:57
Alice is in Australia.
01:59
She requests, via a custom your ill of the CD in she requests our files and the CD in EJ servers realize they don't have those files, they will reach out to the origin and pull those files in.
02:14
And as long as the T. T. L, or the time to live is long enough, when the next user requests access to those files from Australia, there cashed on the edge servers and the user gets them from the edge servers.
02:24
The same thing would apply over here in the UK As soon as a user from the UK requested those files, they would be pulled into the point of presence edge servers. And then from that point forward, when any users requested those files in the UK, they would get them from the edge servers that are closer to them.
02:42
That also does something interesting on the processing time required of this particular server.
02:46
It goes down because the edge servers are the ones doing the processing, in this case for a storage account, the edge servers of the one storing that information and you don't pay for that storage you paper, the terabyte of the data transferred out of those edge servers.
03:02
So now that you think that's great, because you have a worldwide room of users that want to access your files in your storage account and you want them to be able to do that efficiently. But how do you go about setting up a CD in here and portal?
03:16
Well, let's get right to it.
03:19
We're gonna go straight into portal. We're gonna go to create a resource, and we're gonna look for CD in.
03:24
We're gonna click on that and hit create
03:28
we're setting up now is going to be the CD in profile, and we can name that whatever we want.
03:37
We're going to tie that to a subscription, and we're gonna assign that to the resource group that we want the CD in profile to live in.
03:44
Now we have a few options here in Azure of the pricing tier, and it's gonna depend on what provider ultimately you use to get this done
03:52
to learn more about the difference between these options and they're full pricing details simply click here, but for now we're gonna go ahead and so, like standard Microsoft pricing,
04:00
and that sets up the CD in profile. We could go ahead and select create here, and that would create this CD in profile for us. And then we could go in an associate different CD and in points. Four different service's be that Storage Cloud Service's Web, APS, whatever it was that we chose at a future day.
04:18
But we're gonna go ahead now, though, and create this CD in in point while we're here.
04:24
Now. One interesting thing here is that this has to be unique again. This is going to create the domain that users will use to get to my CD in. So it has to be don't unique within the azure environment. So
04:38
no other dot azure ej dot net accounts can use this same mural or the same string for their seeding it.
04:46
We also have a couple of options of origin types that I mentioned just a second ago for a Z 103 You really only need to be familiar with the storage Cdn,
04:56
and then we're gonna go in here and select the origin host name. Now, we could select this really nasty one, which is the idea of that account, or we can select a little bit prettier one, or if we had set a custom domain, we could go ahead and select that one as well. But I'm gonna go ahead and select this.
05:14
I'm gonna go ahead and hit, create,
05:15
and that's created our CD End in Point and our CD in profile.
05:19
Now there's a few other things that we need to discuss in relation to CD ends. So we're gonna go back up here instead of create resource we're gonna get all service is
05:29
we're gonna search for CD, and then we're gonna flick here into CD and profiles,
05:32
and you can see the CD in profile that we created previously. Let's open that up and have a poke around.
05:38
Now that we're here in the CD and or the CD in profile, I can see all of the end points that are associated with that profile.
05:45
If I go ahead and click on down into the storage in point that we just created, I can see a number of additional functions. First of all, if we want to get to our storage CD and end point, you can see the u. R l hear that One thing to keep in mind is that it could take a little bit of time for this in points to populate and propagate through the entire azure network.
06:03
Back in the end point itself. I can come here to origin
06:06
and see a little bit more about the CD, an end point. And what protocols are gonna be allowed to navigate that in point? So I could simply uncheck http. It's saved, and then I forced secure transfer to that storage in point. I could also come here into custom domains and set up a custom domain, which again would change the or L and make it a little more user friendly.
06:27
Compression here is going to be a way that you can optimize the storage
06:30
in your CD in because again, the pricing for these storage CD ends or CD ends in general is going to be on the outbound terabytes. So anything you can do to compress the file's coming out of your CD in is just gonna lower that cost.
06:46
CD ends also support the concept of geo filtering. So if I only if I wanted to prohibit certain countries from accessing my setia,
06:53
I could select, block and select the country codes I wanted to block,
06:57
or if I only wanted to allow them from certain countries, I could select, allow and then check mark only the allowed country's gonna discard these changes for now. So we talked about a number of things in today's episode, but I do want to call out here one additional point about timeto live. And here in Azure, depending on the pricing tier that you choose,
07:15
will depend on how gran you Aly you can control the timeto live.
07:17
And essentially all that time to live does is it tells the endpoint servers how long to keep your information cashed before it expires or is renewed?
07:30
We talked about some of the reasons to deploy a CD in so offloading some of the storage and or compute requirements for our origin computers and for increasing performance for our users all around the globe.
07:42
We went through the steps of creating the End point and the CD in profile to deploy a CD in and Azure, and we walked through the fact that there are various different pricing options. I would step through those pricing options and at least be familiar with some of the functionality differences between them. For a Z, one of three
07:59
coming up, we're gonna talk about some ways to backup files in folders in azure, using some built in tools to ensure that you don't lose any information and have quality backups
08:09
on a regular basis. Thanks for joining me today, and I'm looking forward to the next episode.

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