- Microsoft Azure Administrator:Exam Guide AZ-103
- Sjoukje Zaal
- 396字
- 2021-06-24 14:02:08
Configuring Azure CDN endpoints
In this demonstration, we are going to set up an Azure CDN by creating a new CDN profile and CDN endpoint from the Azure portal. Therefore, we have to perform the following steps:
- Navigate to the Azure portal by opening https://portal.azure.com/.
- From the left menu, click Create a resource. In the search box, type CDN and click the Create button.
- Add the following values, as shown in the next screenshot:
- Name: PacktCDN.
- Subscription: Select the same subscription as we used for creating the blob storage account. We are going to use this to store the images that can be accessed by the CDN.
- Resource group: Create a new one and call it PacktCDNResourcegroup.
- Resource group location: East US.
- Pricing tier: Select Standard Verizon from the drop-down list.
- Create a new CDN endpoint now: Leave unselected; we will do this later:

Creating a new CDN profile
- Click Create.
- The CDN profile will now be created. After creation, we can configure a new CDN endpoint for it.
- Open the CDN overview blade and select Endpoint from the top menu as follows:

Creating a new CDN endpoint
- For the endpoint, specify the following values, as shown in the next screenshot:
- Name: PacktCDNEndpoint.
- Origin type: Storage.
- Origin hostname: This name must be unique. Pick the storage account that is used in the previous section; in my case, this is packtpubstorage.blob.core.windows.net.
- Origin path: Leave blank.
- Origin host header: Leave the default generated value.
- Protocol: Leave the default HTTP and HTTPS options selected.
- Origin port: Leave the default here.
- Optimized for: Leave the default here, which is General web delivery:

Adding an endpoint
- Click Add to add the endpoint to the profile.
- We have now created a CDN profile and an endpoint that can be used to access the images or other files that are stored inside the blob container in the storage account. You can request the images and other files using the endpoint that is generated for you as follows:

Generated endpoint
- An example of requesting an image from the endpoint that we generated will look like the following:
https://PacktCDNEndpoint.azureedge.net/images/image.png
- This can be tested inside a browser window.
In the next section, we are going to cover Azure Data Box.
推薦閱讀
- 電腦組裝與系統(tǒng)安裝
- Linux網(wǎng)絡(luò)管理與配置(第2版)
- Learning OpenDaylight
- Getting Started with oVirt 3.3
- 新手易學(xué):系統(tǒng)安裝與重裝
- 竹林蹊徑:深入淺出windows驅(qū)動開發(fā)
- 注冊表應(yīng)用完全DIY
- Windows Server 2012網(wǎng)絡(luò)操作系統(tǒng)項(xiàng)目教程(第4版)
- 分布式高可用架構(gòu)之道
- Linux軟件管理平臺設(shè)計與實(shí)現(xiàn)
- Linux操作系統(tǒng)案例教程(第2版)
- Implementing Domain-Specific Languages with Xtext and Xtend(Second Edition)
- BuddyPress Theme Development
- SAP后勤模塊實(shí)施攻略:SAP在生產(chǎn)、采購、銷售、物流中的應(yīng)用
- Administering ArcGIS for Server