Need to avoid duplication of requests triggered while using Active active scenario of Apps hosted in kubernetes cluster of multiple regions

Anonymous
2022-11-02T07:02:40.647+00:00

I have web apps hosted in kubernetes clusters in some 40 different regions spread globally. Whenever there is a request hit i want the traffic to be routed to the nearest geographic endpoint.In case that endpoint is down it need to route traffic to the next endpoint .This works well with Geographic routing and Performance routing methods of Azure Traffic manager. But the problem here is my application has some db sync set up that includes some mail triggering mechanism. So is there any way where we can restrict the traffic response from another region; Such that the traffic routes (request and response) occurs only within that intended region

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,256 Reputation points Microsoft Employee
    2022-11-07T07:02:55.503+00:00

    Hello @Anonymous ,

    I understand that you are routing your web traffic requests to the nearest geographic endpoint using Traffic manager Geographic routing but would like to restrict the access to your application by a specific region.

    Directing traffic to a specific region can be achieved by configuring Geographic routing method in Traffic Manager.

    But if you want to restrict the access to your application by a specific region, I would advise to go with Geo-filtering option in Azure Front Door.

    By default, Azure Front Door will respond to all user requests regardless of the location where the request is coming from. In some scenarios, you may want to restrict the access to your web application by countries/regions. The Web application firewall (WAF) service in Front Door enables you to define a policy using custom access rules for a specific path on your endpoint to either allow or block access from specified countries/regions.
    Refer : https://video2.skills-academy.com/en-us/azure/web-application-firewall/afds/waf-front-door-geo-filtering

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful