Skip to content

Commit 006854b

Browse files
authored
Merge pull request #115272 from MicrosoftDocs/release-build-cdn
Build Release CDN
2 parents a09def7 + f9d765e commit 006854b

13 files changed

+125
-0
lines changed

articles/cdn/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
href: cdn-restrict-access-by-country.md
6868
- name: Improve performance by compressing files
6969
href: cdn-improve-performance.md
70+
- name: Endpoint multi-origin
71+
href: endpoint-multiorigin.md
7072
- name: Control caching behavior
7173
items:
7274
- name: Control caching behavior by using caching rules

articles/cdn/endpoint-multiorigin.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
title: Azure CDN endpoint multi-origin
3+
description: Get started with Azure CDN endpoint multiple origins.
4+
services: cdn
5+
author: asudbring
6+
manager: KumudD
7+
ms.service: azure-cdn
8+
ms.topic: how-to
9+
ms.date: 5/8/2020
10+
ms.author: allensu
11+
---
12+
13+
# Azure CDN endpoint multi-origin
14+
15+
With the support of multiple origins, you can establish global redundancy and eliminate downtime by choosing multiple origins within an Azure CDN endpoint. The redundancy provided by multi-origin spreads risk by probing the health of each origin and failing over if necessary. To set up multi-origin, setup one or more origin groups. Each origin group is a collection of one or more origins that can take similar workloads.
16+
17+
> [!NOTE]
18+
> Currently this feature is only available from Azure CDN from Microsoft.
19+
20+
## Create the origin group
21+
22+
1. Sign in to the [Azure portal](https://portal.azure.com)
23+
24+
2. Select your Azure CDN profile and then select the endpoint to be configured for multi-origin.
25+
26+
3. Select **Origin** under **Settings** in the endpoint configuration:
27+
28+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-1.png" alt-text="Azure CDN multi-origin" border="true":::
29+
30+
4. To enable multi-origin, you need at least one origin group. Select **Create Origin Group**:
31+
32+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-2.png" alt-text="Azure CDN multi-origin" border="true":::
33+
34+
5. In the **Add Origin Group** configuration, enter or select the following information:
35+
36+
| Setting | Value |
37+
|-------------------|-----------------------------------------------------------------------|
38+
| Origin group name | Enter a name for your origin group. |
39+
| Probe path | The path in the origin that is used to determine the health. |
40+
| Probe interval | Select a probe interval of 1, 2, or 4 minutes. |
41+
| Probe protocol | Select **HTTP** or **HTTPS**. |
42+
| Probe method | Select **Head** or **Get**. |
43+
44+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-3.png" alt-text="Azure CDN multi-origin" border="true":::
45+
46+
6. Select **Add**.
47+
48+
7. To choose the default origin group, select **Configure Origin group**:
49+
50+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-4.png" alt-text="Azure CDN multi-origin" border="true":::
51+
52+
8. Select your origin group in the pull-down box and select **OK**.
53+
54+
## Add multiple origins
55+
56+
1. In the origin settings for your endpoint, select **+ Create Origin**:
57+
58+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-5.png" alt-text="Azure CDN multi-origin" border="true":::
59+
60+
2. Enter or select the following information in the **Add Origin** configuration:
61+
62+
| Setting | Value |
63+
|-------------------|-----------------------------------------------------------------------|
64+
| Origin Type | Select **Storage**, **Cloud Service**, **Web App**, or **Custom origin**. |
65+
| Origin hostname | Select or enter your origin hostname. The drop-down lists all available origins of the type you specified in the previous setting. If you selected **Custom origin** as your origin type, enter the domain of your customer origin server. |
66+
| Origin host header | Enter the host header you want Azure CDN to send with each request, or leave the default. |
67+
| HTTP port | Enter the HTTP port. |
68+
| HTTPS port | Enter the HTTPS port. |
69+
| Priority | Enter a number between 1 and 5. |
70+
| Weight | Enter a number between 1 and 1000. |
71+
72+
> [!NOTE]
73+
> When an origin is created within an origin group, it must be accorded a priority and weight. If an origin group has only one origin, then the default priority and weight is set as 1. Traffic is routed to the highest priority origins if the origin is healthy. If an origin is determined to be unhealthy then the connections are diverted to another origin in the order of priority. If two origins have the same priority, then traffic is distributed as per weight specified for the origin
74+
75+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-6.png" alt-text="Azure CDN multi-origin" border="true":::
76+
77+
3. Select **Add**.
78+
79+
4. Select **Configure origin** to set the origin path for all origins:
80+
81+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-7.png" alt-text="Azure CDN multi-origin" border="true":::
82+
83+
5. Select **OK**.
84+
85+
## Configure origins and origin group settings
86+
87+
Once you have several origins and an origin group, you can add or remove the origins into different groups. Origins within the same group should serve similar workloads. Traffic will be distributed into these origins based on their healthy status, priority, and weight value.
88+
89+
1. In the origin settings of the Azure CDN endpoint, select **Configure Origin group**:
90+
91+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-8.png" alt-text="Azure CDN multi-origin" border="true":::
92+
93+
2. Select the origin group you want to configure in the pull-down box, and select **OK**.
94+
95+
3. In **Update origin group**, select **+ Add Origin**:
96+
97+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-9.png" alt-text="Azure CDN multi-origin" border="true":::
98+
99+
4. Select the origin to be added to the group in the pull-down box and select **OK**.
100+
101+
5. Verify the origin has been added to the group, then select **Save**:
102+
103+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-10.png" alt-text="Azure CDN multi-origin" border="true":::
104+
105+
## Remove origin from origin group
106+
107+
1. In the origin settings of the Azure CDN endpoint, select **Configure Origin group**:
108+
109+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-8.png" alt-text="Azure CDN multi-origin" border="true":::
110+
111+
2. Select the origin group you want to configure in the pull-down box, and select **OK**.
112+
113+
3. To remove an origin from the origin group, select the trash can icon next to the origin and select **Save**:
114+
115+
:::image type="content" source="./media/endpoint-multiorigin/endpoint-multiorigin-11.png" alt-text="Azure CDN multi-origin" border="true":::
116+
117+
## Next Steps
118+
In this article, you enabled Azure CDN endpoint multi-origin.
119+
120+
For more information on Azure CDN and the other Azure services mentioned in this article, see:
121+
122+
* [Azure CDN](./cdn-overview.md)
123+
* [Compare Azure CDN product feature](./cdn-features.md)
193 KB
Loading
110 KB
Loading
111 KB
Loading
170 KB
Loading
82.1 KB
Loading
181 KB
Loading
178 KB
Loading
74.6 KB
Loading

0 commit comments

Comments
 (0)