0
0
Azurecloud~30 mins

Azure CDN profiles and endpoints - Mini Project: Build & Apply

Choose your learning style9 modes available
Azure CDN profiles and endpoints
📖 Scenario: You are setting up a content delivery network (CDN) on Microsoft Azure to speed up your website's content delivery worldwide. You will create a CDN profile and then add an endpoint to it.
🎯 Goal: Create an Azure CDN profile named myCDNProfile in the resource group myResourceGroup located in eastus. Then create a CDN endpoint named myCDNEndpoint under this profile with the origin hostname www.example.com.
📋 What You'll Learn
Create an Azure CDN profile called myCDNProfile in resource group myResourceGroup with location eastus and SKU Standard_Microsoft.
Create an Azure CDN endpoint called myCDNEndpoint under the myCDNProfile profile.
Set the origin hostname of the endpoint to www.example.com.
Use valid Azure CLI commands or Azure Resource Manager (ARM) template JSON structure.
💡 Why This Matters
🌍 Real World
CDNs help deliver website content faster by caching it closer to users worldwide. Setting up CDN profiles and endpoints is a common task for cloud engineers to improve website performance.
💼 Career
Knowing how to create and manage Azure CDN profiles and endpoints is essential for cloud administrators and DevOps engineers working with Azure infrastructure.
Progress0 / 4 steps
1
Create the Azure CDN profile
Write the Azure CLI command to create a CDN profile named myCDNProfile in the resource group myResourceGroup with location eastus and SKU Standard_Microsoft.
Azure
Need a hint?

Use az cdn profile create with the correct parameters.

2
Set the origin hostname variable
Create a variable called origin_hostname and set it to the string www.example.com.
Azure
Need a hint?

Use a simple variable assignment with double quotes.

3
Create the Azure CDN endpoint
Write the Azure CLI command to create a CDN endpoint named myCDNEndpoint under the profile myCDNProfile in resource group myResourceGroup with the origin hostname set to the variable origin_hostname.
Azure
Need a hint?

Use az cdn endpoint create with the correct parameters and reference the origin_hostname variable.

4
Verify the CDN endpoint creation
Write the Azure CLI command to show the details of the CDN endpoint named myCDNEndpoint in profile myCDNProfile and resource group myResourceGroup.
Azure
Need a hint?

Use az cdn endpoint show with the correct parameters to verify the endpoint.