๐Ÿ“œ โฌ†๏ธ โฌ‡๏ธ

Using CDN for Windows Azure

image

Using the Content Delivery Network (CDN) Windows Azure enables developers to deliver high-bandwidth global content. This is achieved by caching blobs and static content on physical nodes in the United States, Europe, Asia, Australia and South America. For the current list of CDN nodes, see the Windows Azure CDN Node Locations (Windows Azure CDN Node Locations) .

To accomplish this task, follow these steps:
')

Here are just some of the benefits of using a CDN for caching Windows Azure data:

To use Windows Azure CDN, you need a Windows Azure subscription with a storage account or hosted service in the Windows Azure Management Portal . The CDN feature is an addition to the subscription and is charged separately .

Step 1: Create a storage account


To create a new storage account as part of your Windows Azure subscription, follow these steps: The storage account provides access to Windows Azure storage services. The storage account represents the highest level of namespace for all Windows Azure storage service components: blobs, queue services, and table services. For more information about Windows Azure storage services, see Using the Windows Azure Storage Services .

To create a storage account, you must have administrative privileges to the service or co-administrator of the associated subscription.

Note. For information about performing this operation using the Windows Azure Services Management API, see Create Storage Account .

Create a storage account for a Windows Azure subscription


Sign in to the Windows Azure Management Portal . In the lower left corner, click New , then Storage . Select Quick create .

The Create Storage Account dialog box opens.

clip_image001

In the URL box, enter the name of the subdomain. The entry may contain 3โ€“24 characters (lower case letters and numbers).

This is the host name of the universal resource code (URI) that is used to refer to blobs, queues, and tables within a subscription. To access the container in the Blob service, you must use the following URI format (here <StorageAccountLabel> is the value entered in the Enter a URL field):

http: // <StorageAcountLabel> .blob.core.windows.net / <mycontainer>

Important! The URL label defines a subdomain for the storage account URI. It should be unique to all services hosted on the Windows Azure platform.

This value is used as the name of the storage account on the portal, as well as when accessing the account from other programs.

Tip: If you want clients to access a blob through your own subdomain, you can create your own domain for a storage account. For more information, see How to Register a Custom Subdomain for Windows Azure (Register a subdomain name to refer to Windows Azure BLOBs) .

In the Region / Affinity Group drop-down list, select the geographical area to which the storage account will belong. In addition, you can use a territorial group. For instructions on creating a territorial group, see How to Create an Affinity Group in Windows Azure .

In the Subscription drop-down list, select the subscription with which the storage account will be associated.

Click Create Storage Account . Creating a storage account can take several minutes.

Ensure that the creation of the storage account is completed successfully. The storage account must be listed in the Storage list and have Online status.

Step 2: Enable CDN for storage account


CDN caches static content in centers located around the world so as to achieve the highest performance and availability. Here are some of the benefits of using a CDN to cache static content:


Connecting a CDN to a storage account or hosted service provides CDN edge caching for all shared objects. When the object cached in the CDN is changed, the new content will not be available through the CDN until the CDN updates the content after the next storage period of the object.

To enable CDN for a subscription, follow these steps:

In the top pane of the Windows Azure Management Portal, click Preview and select Take me to the previous portal . The production management portal will open.

clip_image002

In the Production Management Portal navigation pane, click Hosted Services, Storage Accounts & CDN (Hosted Services, Storage Accounts, and CDNs) .

At the top of the navigation pane, click CDN . Then click the ribbon point New Endpoint (Create End Point) .

The Create a New CDN Endpoint dialog box appears .

clip_image003

In the Create a New CDN Endpoint dialog box, expand the Choose a Subscription drop-down list and select the subscription for which you want to turn on the CDN.

Select the source of the CDN content in the drop-down list of Choose a hosted service or storage account . Note: the drop-down list determines from which source the objects for your CDN account will be cached. This resource will be the only source for a CDN. The Source URL for the CDN Endpoint field automatically displays the source URL for the CDN endpoint . The CDN will place the objects stored there in the caching network.

If you need to use a secure HTTPS connection, enable HTTPS . For more information about HTTPS and Windows Azure CDN, see Overview of the Windows Azure CDN .

If you are caching content provided by the hosted service, and query strings are used to access it, select the Query String check box. For more information about using query strings to allocate cached objects, see Overview of the Windows Azure CDN . If the source is a blob storage account, then this parameter should not be included.

Click OK .

Note. The created endpoint configuration will not be available immediately. Notifying CDN nodes of new settings can take up to 60 minutes. If the user immediately tries to use the CDN domain name, he will receive status code 400 (Bad Request) until the content is available through the CDN.

Step 3: Access CDN Content


To access the contents of the CDN, click on the link

http://.vo.msecnd.net//

4: CDN
(Content Delivery Network, CDN) Windows Azure, :

BLOB- Windows Azure โ€” . Set Container ACL ( ACL) . CDN . , .
, CDN, , . CDN , CDN . , .

CDN Windows Azure .


Windows Azure : Windows Azure API CDN

http://.vo.msecnd.net//

4: CDN
(Content Delivery Network, CDN) Windows Azure, :

BLOB- Windows Azure โ€” . Set Container ACL ( ACL) . CDN . , .
, CDN, , . CDN , CDN . , .

CDN Windows Azure .


Windows Azure : Windows Azure API CDN

http://.vo.msecnd.net//

4: CDN
(Content Delivery Network, CDN) Windows Azure, :

BLOB- Windows Azure โ€” . Set Container ACL ( ACL) . CDN . , .
, CDN, , . CDN , CDN . , .

CDN Windows Azure .


Windows Azure : Windows Azure API CDN
http://.vo.msecnd.net//

4: CDN
(Content Delivery Network, CDN) Windows Azure, :

BLOB- Windows Azure โ€” . Set Container ACL ( ACL) . CDN . , .
, CDN, , . CDN , CDN . , .

CDN Windows Azure .


Windows Azure : Windows Azure API CDN

http://.vo.msecnd.net//

4: CDN
(Content Delivery Network, CDN) Windows Azure, :

BLOB- Windows Azure โ€” . Set Container ACL ( ACL) . CDN . , .
, CDN, , . CDN , CDN . , .

CDN Windows Azure .


Windows Azure : Windows Azure API CDN

http://.vo.msecnd.net//

4: CDN
(Content Delivery Network, CDN) Windows Azure, :

BLOB- Windows Azure โ€” . Set Container ACL ( ACL) . CDN . , .
, CDN, , . CDN , CDN . , .

CDN Windows Azure .


Windows Azure : Windows Azure API CDN

Source: https://habr.com/ru/post/163707/


All Articles