Azure firewall configurations & Azure application insights

3 min readAug 16, 2020


What is Azure Firewall?

Azure Firewall is a managed, cloud-based network security service which protects our Azure Virtual Network resources. It is fully stateful firewall as a service with built-in high availability and unrestricted cloud scalability.

You can centrally create, enforce, and log application and network connectivity policies across subscriptions and virtual networks. Azure Firewall use a static public IP address for your virtual network resources allowing outside firewalls to identify traffic originating from your virtual network. The service is fully integrated with Azure Monitor for logging and analytics.

Azure Firewall provides the following features:

  1. Built-in high availability
  2. Unrestricted cloud scalability
  3. Application FQDN filtering rules
  4. Network traffic filtering rules
  5. FQDN tags
  6. Outbound & Inbound SNAT support
  7. Azure Monitor logging

Let’s see how to setup firewall in Azure Front Door.

  1. We have to create Web Application Firewall Policy to configure firewall. Search Web Application Firewall Policy click and Add policy.

In the policy for Field select Global WAF(Front Door).

2.Next we need to enable FrontDoor Firewall and this policy we created.

Go to created Frond Door → Click Web Application firewall → select the Frontend you need to add and add the WAF policy and save .

What is Azure Application Insights?

Application Insights is an application performance management service for web applications that permits you to do all the monitoring of your website performance in Azure. It’s designed to make sure you’re getting optimal performance and therefore the best in user experience from your website. It is also has a powerful analytic tool which helps you to diagnose issues and get an understanding of how people are using your web application.

You can use it with many web platforms and although you are sending the knowledge about your website to Azure, the website or application itself doesn’t need to be hosted in Azure. For people who work on the dev ops processes, it will assist you make sure that you’re enabling continuous improvement on your web application with connectivity to bunch of development tools.

How Application Insights work is you have to insert a small package to your application and set up the Application Insights resource within Azure, thus sending the data to Azure to gather information. The web app is monitored, and it sends telemetry data to the Insight portal (the portal itself is Azure but as I discussed, the application can be anywhere).

Implement Application insights for Web apps.

1.In Azure portal ,search Application insight go to it and click Add. You will get a window to select resource group, region and name of the insight

2.Go to the Web App deployed →click Application insights in left panel and Click Turn On Application Insights.

3. We can create a new resource if we want but i had already created one so select that one and Apply.

Now we have successfully linked the application insight to our web app