Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure role being queried (GET /) every 5 minutes from Microsoft IP address

In one of our Azure roles we have a log that is accumulating a lot of HTTP 404 errors as a result of regular HTTP requests (Get / ) coming from an IP address belonging to MS.

Is this "traffic" part of the Azure role health monitoring? We don't have a controller/action to respond to that request. I would prefer not to open that door unnecessarily, but if I could unambiguously identify it as Azure health monitoring, then I could at least filter them out when logging.

like image 416
user3019919 Avatar asked Jul 11 '14 15:07

user3019919


People also ask

How many requests can Azure app handle?

If your requests come from more than one security principal, your limit across the subscription or tenant is greater than 12,000 and 1,200 per hour. These limits apply to each Azure Resource Manager instance.

How do I block my Azure public IP?

You can use the Network Security Groups(NSG) to block some IPs. You can add different rules in one NSG and config this NSG to your cloud service's VNet. Firstly, you need to have a NSG with rules that can block the target IPs. You can use portal to create the NSG and add rules in it.


1 Answers

The 5 minutely requests to HTTP GET / are caused by the "AlwaysOn" feature of Azure Web Apps.

Since it is not possible to customize the endpoint AlwaysOn checks, your options are;

  1. Disable AlwaysOn
  2. Live with the errors in your logs
  3. Add a controller/ action that handles the default route
like image 107
Matt Avatar answered Nov 05 '22 08:11

Matt