We have already seen how to set up automatic scaling for Azure Web Apps and how to create scale in and out rules. But scaling can improve performance and keep the application up if there is an increase in requests and doesn't really secure the high availability of the application. If there is an issue in the Azure Data Center where the application is located, or maintenance on the host is in progress, the application will be unavailable if hosted in a single location.
In order to achieve high availability, we need to introduce another Azure service: Traffic Manager. Azure Traffic Manager operates on the DNS level to direct incoming requests to endpoints based on custom routing rules.
Let's start with creating a new Azure Traffic Manager and go through the configuration to show how to set up high availability for Azure Web Apps.
...