You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/network-watcher/vnet-flow-logs-tutorial.md
+42-11Lines changed: 42 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: halkazwini
6
6
ms.author: halkazwini
7
7
ms.service: azure-network-watcher
8
8
ms.topic: tutorial
9
-
ms.date: 08/06/2025
9
+
ms.date: 02/25/2026
10
10
11
11
# CustomerIntent: As an Azure administrator, I need to log the network traffic to and from a virtual network so I can analyze the data for anomalies.
12
12
---
@@ -58,6 +58,35 @@ In this section, you create **myVNet** virtual network with one subnet for the v
58
58
59
59
1. Review the settings, and then select **Create**.
60
60
61
+
## Deploy Azure Bastion
62
+
63
+
Azure Bastion uses your browser to connect to VMs in your virtual network over secure shell (SSH) or remote desktop protocol (RDP) by using their private IP addresses. The VMs don't need public IP addresses, client software, or special configuration. For more information about Azure Bastion, see [Azure Bastion](../bastion/bastion-overview.md).
1. In the search box at the top of the portal, enter ***Bastion***. Select **Bastions** from the search results.
69
+
70
+
1. Select **+ Create**.
71
+
72
+
1. In the **Basics** tab of **Create a Bastion**, enter or select the following information:
73
+
74
+
| Setting | Value |
75
+
|---|---|
76
+
|**Project details**||
77
+
| Subscription | Select your Azure subscription. |
78
+
| Resource group | Select **myResourceGroup**. |
79
+
|**Instance details**||
80
+
| Name | Enter ***bastion***. |
81
+
| Region | Select **(US) East US**. |
82
+
| Tier | Select **Developer**. |
83
+
|**Configure virtual networks**||
84
+
| Virtual network | Select **myVNet**. |
85
+
86
+
1. Select **Review + create**.
87
+
88
+
1. Select **Create**.
89
+
61
90
## Create a virtual machine
62
91
63
92
In this section, you create **myVM** virtual machine.
@@ -94,25 +123,27 @@ In this section, you create **myVM** virtual machine.
94
123
|**Network interface**||
95
124
| Virtual network | Select **myVNet**. |
96
125
| Subnet | Select **mySubnet**. |
97
-
| Public IP | Select **(new) myVM-ip**. |
126
+
| Public IP | Select **None**. |
98
127
| NIC network security group | Select **Basic**. |
99
-
| Public inbound ports | Select **Allow selected ports**. |
100
-
| Select inbound ports | Select **RDP (3389)**. |
101
-
102
-
> [!CAUTION]
103
-
> Leaving the RDP port open to the internet is only recommended for testing. For production environments, it's recommended to restrict access to the RDP port to a specific IP address or range of IP addresses. You can also block internet access to the RDP port and use [Azure Bastion](../bastion/bastion-overview.md) to securely connect to your virtual machine from the Azure portal.
128
+
| Public inbound ports | Select **None**. |
104
129
105
130
1. Select **Review + create**.
106
131
107
132
1. Review the settings, and then select **Create**.
108
133
109
134
1. Once the deployment is complete, select **Go to resource** to go to the **Overview** page of **myVM**.
110
135
111
-
1. Select **Connect** then select **RDP**.
136
+
1. Select **Connect** then select **Connect via Bastion**.
137
+
138
+
1. In the **Bastion** connection page, enter or select the following information:
112
139
113
-
1. Select **Download RDP File** and open the downloaded file.
140
+
| Setting | Value |
141
+
| ------- | ----- |
142
+
| Authentication Type | Select **Password**. |
143
+
| Username | Enter the username you created. |
144
+
| Password | Enter the password you created. |
114
145
115
-
1. Select **Connect** and then enter the username and password that you created in the previous steps. Accept the certificate if prompted.
146
+
1. Select **Connect**.
116
147
117
148
## Register Insights provider
118
149
@@ -193,7 +224,7 @@ In this section, you create a virtual network flow log that's saved into the sto
193
224
194
225
:::image type="content" source="./media/vnet-flow-logs-tutorial/flow-logs-list.png" alt-text="Screenshot of Flow logs page in the Azure portal showing the newly created flow log." lightbox="./media/vnet-flow-logs-tutorial/flow-logs-list.png":::
195
226
196
-
1. Go back to your RDP session with **myVM** virtual machine.
227
+
1. Go back to your Bastion session with **myVM** virtual machine.
0 commit comments