You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/traffic-manager/traffic-manager-use-azure-app-service.md
+11-16Lines changed: 11 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,29 +31,24 @@ By using Azure Traffic Manager with Azure App Service, you can ensure that your
31
31
32
32
## Process overview: Steps to use Azure Traffic Manager with Azure App Service
33
33
34
-
1. Create an Azure App Service: Start by creating an Azure App Service. This will host your web, mobile, or API application.
35
-
36
-
34
+
1. [Create an Azure App Service](../app-service/getting-started.md): Start by creating an Azure App Service. This will host your web, mobile, or API application. The following example is a Dotnet 8.0 web app.
37
35
36
+

38
37
2. Create an Azure Traffic Manager Profile: In the Azure portal, create a new Traffic Manager profile. Choose the routing method that best suits your needs (Priority, Weighted, Performance, Geographic).
39
-
3. Add Endpoints to Your Traffic Manager Profile: Add your Azure App Service as an endpoint in your Traffic Manager profile. Remember, you can only specify one App Service endpoint per region in a profile.
40
-
4. Configure Endpoint Weights or Priorities: If you’re using the Weighted or Priority routing methods, configure the weights or priorities of your endpoints.
41
-
5. Test Your Setup: Use different devices or services to send requests to your Traffic Manager profile’s DNS name. Verify that the requests are routed to the expected endpoint.
42
38
43
-
Remember to monitor the health of your endpoints and adjust your Traffic Manager configuration as needed to ensure high availability, optimal geographic distribution, and effective load balancing.
39
+
<br><img src="./media/traffic-manager-use-with-appgw/create-profile.png" alt="A screenshot of creating a traffic manager profile." width="60%">
40
+
3. [Add an endpoint](quickstart-create-traffic-manager-profile.md#add-traffic-manager-endpoints) to your Traffic Manager profile: Add your Azure App Service as an endpoint in your Traffic Manager profile. Remember, you can only specify one App Service endpoint per region in a profile.
44
41
45
-
## Prerequisites
42
+

43
+
4. [Configure Endpoint Weights or Priorities](traffic-manager-routing-methods.md): If you’re using the [weighted](traffic-manager-configure-weighted-routing-method.md) or [priority](traffic-manager-configure-priority-routing-method.md) routing methods, configure the weights or priorities of your endpoints.
44
+
5. Test Your Setup: Use different devices or services to send requests to your Traffic Manager profile’s DNS name. Verify that the requests are routed to the expected endpoint. The following example displays a web app request.
46
45
47
-
* If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
46
+

48
47
49
-
## Create a resource group
50
-
51
-
Create a resource group for the Traffic Manager profile.
52
-
1. Sign in to the [Azure portal](https://portal.azure.com).
53
-
2. On the left pane of the Azure portal, select **Resource groups**.
54
-
3. In **Resource groups**, on the top of the page, select **Add**.
55
-
4. In **Resource group name**, type a name *myResourceGroupTM1*. For **Resource group location**, select **East US**, and then select **OK**.
48
+
Remember to monitor the health of your endpoints and adjust your Traffic Manager configuration as needed to ensure high availability, optimal geographic distribution, and effective load balancing.
56
49
50
+
> [!NOTE]
51
+
> If your web app uses SSL (settings > certificates), you can enable SSL on the **trafficmanager.net** domain by adding a binding for **trafficmanager.net** under **settings > custom domains** for the web app.
## Process overview: How to use Azure App Gateway with Azure Traffic Manager
25
25
26
26
1.[Create an Azure Traffic Manager profile](quickstart-create-traffic-manager-profile.md): Start by creating an Azure Traffic Manager profile. Configure it to use the desired traffic routing method (priority, weighted, performance, or geographic).
27
-
28
-
<imgsrc="./media/traffic-manager-use-with-appgw/create-profile.png"alt="A screenshot of creating a traffic manager profile."width="60%">
27
+
28
+
<br><imgsrc="./media/traffic-manager-use-with-appgw/create-profile.png"alt="A screenshot of creating a traffic manager profile."width="60%">
29
29
2.[Create an Azure Application Gateway](../application-gateway/quick-create-portal.md): Next, create an Azure Application Gateway. Configure it to use the desired backend pool and routing rules.
30
30
31
31


35
35
36
36

37
-
4. Test Your Setup: Finally, test the configuration by accessing the Azure Traffic Manager DNS name from a web browser. This will help ensure that traffic is being correctly routed and load balanced.
37
+
4. Test Your Setup: Finally, test the configuration by accessing the Azure Traffic Manager DNS name from a web browser. This will help ensure that traffic is being correctly routed and is load balanced.
38
38
39
39

0 commit comments