Home > other >  How to use Azure CDN
How to use Azure CDN

Time:09-21

Azure content delivery network (CDN) across many of the physical node in mainland China cache Storage on the Azure Blob, Cloud services and WebSites of static content, provide developers with a high transmission bandwidth content solution,

At present this service at the same time also support not deploy source station used on Azure,

step 1. Create a new CDN endpoints

Once enabled on storage account, cloud services or CDN access Web applications, all publicly available object edge will be eligible for the CDN cache, if you modify a current in the CDN cache object, only the CDN upon the expiry of the cache contents survival time after the flush the contents of the object to manually refresh) (or by senior management functions, can be accessed through the CDN new content,

Create a new CDN endpoints

1. In the Azure management portal navigation pane, click the "CDN",

2. On the ribbon, click "new", on the "new" dialog box, select "application service", "the CDN" and "create" fast,


3. The "subscribe" drop-down list, select to use Azure subscription (if you have multiple subscriptions),

4. In "acceleration type" drop-down list, select speed type, the current support "WEB speed", "download speed", "HTTP VOD (video on demand) to speed up" and "Live Streaming Live (video) acceleration",

5. In the "original domain type" drop-down list, choose cloud services, savings accounts, WEB applications, media services (media service) or custom the original domain,

6. In the "original domain" drop-down list, from cloud services, available storage account, WEB application or media list, select a service is used to create the CDN endpoints, if "original domain type" select "custom original domain", so in the "original domain", please enter your own original domain address,

7. In the "custom fields" input to use custom domain name such as: cdn.yourcompany.com

8. In "the origin of the host header (origin host header)" enter your source station received back to the source of access to the host header, when after you enter the "custom fields", the system will according to your choice of "original domain types" to automatically fill a default value, the specific rule is that if your source station is on the Azure, the default value is the corresponding source address, if you are the source of the station is not on the Azure, the default value is "custom domain name you entered, of course you can also according to their own actual situation of the source station configuration to modify,

9. In "the ICP number" in the step input and input the custom domain name corresponding to the ICP registration number (such as: the ICP for # XXXXXXXX - X),

10. Click "create" button to create new endpoints,

11. After the endpoints to create will appear in the subscription list of endpoints, list view shows the custom fields as well as the original domain used to access the cached content,

step 2: visit the CDN content

If you want to visit the CDN cache content, please use your provided in step 2 from the domain name to access the CDN cache content, cache Blob address is similar to the following address (in the example in step 1, for example) :
http://cdn.yourcompany.com//& lt; BlobName>

The contents of the step 3: remove the CDN


If you don't want to continue the Azure content delivery network (CDN) cache object, one can perform the following steps:
, the Azure Blob, can be deleted from the common container the Blob,
, generate special containers instead of the public, for more information, please refer to limit access to containers and Blob,
, you can use management portal to disable or delete the CDN endpoints,
, you can amend the cloud services to no longer respond to the request of the object,

Has set up a file in the CDN cache object will keep cache state, until the object's survival time expires, when survival time expires, the CDN will check to see if the CDN endpoints is still effective, and can still be anonymous access to the object, if you can't access, is no longer on the object cache,

Information about the advanced features, if friends are interested, can click here to continue reading,
  • Related