Get a free AWS Well-Architected Assessment ->

Microsoft Azure

CDN Profile

Azure CDN (Content Delivery Network) profile is a configuration layer that allows you to manage and optimize content delivery across various networks, including the internet, private networks, and Azure. It provides a set of rules, policies, and configurations that control how content is delivered to end-users. An Azure CDN profile consists of one or more endpoints, each of which represents a specific CDN distribution point for your content. Each endpoint is associated with a set of rules that define how the content should be delivered, such as caching policies, compression settings, and load balancing rules.‍
aws cost
Direct Cost
Indirect Cost
No items found.
Terraform Name
CDN Profile

The following arguments are supported:

  • name - (Required) Specifies the name of the CDN Profile. Changing this forces a new resource to be created.
  • resource_group_name - (Required) The name of the resource group in which to create the CDN Profile. Changing this forces a new resource to be created.
  • location - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
  • sku - (Required) The pricing related information of current CDN profile. Accepted values are Standard_Akamai, Standard_ChinaCdn, Standard_Microsoft, Standard_Verizon or Premium_Verizon. Changing this forces a new resource to be created.
  • tags - (Optional) A mapping of tags to assign to the resource.

Associating resources with a
CDN Profile
Resources do not "belong" to a
CDN Profile
Rather, one or more Security Groups are associated to a resource.
CDN Profile
via Terraform:
The following HCL manages a CDN Profile to create a collection of CDN Endpoints

resource "azurerm_resource_group" "example" {
 name     = "example-resources"
 location = "West Europe"

resource "azurerm_cdn_profile" "example" {
 name                = "exampleCdnProfile"
 location            = azurerm_resource_group.example.location
 resource_group_name =
 sku                 = "Standard_Verizon"

 tags = {
   environment = "Production"
   cost_center = "MSFT"

CDN Profile
via CLI:

az cdn profile create --name
                     [--sku {Custom_Verizon, Premium_Verizon, StandardPlus_955BandWidth_ChinaCdn, StandardPlus_AvgBandWidth_ChinaCdn, StandardPlus_ChinaCdn, Standard_955BandWidth_ChinaCdn, Standard_Akamai, Standard_AvgBandWidth_ChinaCdn, Standard_ChinaCdn, Standard_Microsoft, Standard_Verizon}]


az cdn profile create -g group -n profile --sku Premium_Verizon

Best Practices for
CDN Profile

Categorized by Availability, Security & Compliance and Cost

No items found.
Explore all the rules our platform covers
Related blog posts