Skip to content

Commit 272ba2f

Browse files
Merge pull request #209746 from RoseHJM/dev-box-networking
How to manage Dev Box network connections
2 parents 01262b7 + 3d819a9 commit 272ba2f

14 files changed

+174
-0
lines changed
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
---
2+
title: How to manage network connections
3+
titleSuffix: Microsoft Dev Box
4+
description: This article describes how to create, delete, attach and remove Microsoft Dev Box network connections.
5+
services: dev-box
6+
ms.service: dev-box
7+
author: RoseHJM
8+
ms.author: rosemalcolm
9+
ms.date: 04/15/2022
10+
ms.topic: how-to
11+
---
12+
13+
<!-- Intent: As a dev infrastructure manager, I want to be able to manage network connections so that I can enable dev boxes to connect to my existing networks and deploy them in the desired region. -->
14+
# Manage network connections
15+
Network connections allow dev boxes to connect to existing virtual networks, and determine the region into which dev boxes are deployed.
16+
17+
When planning network connectivity for your dev boxes, you must:
18+
- Ensure you have sufficient permissions to create and configure network connections.
19+
- Ensure you have at least one virtual network (VNet) and subnet available for your dev boxes.
20+
- Identify the region or location closest to your dev boxes users. Deploying dev boxes into a region close to the users provides them with a better experience.
21+
- Determine whether dev boxes should connect to your existing networks using an Azure Active Directory (Azure AD) join, or a Hybrid Azure AD join.
22+
## Permissions
23+
To manage a network connection, you need the following permissions:
24+
25+
|Action|Permission required|
26+
|-----|-----|
27+
|Create and configure VNet and subnet|Network Contributor permissions on an existing virtual network (owner or contributor) or permission to create a new virtual network and subnet.|
28+
|Create or delete network connection|Owner or Contributor permissions on an Azure Subscription or a specific resource group.|
29+
|Add or remove network connection |Write permission on the dev center.|
30+
31+
## Create a virtual network and subnet
32+
To create a network connection, you need an existing VNet and subnet. If you don't have a VNet and subnet available, use the following steps to create them:
33+
34+
1. Sign in to the [Azure portal](https://portal.azure.com).
35+
36+
1. In the search box, enter *Virtual Network*, and then select **Virtual Network** from the search results.
37+
38+
1. On the Virtual Network page, select **Create**.
39+
40+
1. On the Create virtual network page, enter or select this information on the **Basics** tab:
41+
42+
| Setting | Value |
43+
| ------- | ----- |
44+
| Subscription | Select your subscription. |
45+
| Resource group | Select an existing resource group, or to create a new one: </br> Select **Create new**. </br> Enter *rg-name*. </br> Select **OK**. |
46+
| Name | Enter *VNet-name*. |
47+
| Region | Select the region for the VNet and dev boxes. |
48+
49+
:::image type="content" source="./media/how-to-manage-network-connection/example-basics-tab.png" alt-text="Screenshot of creating a virtual network in Azure portal." border="true":::
50+
51+
> [!Important]
52+
> The region you select for the VNet is the where the dev boxes will be deployed.
53+
54+
1. On the **IP Addresses** tab, accept the default settings.
55+
56+
1. On the **Security** tab, accept the default settings.
57+
58+
1. On the **Review + create** tab review the settings.
59+
60+
1. Select **Create**.
61+
62+
63+
## Allow access to Dev Box endpoints from your network
64+
Network ingress and egress can be controlled using a firewall, network security groups, and even Microsoft Defender.
65+
66+
If your organization routes egress traffic through a firewall, you need to open certain ports to allow the Dev Box service to function. For more information, see [Network requirements](/windows-365/enterprise/requirements-network).
67+
68+
## Plan a network connection
69+
The following steps show you how to create and configure a network connection in Microsoft Dev Box.
70+
### Types of Azure Active Directory Join
71+
The Dev Box service requires a configured and working Azure AD join or Hybrid AD join, which defines how dev boxes join your domain and access resources.
72+
73+
If your organization uses Azure AD, you can use an Azure AD join, sometimes called a native Azure AD join. Dev box users sign into Azure AD joined dev boxes using their Azure AD account and access resources based on the permissions assigned to that account. Azure AD join enables access to cloud-based and on-premises apps and resources.
74+
75+
If your organization has an on-premises Active Directory implementation, you can still benefit from some of the functionality provided by Azure AD by using hybrid Azure AD joined dev boxes. These dev boxes are joined to your on-premises Active Directory and registered with Azure Active Directory. Hybrid Azure AD joined dev boxes require network line of sight to your on-premises domain controllers periodically. Without this connection, devices become unusable.
76+
77+
You can learn more about each type of join and how to plan for them here:
78+
- [Plan your hybrid Azure Active Directory join deployment](/azure/active-directory/devices/hybrid-azuread-join-plan)
79+
- [Plan your Azure Active Directory join deployment](/azure/active-directory/devices/azureadjoin-plan)
80+
81+
### Create a network connection
82+
1. Sign in to the [Azure portal](https://portal.azure.com).
83+
84+
1. In the search box, type *Network connections* and then select **Network connections** from the list.
85+
86+
1. On the **Network Connections** page, select **+Create**.
87+
:::image type="content" source="./media/how-to-manage-network-connection/network-connections-empty.png" alt-text="Screenshot showing the Network Connections page with Create highlighted.":::
88+
89+
1. Follow the steps on the appropriate tab to create your network connection.
90+
#### [**Azure AD join**](#tab/AzureADJoin/)
91+
92+
On the **Create a network connection** page, on the **Basics** tab, enter the following values:
93+
94+
|Name|Value|
95+
|----|----|
96+
|**Domain join type**|Select **Azure active directory join**.|
97+
|**Subscription**|Select the subscription in which you want to create the network connection.|
98+
|**Resource group**|Select an existing resource group or select **Create new**, and enter a name for the resource group.|
99+
|**Name**|Enter a descriptive name for your network connection.|
100+
|**Virtual network**|Select the virtual network you want the network connection to use.|
101+
|**Subnet**|Select the subnet you want the network connection to use.|
102+
103+
:::image type="content" source="./media/how-to-manage-network-connection/create-native-network-connection-full-blank.png" alt-text="Screenshot showing the create network connection basics tab with Azure Active Directory join highlighted.":::
104+
105+
#### [**Hybrid Azure AD join**](#tab/HybridAzureADJoin/)
106+
107+
On the **Create a network connection** page, on the **Basics** tab, enter the following values:
108+
109+
|Name|Value|
110+
|----|----|
111+
|**Domain join type**|Select **Hybrid Azure active directory join**.|
112+
|**Subscription**|Select the subscription in which you want to create the network connection.|
113+
|**Resource group**|Select an existing resource group or select **Create new**, and enter a name for the resource group.|
114+
|**Name**|Enter a descriptive name for your network connection.|
115+
|**Virtual network**|Select the virtual network you want the network connection to use.|
116+
|**Subnet**|Select the subnet you want the network connection to use.|
117+
|**AD DNS domain name**| The DNS name of the Active Directory domain that you want to use for connecting and provisioning Cloud PCs. For example, corp.contoso.com. |
118+
|**Organizational unit**| An organizational unit (OU) is a container within an Active Directory domain, which can hold users, groups, and computers. |
119+
|**AD username UPN**| The username, in user principal name (UPN) format, that you want to use for connecting the Cloud PCs to your Active Directory domain. For example, [email protected]. This service account must have permission to join computers to the domain and, if set, the target OU. |
120+
|**AD domain password**| The password for the user specified above. |
121+
122+
:::image type="content" source="./media/how-to-manage-network-connection/create-hybrid-network-connection-full-blank.png" alt-text="Screenshot showing the create network connection basics tab with Hybrid Azure Active Directory join highlighted.":::
123+
124+
---
125+
126+
Use the following steps to finish creating your network connection, for both Azure AD join and Hybrid Azure AD join:
127+
1. Select **Review + Create**.
128+
129+
1. On the **Review** tab, select **Create**.
130+
131+
1. When the deployment is complete, select **Go to resource**. You'll see the Network Connection overview page.
132+
133+
134+
## Attach network connection to dev center
135+
You need to attach a network connection to a dev center before it can be used in projects to create dev box pools.
136+
137+
1. In the [Azure portal](https://portal.azure.com), in the search box, type *Dev centers* and then select **Dev centers** from the list.
138+
139+
1. Select the dev center you created and select **Networking**.
140+
141+
1. Select **+ Add**.
142+
143+
1. In the **Add network connection** pane, select the network connection you created earlier, and then select **Add**.
144+
145+
:::image type="content" source="./media/how-to-manage-network-connection/add-network-connection.png" alt-text="Screenshot showing the Add network connection pane.":::
146+
147+
After creation, several health checks are run on the network. You can view the status of the checks on the resource overview page. Network connections that pass all the health checks can be added to a dev center and used in the creation of dev box pools. The dev boxes within the dev box pools will be created and domain joined in the location of the VNet assigned to the network connection.
148+
149+
:::image type="content" source="./media/how-to-manage-network-connection/network-connection-grid-populated.png" alt-text="Screenshot showing the status of a network connection.":::
150+
151+
To resolve any errors, refer to the [Troubleshoot Azure network connections](/windows-365/enterprise/troubleshoot-azure-network-connection).
152+
153+
154+
## Remove a network connection from a dev center
155+
You can remove a network connection from a dev center if you no longer want it to be used to connect to network resources. Network connections can't be removed if they are in use by one or more dev box pools.
156+
157+
1. In the [Azure portal](https://portal.azure.com), in the search box, type *Dev centers* and then select **Dev centers** from the list.
158+
159+
1. Select the dev center you created and select **Networking**.
160+
161+
1. Select the network connection you want to remove and then select **Remove**.
162+
163+
:::image type="content" source="./media/how-to-manage-network-connection/remove-network-connection.png" alt-text="Screenshot showing the network connection page with Remove highlighted.":::
164+
165+
1. Read the warning message, and then select **Ok**.
166+
167+
The network connection will no longer be available for use in the dev center.
168+
169+
## Next steps
170+
171+
<!-- [Manage a dev center](./how-to-manage-dev-center.md) -->
172+
- [Quickstart: Configure a Microsoft Dev Box Project](./quickstart-configure-dev-box-project.md)
53.3 KB
Loading
56 KB
Loading
192 KB
Loading
8.49 KB
Loading
60.5 KB
Loading
45.7 KB
Loading
507 KB
Loading
30.2 KB
Loading
30.6 KB
Loading

0 commit comments

Comments
 (0)