Allow Network Security Groups (NSGs) to Reference Application Security Groups (ASGs) From Different Location
Remove the limitation of restricting Network Security Groups (NSGs) ability to leverage/associate Application Security Groups (ASGs) that are not within the same location of the target Virtual Network (VNET).
This is especially important, to provide granularity and segregation/isolation in a hub-and-spoke networking model (i.e. VNetA-ASG1-to-VNetB-ASG1), in association with VNet Peering.
Thanks for the feedback, we are working on enabling ASG references across subscriptions/VNets, it’s currently on our plans
Seif Allah Ben Amara commented
Any update on this ?
we would really need it !
Any update on this?
Currently working on a project that it would be really useful for
No cross site functionality will probably prevent us using NSGs
In our environment, we want to deploy across 2 regions for redundancy, but the app servers in both sites will need to access the db servers at either site. They will be in the same subscription but I can imagine other scenarios where they may not be.
any updates for 2019?
Christopher Gerard Quinn commented
We have a complex hub, spoke-hub, spoke network topology to overcome the limitation on the number of VNET peers. We are trying to implement micro-segmentation and the ability to use application security groups between VNETs in the same region would greatly simplify that effort.
Romain HENRY commented
Hi all !
We encouter the same kind of issues in a hub and spoke architecture. I would like to authorize flows between VMs hosted in a subscription and some relays hosted in a transit subscription using "external" ASG and it's not possible.
Can you remove this limitation ? This would be helpful to implement inter subscription dynamic filtering.
Indeed a very important request. Please also remember that in some hub and spoke designs we have to cross subscription boundaries as well!
Workaround until then: Work with two rulesets instead of one. Eg. for outbound connection spoke to hub, set one rule on spoke NSG reducing source to spoke ASG and set another rule on hub NSG, reducing destination to hub ASG. This is ugly, but allows the use of ASGs for SRC and DST.
We need ASG accessible over vnet peers so we can scale to a full hub and spoke network
Adin Ermie commented
I wrote a blog post detailing this scenario, which you can find here: https://adinermie.com/using-application-security-groups-asgs-with-vnet-peering-and-their-limitations/