Skip to content

Commit 841f52a

Browse files
Merge pull request #274720 from halkazwini/nw-migrate
Add Considerations section
2 parents f8620e4 + 3206133 commit 841f52a

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

articles/network-watcher/nsg-flow-logs-migrate.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,27 @@ author: halkazwini
66
ms.author: halkazwini
77
ms.service: network-watcher
88
ms.topic: how-to
9-
ms.date: 04/29/2024
9+
ms.date: 05/10/2024
1010
ms.custom: devx-track-azurepowershell
1111

1212
#CustomerIntent: As an Azure administrator, I want to migrate my network security group flow logs to the new virtual network flow logs so that I can use all the benefits of virtual network flow logs, which overcome some of the network security group flow logs limitations.
1313
---
1414

1515
# Migrate from network security group flow logs to virtual network flow logs
1616

17-
In this article, you learn how to migrate your existing network security group flow logs to virtual network flow logs. Virtual network flow logs overcome some of the limitations of network security group flow logs. For more information, see [Virtual network flow logs](vnet-flow-logs-overview.md).
17+
In this article, you learn how to migrate your existing network security group flow logs to virtual network flow logs using a migration script. Virtual network flow logs overcome some of the limitations of network security group flow logs. For more information, see [Virtual network flow logs](vnet-flow-logs-overview.md).
18+
19+
> [!NOTE]
20+
> Use the migration script:
21+
> - when you don't have flow logging enabled on all network interfaces or subnets in a virtual network and you don't want to enable virtual network flow logging on all of them, or
22+
> - when your network security group flow logs in a virtual network have different configurations, and you want to create virtual network flow logs with those different configurations as the network security group flow logs.
23+
>
24+
> Use Azure Policy:
25+
> - when you have the same network security group applied to all network interfaces or subnets in a virtual network,
26+
> - when you have the same network security group flow log configurations for all network interfaces or subnets in a virtual network, or
27+
> - when you want to enable virtual network flow logging on the virtual network level.
28+
>
29+
> For more information, see [Deploy and configure virtual network flow logs using a built-in policy](vnet-flow-logs-policy.md#deploy-and-configure-virtual-network-flow-logs-using-a-built-in-policy).
1830
1931
## Prerequisites
2032

@@ -122,6 +134,15 @@ In this section, you learn how to use the script file that you downloaded in the
122134
123135
:::image type="content" source="./media/nsg-flow-logs-migrate/delete-flow-logs-confirmation.png" alt-text="Screenshot that shows how to confirm the deletion of migrated flow logs." lightbox="./media/nsg-flow-logs-migrate/delete-flow-logs-confirmation.png":::
124136
137+
## Considerations
138+
139+
- **Scale set with a load balancer**: The migration script enables virtual network flow logging on the subnet that has the scale set virtual machines.
140+
141+
> [!NOTE]
142+
> If network security group flow logging is not enabled on all network interfaces of the scale set, or the network interfaces don't share the same network security group flow log, then a virtual network flow log is created on the subnet with the same configurations as one of the network interfaces of the scale set.
143+
144+
- **PaaS**: The migration script doesn't support environments with PaaS solutions that have network security group flow logs in a user's subscription but target resources are in different subscriptions. For such environments, you should manually enable virtual network flow logging on the virtual network or subnet of the PaaS solution.
145+
125146
## Related content
126147
127148
- [Network security group flow logs](nsg-flow-logs-overview.md)

0 commit comments

Comments
 (0)