Skip to content

Commit e9f8349

Browse files
committedMar 19, 2022
add key vault
1 parent ddb370f commit e9f8349

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed
 
Loading
Loading
Loading

‎articles/devtest-labs/network-isolation.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can enable network isolation in the Azure portal only during lab creation. T
2323

2424
### Use the default virtual network and subnet
2525

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:
2727

2828
1. During lab creation, go to the **Networking** tab.
2929
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
5252
1. Finish creating the lab.
5353

5454
<a name="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
5660

5761
1. On the lab's **Overview** page, select the **resource group**.
5862

@@ -84,6 +88,26 @@ Azure Storage now allows inbound connections from the added virtual network, whi
8488

8589
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).
8690

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+
![Screenshot that shows selecting the lab's key vault.](./media/network-isolation/key-vault.png)
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+
![Screenshot that shows allowing trusted Microsoft services on the Firewalls and virtual networks tab.](./media/network-isolation/contoso-lab-firewalls-vnets.png)
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+
87111
## Considerations
88112

89113
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
94118

95119
For more information, see [Connect to a storage account using an Azure Private Endpoint](/azure/private-link/tutorial-private-endpoint-storage-portal).
96120

97-
### Exporting lab usage data
121+
### Export lab usage data
98122

99123
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.
100124

101125
For more information, see [Export or delete personal data from Azure DevTest Labs](personal-data-delete-export.md).
102126

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+
103131
## Next steps
104132

105133
- [Azure Resource Manager (ARM) templates in Azure DevTest Labs](devtest-lab-use-arm-and-powershell-for-lab-resources.md)

0 commit comments

Comments
 (0)