Add, disable, enable, or delete endpoints
The Web Apps feature in Azure App Service already provides failover and round-robin traffic routing functionality for websites within a datacenter, regardless of the website mode. Azure Traffic Manager allows you to specify failover and round-robin traffic routing for websites and cloud services in different datacenters. The first step necessary to provide that functionality is to add the cloud service or website endpoint to Traffic Manager.
You can also disable individual endpoints that are part of a Traffic Manager profile. Disabling an endpoint leaves it as part of the profile, but the profile acts as if the endpoint is not included in it. This action is useful for temporarily removing an endpoint that is in maintenance mode or being redeployed. Once the endpoint is up and running again, it can be enabled.
Note
Disabling an endpoint has nothing to do with its deployment state in Azure. A healthy endpoint remains up and able to receive traffic even when disabled in Traffic Manager. Additionally, disabling an endpoint in one profile does not affect its status in another profile.
To add a cloud service or an App service endpoint to a Traffic Manager profile
- From a browser, sign in to the Azure portal.
- In the portal’s search bar, search for the Traffic Manager profile name that you want to modify, and then click the Traffic Manager profile in the results that the displayed.
- In the Traffic Manager profile blade, in the Settings section, click Endpoints.
- In the Endpoints blade that is displayed, click Add.
- In the Add endpoint blade, complete as follows:
- For Type, click Azure endpoint.
- Provide a Name by which you want to recognize this endpoint.
- For Target resource type, from the drop-down, choose the appropriate resource type.
- For Target resource, click the Choose... selector to list resources under the same subscription in the Resources blade. In the Resource blade that is displayed, pick the service that you want to add as the first endpoint.
- For Priority, select as 1. This results in all traffic going to this endpoint if it is healthy.
- Keep Add as disabled unchecked.
- Click OK
- Repeat steps 4 and 5 to add the next Azure endpoint. Make sure to add it with its Priority value set at 2.
- When the addition of both endpoints is complete, they are displayed in the Traffic Manager profile blade along with their monitoring status as Online.
Note
After you add or remove an endpoint from a profile using the Failover traffic routing method, the failover priority list may not be ordered the way you want. You can adjust the order of the Failover Priority List on the Configuration page. For more information, see Configure Failover traffic routing.
To disable an endpoint
- From a browser, sign in to the Azure portal.
- In the portal’s search bar, search for the Traffic Manager profile name that you want to modify, and then click the Traffic Manager profile in the results that are displayed.
- In the Traffic Manager profile blade, in the Settings section, click Endpoints.
- Click the endpoint that you want to disable.
- In the Endpoint blade, change the endpoint status to Disabled, and then click Save.
- Clients continue to send traffic to the endpoint for the duration of Time-to-Live (TTL). You can change the TTL on the Configuration page of the Traffic Manager profile.
To enable an endpoint
- From a browser, sign in to the Azure portal.
- In the portal’s search bar, search for the Traffic Manager profile name that you want to modify, and then click the Traffic Manager profile in the results that are displayed.
- In the Traffic Manager profile blade, in the Settings section, click Endpoints.
- Click the endpoint that you want to enable.
- In the Endpoint blade, change the endpoint status to Enabled, and then click Save.
- Clients continue to send traffic to the endpoint for the duration of Time-to-Live (TTL). You can change the TTL on the Configuration page of the Traffic Manager profile.
To delete an endpoint
- From a browser, sign in to the Azure portal.
- In the portal’s search bar, search for the Traffic Manager profile name that you want to modify, and then click the Traffic Manager profile in the results that are displayed.
- In the Traffic Manager profile blade, in the Settings section, click Endpoints.
- Click the endpoint that you want to delete.
- In the Endpoint blade, click Delete
Next steps
Feedback
Submit and view feedback for