Configuring traffic based on priority
Another routing method available is priority. Priority, as its name suggests, gives priority to some endpoints, while some endpoints are kept as backups. Backup endpoints are only used if endpoints with priority become unavailable. In this recipe, we'll configure Traffic Manager to route traffic based on priority.
Getting ready
Before you start, open your browser and go to the Azure portal via https://portal.azure.com.
How to do it…
In order to set the routing method to Priority, we must do the following:
- In the Azure portal, locate the previously created Traffic Manager profile.
- Under Settings, select the Configuration option.
- Change Routing method to Priority, as shown in Figure 11.9:
Figure 11.9: Changing the routing method to Priority
How it works…
Priority sets a priority order for endpoints. All traffic will first go to the endpoints with the highest priority. Other endpoints (with...