can I restrict my website on azure vm to access only us region

Tranzlation Global 0 Reputation points
2024-05-15T17:09:14.21+00:00

Hello,

I have a website in azure vm, I want to restrict my website only in US Region.

Thanks,

Shyam

Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
323 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TP 79,076 Reputation points
    2024-05-15T17:19:46.9033333+00:00

    Hi Shyam,

    Yes, you can restrict your website to only US region IP addresses. There are different potential methods you can use.

    For example, you could put Azure Application Gateway in front of your VM and use Geomatch custom rules to limit to US.

    Geomatch custom rules

    https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/geomatch-custom-rules

    Another option would be to use third-party geo filtering extension/module/filter running within the VM. For example, if running IIS for the web server you could use a third-party IIS module that provides the geo filtering capability.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    0 comments No comments