azure application gateway ip requirements

Azure Application Gateway IP Requirements

By Michael Hernandez
AD

When deploying applications on Microsoft Azure, it's crucial to understand the IP requirements for Application Gateway. Proper configuration ensures optimal performance, security, and connectivity. This article delves into the intricacies of Azure Application Gateway's IP requirements, guiding you through the essentials for seamless application deployment.

Before we dive into the specifics, let's briefly understand what Azure Application Gateway is. It's a web traffic load balancer that distributes incoming application traffic evenly across multiple servers. It also provides SSL termination, web application firewalls, and other advanced features. Now, let's explore its IP requirements.

Public IP Requirements

Every Application Gateway requires a public IP. This IP is used to access your application over the internet. It's important to note that this IP address is dynamic and may change if the gateway is reshuffled.

AD
What is Azure Application Gateway
What is Azure Application Gateway
What is the difference between Azure Application Gateway, Load Balancer, Front Door and Firewall?
What is the difference between Azure Application Gateway, Load Balancer, Front Door and Firewall?
the api gateway diagram with icons and other things to see in each section on it
the api gateway diagram with icons and other things to see in each section on it

However, you can reserve a static public IP to prevent this. Reservations provide consistent access to your application. Remember, a reserved public IP incurs additional costs, so consider your needs carefully.

IP Version Requirement

The public IP can be either IPv4 or IPv6, but not both. Ensuring you choose the correct IP version based on your application's requirements is crucial. Dual-stack configuration is not supported.

Web Apps behind Azure Application Gateway - what is the IP of outgoing requests
Web Apps behind Azure Application Gateway - what is the IP of outgoing requests
Azure Basics Explained Simply ☁️ | Microsoft Azure Cloud Services
Azure Basics Explained Simply ☁️ | Microsoft Azure Cloud Services
the info sheet for how to configure azure security best practices?
the info sheet for how to configure azure security best practices?

To configure the IP version, use the Azure portal, Azure CLI, or Azure PowerShell. Here's an example using Azure CLI:

az network public-ip create --name--resource-group--version IPv6

Private IP and Subnet Requirements

Application Gateway requires a private IP address from the subnet to which it is deployed. This IP is used for internal communication between the gateway and its backend targets.

AD

The subnet must contain enough free IP addresses for all resources (including the gateway). When creating a gateway, Azure reserves the next available IP address from the subnet's range.

Choose an Azure Compute Service - Azure Architecture Center
Choose an Azure Compute Service - Azure Architecture Center
Enterprise GenAI Architecture Explained
Enterprise GenAI Architecture Explained
the info sheet shows how to use windows azure for web hosting and sharing services, as well as what you can do
the info sheet shows how to use windows azure for web hosting and sharing services, as well as what you can do
the diagram shows how to use api gateways for an appliance and application
the diagram shows how to use api gateways for an appliance and application
an image of the internet network
an image of the internet network
Using a LogicApp and Automation to Monitor the Backend of an Azure Application Gateway | Microsoft Community Hub
Using a LogicApp and Automation to Monitor the Backend of an Azure Application Gateway | Microsoft Community Hub

Private IP Addresses per Gateway

The number of private IP addresses depends on the gateway's SKU. Front Door, WAF, and large SKUs (Standard\_Large and above) require up to 100 IP addresses, while Basic and Standard\_Small require 40. Keeping this in mind when configuring your subnet's address range is vital.

Keep an eye on your total number of resources in the subnet. Running out of available IPs can hinder deployments, so monitor your IP usage closely.

AD

Now that you understand Azure Application Gateway's IP requirements, you can confidently configure your deployments. Regularly review your IP usage to ensure optimal performance and maintainability. If you haven't already, consider exploring Azure's other networking features to maximize your deployment's efficiency.

What is Microsoft Azure? | dummies
What is Microsoft Azure? | dummies
AD