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/spring-cloud/disaster-recovery.md
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,4 +26,34 @@ Ensuring high availability and protection from disasters requires that you deplo
26
26
27
27
[Azure Traffic Manager](../traffic-manager/traffic-manager-overview.md) provides DNS-based traffic load-balancing and can distribute network traffic across multiple regions. Use Azure Traffic Manager to direct customers to the closest Azure Spring Cloud service instance to them. For best performance and redundancy, direct all application traffic through Azure Traffic Manager before sending it to your Azure Spring Cloud service.
28
28
29
-
If you have Azure Spring Cloud applications in multiple regions, use Azure Traffic Manager to control the flow of traffic to your applications in each regions. Define an Azure Traffic Manager endpoint for each service using the service IP. Customers should connect to an Azure Traffic Manager DNS name pointing to the Azure Spring Cloud service. Azure Traffic Manager load balances traffic across the defined endpoints. If a disaster strikes a data center, Azure Traffic Manager will direct traffic from that region to its pair, ensuring service continuity.
29
+
If you have Azure Spring Cloud applications in multiple regions, use Azure Traffic Manager to control the flow of traffic to your applications in each region. Define an Azure Traffic Manager endpoint for each service using the service IP. Customers should connect to an Azure Traffic Manager DNS name pointing to the Azure Spring Cloud service. Azure Traffic Manager load balances traffic across the defined endpoints. If a disaster strikes a data center, Azure Traffic Manager will direct traffic from that region to its pair, ensuring service continuity.
30
+
31
+
## Create Azure Traffic Manager for Azure Spring Cloud
32
+
33
+
1. Create Azure Spring Cloud in two different regions.
34
+
You will need two service instances of Azure Spring Cloud deployed in two different regions (East US and West Europe). Launch an existing Azure Spring Cloud application using the Azure portal to create two service instances. Each will serve as primary and fail-over endpoint for Traffic.
35
+
36
+
**Two service instances info:**
37
+
38
+
| Service Name | Location | Application |
39
+
|--|--|--|
40
+
| service-sample-a | East US | gateway / auth-service / account-service |
41
+
| service-sample-b | West Europe | gateway / auth-service / account-service |
42
+
43
+
2. Set up Custom Domain for Service
44
+
Follow [Custom Domain Document](/articles/spring-cloud/spring-cloud-tutorial-custom-domain.md) to set up custom domain for these two existing service instances. After successful set up, both service instances will bind to custom domain: bcdr-test.contoso.com
45
+
46
+
3. Create a traffic manager and two endpoints: [Create a Traffic Manager profile using the Azure portal](https://docs.microsoft.com/azure/traffic-manager/quickstart-create-traffic-manager-profile).
47
+
48
+
Here is the traffic manager profile:
49
+
* Traffic Manager DNS Name: http://asc-bcdr.trafficmanager.net
0 commit comments