- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
This article explains how to migrate VNET traffic from being inspected by Azure Firewall to the Cloud NGFW by Palo Alto Networks without disrupting communications across production applications.
Problem Description:
As organizations expand their cloud infrastructure, security requirements inevitably become more sophisticated. While many enterprises initially implement native security services such as Azure Firewall, they often require the advanced threat prevention, comprehensive application visibility, and centralized management capabilities provided by Palo Alto Networks Cloud NGFW for Azure.
In large-scale enterprise environments, immediate full-scale migrations are often impractical. When managing numerous production Virtual Networks (VNETs), attempting a comprehensive migration within a restricted timeframe presents a significant risk of prolonged service interruptions.
Adopting a phased migration strategy is considered the industry standard; however, this approach necessitates addressing a critical technical challenge: the secure, concurrent operation of both firewall solutions while maintaining uninterrupted traffic flows.
The primary obstacle during a phased migration is asymmetric routing. Consider this common scenario during a phased migration:
When an application in VNET A initiates a connection to a service in VNET B:
To prevent asymmetric routing, the firewalls must be explicitly instructed to hand off traffic to one another when communicating across the migration boundary. This is achieved by strategically updating the UDRs attached to the Firewall Subnets themselves in tandem with Spoke VNET updates. By manipulating the next-hop routing logic inside the Hub, you ensure that both the forward and return paths traverse the exact same firewall.
To make VNET A (on CNGFW) and VNET B (on Azure Firewall) talk seamlessly, apply the following workaround:
With these rules in place, if Application VNET A talks to the Application in VNET B:
Scaling to multiple VNETs: Operationalizing the Migration
As each individual VNET's UDR is updated to have a next hop of the CNGFW, you must correspondingly update the UDRs of these firewalls. By utilizing phased routing approach, you ensure that regardless of where a VNET is in the migration pipeline, the firewalls know exactly how to hand off traffic to their counterpart for environments that haven't been cut over yet.
Important considerations: