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/cloud-shell/private-vnet.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,18 @@ As in standard Cloud Shell, a storage account is required while using Cloud Shel
64
64
65
65
*[Azure Relay](https://docs.microsoft.com/azure/azure-relay/relay-what-is-it) is not a free service, please view their [pricing](https://azure.microsoft.com/pricing/details/service-bus/). In the Cloud Shell scenario, one hybrid connection is used for each administrator while they are using Cloud Shell. The connection will automatically be shut down after the Cloud Shell session is complete.
66
66
67
+
## Register resource provider
68
+
The Microsoft.ContainerInstances resource provider needs to be registered in the subscription which holds the virtual network you want to use. Select the appropriate subscription with `Set-AzContext -Subscription {subscriptionName}` then
If the RegistrationState is `Registered` no action is required. If it is `NotRegistered`, run `Register-AzResourceProvider -ProviderNamespace Microsoft.ContainerInstance`.
67
79
68
80
## Deploy network resources
69
81
@@ -79,7 +91,7 @@ In the Azure portal, or using Azure CLI, Azure PowerShell, etc. create a resourc
79
91
Utilize the [Azure Quickstart Template](https://aka.ms/cloudshell/docs/vnet/template) for creating Cloud Shell resources in a virtual network, and the [Azure Quickstart Template](https://aka.ms/cloudshell/docs/vnet/template/storage) for creating necessary storage. Take note of your resource names, primarily your file share name.
80
92
81
93
### Open relay firewall
82
-
Navigate to the relay created using the above template, select "Networking" in settings, allow access from your browser network to the relay.
94
+
Navigate to the relay created using the above template, select "Networking" in settings, allow access from your browser network to the relay. By default the relay is only accessible from the virtual network it has been created in.
83
95
84
96
### Configuring Cloud Shell to use a virtual network.
85
97
> [!NOTE]
@@ -95,6 +107,5 @@ Connect to Cloud Shell, you will be prompted with the first run experience. Sele
95
107
96
108

97
109
98
-
99
110
## Next steps
100
111
[Learn about Azure Virtual Networks](https://docs.microsoft.com/azure/virtual-network/virtual-networks-overview)
0 commit comments