Hi @InfraSolutions,
I understand that you’re trying to figure out if you can get away with using a smaller subnet for your Azure Application Gateway v2 setup instead of the recommended /24.
Based on the documentation, while a /24 subnet is recommended for supporting up to 125 instances (including reserved addresses), it’s not strictly necessary if your infrastructure needs are smaller. You could indeed use smaller subnets like /26 or /27, but keep the following in mind:
- /26 subnet: Provides up to 62 usable IP addresses, after accounting for Azure’s five reserved addresses. This subnet can support up to 32 Application Gateway instances, plus one for a private frontend IP if needed.
- /27 subnet: Provides 30 usable IPs (62 total - 5 reserved = 57 available), which cannot fully support even the maximum number of instances for a v2 SKU but might work for smaller configurations with fewer instances.
To directly answer your question about the max instances and connections they can handle, your main constraints will be:
- The number of IP addresses left after accounting for reserved IPs.
- The actual instances you plan to run.
With that said, if you're only planning for around 12 instances, a /26 subnet should suffice. Just be careful to account for other configurations like private front end IPs and avoid scaling too close to your limits.
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to "Accept the answer” and “Yes” wherever the information provided helps you, this can be beneficial to other community members.