Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 4.91 KB

cdn-create-new-endpoint.md

File metadata and controls

77 lines (50 loc) · 4.91 KB
title titleSuffix description author ms.assetid ms.service ms.topic ms.date ms.author
Quickstart - Create an Azure Content Delivery Network profile and endpoint
Azure Content Delivery Network
This quickstart shows how to enable Azure Content Delivery Network by creating a new content delivery network profile and content delivery network endpoint.
duongau
4ca51224-5423-419b-98cf-89860ef516d2
azure-cdn
quickstart
03/20/2024
duau

Quickstart: Create an Azure Content Delivery Network profile and endpoint

In this quickstart, you enable Azure Content Delivery Network by creating a new content delivery network profile, which is a collection of one or more content delivery network endpoints. After you've created a profile and an endpoint, you can start delivering content to your customers.

Prerequisites

Sign in to the Azure portal

Sign in to the Azure portal with your Azure account.

[!INCLUDE cdn-create-profile]

Create a new content delivery network endpoint

After you've created a content delivery network profile, you use it to create an endpoint.

  1. In the Azure portal, select in your dashboard the content delivery network profile that you created. If you can't find it, you can either open the resource group in which you created it, or use the search bar at the top of the portal, enter the profile name, and select the profile from the results.

  2. On the content delivery network profile page, select + Endpoint.

    :::image type="content" source="./media/cdn-create-new-endpoint/cdn-select-endpoint.png" alt-text="Screenshot of create Content Delivery Network endpoint.":::

    The Add an endpoint pane appears.

  3. Enter the following setting values:

    Setting Value
    Name Enter cdn-endpoint-123 for your endpoint hostname. This name must be globally unique across Azure; if it's already in use, enter a different name. This name is used to access your cached resources at the domain <endpoint-name>.azureedge.net.
    Origin type Select Storage.
    Origin hostname Select the host name of the Azure Storage account you're using from the dropdown list, such as cdnstorageacct123.blob.core.windows.net.
    Origin path Leave blank.
    Origin host header Leave the default value (which is the Origin hostname).
    Protocol Leave the default HTTP and HTTPS options selected.
    Origin port Leave the default port values.
    Optimized for Leave the default selection, General web delivery.

    :::image type="content" source="./media/cdn-create-new-endpoint/cdn-add-endpoint.png" alt-text="Add endpoint pane.":::

  4. Select Add to create the new endpoint. After the endpoint is created, it appears in the list of endpoints for the profile.

    :::image type="content" source="./media/cdn-create-new-endpoint/cdn-endpoint-success.png" alt-text="View added endpoint.":::

    The time it takes for the endpoint to propagate depends on the pricing tier selected when you created the profile. Standard Microsoft usually completes within one minute in 10 minutes, and Standard Edgio and Premium Edgio in up to 30 minutes.

Note

For Edgio CDN endpoints, when an endpoint is disabled or stopped for any reason, all resources configured through the Edgio supplemental portal will be cleaned up. These configurations can't be restored automatically by restarting the endpoint. You will need to make the configuration change again.

Clean up resources

In the preceding steps, you created a content delivery network profile and an endpoint in a resource group. Save these resources if you want to go to Next steps and learn how to add a custom domain to your endpoint. However, if you don't expect to use these resources in the future, you can delete them by deleting the resource group, thus avoiding additional charges:

  1. From the left-hand menu in the Azure portal, select Resource groups and then select CDNQuickstart-rg.

  2. On the Resource group page, select Delete resource group, enter CDNQuickstart-rg in the text box, then select Delete. This action deletes the resource group, profile, and endpoint that you created in this quickstart.

Next steps

[!div class="nextstepaction"] Tutorial: Use content delivery network to serve static content from a web app