Skip to content

Commit 246ddce

Browse files
committed
docs: Split RG creation, replace VM include with inline SSH key, update Bastion to SSH Private Key
1 parent ffab5c5 commit 246ddce

1 file changed

Lines changed: 81 additions & 5 deletions

File tree

articles/private-link/tutorial-inspect-traffic-azure-firewall.md

Lines changed: 81 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: abell
66
ms.service: azure-private-link
77
ms.topic: tutorial
88
ms.custom: mvc, linux-related-content
9-
ms.date: 02/18/2025
9+
ms.date: 02/23/2026
1010
# Customer intent: "As a network administrator, I want to configure Azure Firewall to inspect traffic to private endpoints, so that I can enhance security and ensure only authorized access to Azure resources."
1111
---
1212
# Tutorial: Inspect private endpoint traffic with Azure Firewall
@@ -48,6 +48,26 @@ If you don't have an Azure subscription, create a [free account](https://azure.m
4848

4949
Sign in to the [Azure portal](https://portal.azure.com).
5050

51+
## Create a resource group
52+
53+
A resource group is a logical container for Azure resources. This procedure creates a resource group for all resources used in this tutorial.
54+
55+
1. In the portal, search for and select **Resource groups**.
56+
57+
1. On the **Resource groups** page, select **+ Create**.
58+
59+
1. On the **Basics** tab, enter or select the following information:
60+
61+
| Setting | Value |
62+
|---|---|
63+
| **Project details** | |
64+
| Subscription | Select your subscription. |
65+
| Resource group | Enter **test-rg**. |
66+
| **Resource details** | |
67+
| Region | Select **East US 2**. |
68+
69+
1. Select **Review + create**, and then select **Create**.
70+
5171
## Create a virtual network
5272

5373
The following procedure creates a virtual network with a resource subnet.
@@ -62,7 +82,7 @@ The following procedure creates a virtual network with a resource subnet.
6282
|---|---|
6383
| **Project details** | |
6484
| Subscription | Select your subscription. |
65-
| Resource group | Select **Create new**. </br> Enter **test-rg** for the name. </br> Select **OK**. |
85+
| Resource group | Select **test-rg**. |
6686
| **Instance details** | |
6787
| Name | Enter **vnet-1**. |
6888
| Region | Select **East US 2**. |
@@ -118,7 +138,57 @@ Azure Bastion uses your browser to connect to VMs in your virtual network over S
118138

119139
[!INCLUDE [virtual-network-create-private-endpoint.md](../../includes/virtual-network-create-private-endpoint.md)]
120140

121-
[!INCLUDE [create-test-virtual-machine-linux.md](~/reusable-content/ce-skilling/azure/includes/create-test-virtual-machine-linux.md)]
141+
## Create a test virtual machine
142+
143+
The following procedure creates a test virtual machine (VM) named **vm-1** in the virtual network.
144+
145+
1. In the portal, search for and select **Virtual machines**.
146+
147+
1. In **Virtual machines**, select **+ Create**, then select **Azure virtual machine**.
148+
149+
1. On the **Basics** tab of **Create a virtual machine**, enter or select the following information:
150+
151+
| Setting | Value |
152+
| ------- | ----- |
153+
| **Project details** | |
154+
| Subscription | Select your subscription. |
155+
| Resource group | Select **test-rg**. |
156+
| **Instance details** | |
157+
| Virtual machine name | Enter **vm-1**. |
158+
| Region | Select **(US) East US 2**. |
159+
| Availability options | Select **No infrastructure redundancy required**. |
160+
| Security type | Select **Standard**. |
161+
| Image | Select **Ubuntu Server 24.04 LTS - x64 Gen2**. |
162+
| VM architecture | Leave the default of **x64**. |
163+
| Size | Select a size. |
164+
| **Administrator account** | |
165+
| Authentication type | Select **SSH public key**. |
166+
| Username | Enter a username. |
167+
| SSH public key source | Select **Generate new key pair**. |
168+
| Key pair name | Enter **vm-1-key**. |
169+
| **Inbound port rules** | |
170+
| Public inbound ports | Select **None**. |
171+
172+
1. Select **Next: Disks** then **Next: Networking**.
173+
174+
1. In the Networking tab, enter or select the following information:
175+
176+
| Setting | Value |
177+
| ------- | ----- |
178+
| **Network interface** | |
179+
| Virtual network | Select **vnet-1**. |
180+
| Subnet | Select **subnet-1 (10.0.0.0/24)**. |
181+
| Public IP | Select **None**. |
182+
| Network interface (NIC) network security group | Select **Advanced**. |
183+
| Configure network security group | Select **Create new**.</br> In **Name** enter **nsg-1**.</br> Select **OK**. |
184+
185+
1. Leave the rest of the options at the defaults and select **Review + create**.
186+
187+
1. Select **Create**.
188+
189+
1. A **Generate new key pair** pop-up opens. Select **Download private key and create resource**.
190+
191+
1. The private key file is downloaded as **vm-1-key.pem**. Make sure you know where this file is downloaded so you can use it to sign in to the virtual machine in the next steps.
122192

123193
## Deploy Azure Firewall
124194

@@ -424,9 +494,15 @@ Create an application rule to allow communication from **vnet-1** to the private
424494

425495
1. Select **vm-1**.
426496

427-
1. In **Operations** select **Bastion**.
497+
1. Select **Connect** then **Connect via Bastion** in the **Overview** section.
498+
499+
1. In the **Bastion** connection page, enter or select the following information:
428500

429-
1. Enter the username and password for the virtual machine.
501+
| Setting | Value |
502+
| ------- | ----- |
503+
| Authentication Type | Select **SSH Private Key from Local File**. |
504+
| Username | Enter the username you created. |
505+
| Local File | Select the **vm-1-key** private key file you downloaded. |
430506

431507
1. Select **Connect**.
432508

0 commit comments

Comments
 (0)