In this demonstration we'll now going to go about configuring a CDM and demonstrating that by the use
of images that will store in Australia.
So let's go ahead over to the Azure portal and to begin with you can see that I've already created a
storage account called SSL CDM demo a US for Australia.
And if I go into that storage account go into blobs you'll see I've created a container already there
for images called CDM images.
Expand that out and you can see I have a whole bunch of images in that and they're stored in the Australia
region and I'm accessing all of this via my laptop in Chicago.
So to kind of show you one of the images first of all let's go to storage explorer.
This is just a quick way to grab an image or else we'll grab this top one copy the URL.
I've made these all publicly accessible for this demo and in my browser I'm going to paste that image
and you can see that came out pretty quick because it's cached in your browser.
So that's something to be aware of and if you go in and create a new private window hit it again.
And we will see it takes a little bit of time for that image to come into quite a large image and it's
obviously coming from Australia.
So what we can do now is go over to Azure and let's go and create our CDL.
I'm going to close this window down close this one out back in Asia and now let's go and create a resource
to click Create a resource on the top left.
Go down to web and mobile which is where you will find CDM select CDM and it will ask us to create our
CDM profile.
So I'm going to call mine SSL dash CDM and choose our subscription choose our Resource Group.
In my case I'm going to select SSL dash CDM which is a resource group of already created and that resource
group is in north central and now I need to choose my price pricing tier so I can select view full price
in details and this will bring up the differences between premium varieties and standard varieties and
and standard Akamai as we described earlier in the module and my pricing obviously is there as well.
And if I go ahead and select in my case I'm going to use standard Akamai for this demo.
And finally I have the option to create a new C.D. an endpoint.
Now I'm actually going to skip that for the moment but that's go ahead and click Create and in a few
minutes it should create LCD and profile for us and we will come back to this as soon as that's completed.
So as you can see in my resources now the CDM profiles completed.
Let's go ahead and select that
you'll notice a couple of things yeah.
First of all the pricing tier is listed on the right hand side.
So standard Akamai as we selected before and then as you can see on the bottom I don't have any endpoints
currently associated with this profile.
So we can go ahead and select add and point at the top and now and type in some additional details from
my endpoint.
So first of all we need to give it a name.
So I'm in a coal mine sells CBN images demo and you can see that the suffix suffixes dot Azure edge
dot net followed by the origin type so I'm gonna be using a storage account but you can see that you
can use a cloud service from classic web apps or a custom origin.
But we're going to use storage account the origin hostname.
So this asks me to select my storage account.
So in this case I'm going to select the SL C.D. and demo a U.S. storage account we used previously.
I'm not going to add anything for a path that allows me to redirect directly to a path in the origin
if I want to.
And then you can see that creates an origin host header as well for me.
And the protocol pulled 80 and 443 that's already there.
This part in the bottom those pretty key I can optimize for general web delivery which is what I want
in this occasion.
But if I wanted to like I said earlier in the course if we were optimizing for media streaming or video
on demand you know Dynamic Site acceleration those are things that I can select from this menu as well.
But let's go ahead and select ad
it will go ahead and create that end point for us.
It will take about a minute and then we'll come back to that once it's completed okay and we can see
that status is now run in on the bottom then we have all hostname SL seeds and images demo dot Azure
edge dot net.
So how do we go about proving this out if we go into that edge and in a second it'll pop up but on the
right hand side we have our End Point hostname and Origin hostname.
So let's go ahead and take an image.
Let's go down to storage explorer and let's take another one you know let's take quite a large one.
So he has seven point eight mega.
We will take this image.
Copy the url.
Go back over to our browser and let's create a new window and put that in and this festival we can see
how long it's going to take for this image to come across from Australia.
Now what we can do is just change the you are on the front of it.
So if we go back to Azure grab this end point hostname.
Copy that go back to our image and grab it in front and paste over.
And now we're basically saying get me the same image but get it from the edge and expand that.
Now the first time it does it it still has to retrieve it from the origins.
We don't get much of an improvement in response time yet.
Now I know if I just refresh it now it's in my browser cache I'm going to grab that you url.
It's open a new and private window pasted in the refresh and we can see almost instantaneously the images
available and that's because it's downloading from a local point of presence in my region.
And with that hopefully you can see the benefits of CDM and how they work how you configure them and
that concludes this demonstration.