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/devtest-labs/network-isolation.md
+31-3Lines changed: 31 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You can enable network isolation in the Azure portal only during lab creation. T
23
23
24
24
### Use the default virtual network and subnet
25
25
26
-
If you choose to use the **Default** virtual network and subnet DevTest Labs creates for the lab:
26
+
To enable network isolation for the **Default** virtual network and subnet that DevTest Labs creates for the lab:
27
27
28
28
1. During lab creation, go to the **Networking** tab.
29
29
1. Next to **Isolate lab resources**, select **Yes**.
@@ -52,7 +52,11 @@ If you want to enable network isolation and use a different, existing virtual ne
52
52
1. Finish creating the lab.
53
53
54
54
<aname="steps-to-follow-post-lab-creation"></a>
55
-
After you create the lab, to isolate the lab storage account and key vault to the network you selected, complete the following steps. Do these steps before you do any other lab configuration or create any lab resources.
55
+
## Configure service endpoints
56
+
57
+
If you enabled network isolation for a pre-existing virtual network, complete the following steps to isolate the lab storage account and key vault to the network you selected. Do these steps after you create the lab, and before you do any other lab configuration or create any lab resources.
58
+
59
+
### Configure the endpoint for the lab storage account
56
60
57
61
1. On the lab's **Overview** page, select the **resource group**.
58
62
@@ -84,6 +88,26 @@ Azure Storage now allows inbound connections from the added virtual network, whi
84
88
85
89
You can automate these steps with PowerShell or Azure CLI to configure network isolation for multiple labs. For more information, see [Configure Azure Storage firewalls and virtual networks](/azure/storage/common/storage-network-security).
86
90
91
+
### Configure the endpoint for the lab key vault
92
+
93
+
1. On the lab's **Overview** page, select the **resource group**.
94
+
95
+
1. On the resource group **Overview** page, select the lab's key vault.
96
+
97
+

98
+
99
+
1. On the key vault page, select **Networking** from the left navigation. On the **Firewalls and virtual networks** tab, ensure that **Allow trusted Microsoft services to bypass this firewall** is selected.
100
+
101
+
1. Select **Add existing virtual networks**.
102
+
103
+

104
+
105
+
1. On the **Add networks** pane, select the virtual network and subnet you chose when you created the lab, and then select **Enable**.
106
+
107
+
1. Once the service endpoint is successfully enabled, select **Add**.
108
+
109
+
1. On the **Networking** page, select **Save**.
110
+
87
111
## Considerations
88
112
89
113
Here are some things to remember when using a lab in a network isolated mode:
@@ -94,12 +118,16 @@ The lab owner must explicitly enable access to a network isolated lab's storage
94
118
95
119
For more information, see [Connect to a storage account using an Azure Private Endpoint](/azure/private-link/tutorial-private-endpoint-storage-portal).
96
120
97
-
### Exporting lab usage data
121
+
### Export lab usage data
98
122
99
123
To [export usage data](personal-data-delete-export.md) for a network isolated lab, the lab owner must explicitly provide a storage account and generate a blob within the account to store the data. Exporting usage data fails in network isolated mode if the user doesn't explicitly provide the storage account to use.
100
124
101
125
For more information, see [Export or delete personal data from Azure DevTest Labs](personal-data-delete-export.md).
102
126
127
+
### Set key vault access policies
128
+
129
+
Enabling the key vault service endpoint affects only the firewall. Make sure to configure the appropriate key vault access permissions in the key vault **Access policies** section.
130
+
103
131
## Next steps
104
132
105
133
-[Azure Resource Manager (ARM) templates in Azure DevTest Labs](devtest-lab-use-arm-and-powershell-for-lab-resources.md)
0 commit comments