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
@@ -808,12 +808,9 @@ To enable the [serverless Spark jobs](how-to-submit-spark-jobs.md) for the manag
808
808
809
809
## Manually provision a managed VNet
810
810
811
-
The managed VNet is automatically provisioned when you create a compute resource. When you rely on automatic provisioning, it can take around __30 minutes__ to create the first compute resource as it is also provisioning the network. If you configured FQDN outbound rules (only available with allow only approved mode), the first FQDN rule adds around __10 minutes__ to the provisioning time.
811
+
The managed VNet is automatically provisioned when you create a compute resource. When you rely on automatic provisioning, it can take around __30 minutes__ to create the first compute resource as it is also provisioning the network. If you configured FQDN outbound rules (only available with allow only approved mode), the first FQDN rule adds around __10 minutes__ to the provisioning time. If you have a large set of outbound rules to be provisioned in the managed network, it can take longer for provisioning to complete. The increased provisioning time can cause your first compute creation, or your first managed online endpoint deployment, to time out.
812
812
813
-
To reduce the wait time when someone attempts to create the first compute, you can manually provision the managed VNet after creating the workspace without creating a compute resource:
814
-
815
-
> [!NOTE]
816
-
> If your workspace is already configured for a public endpoint (for example, with an Azure Virtual Network), and has [public network access enabled](how-to-configure-private-link.md#enable-public-access), you must disable it before provisioning the managed VNet. If you don't disable public network access when provisioning the managed VNet, the private endpoints for the managed endpoint may not be created successfully.
813
+
To reduce the wait time and avoid potential timeout errors, we recommend manually provisioning the managed network. Then wait until the provisioning completes before you create a compute resource or managed online endpoint deployment.
817
814
818
815
# [Azure CLI](#tab/azure-cli)
819
816
@@ -826,6 +823,12 @@ The following example shows how to provision a managed VNet.
826
823
az ml workspace provision-network -g my_resource_group -n my_workspace_name
827
824
```
828
825
826
+
To verify that the provisioning has completed, use the following command:
827
+
828
+
```azurecli
829
+
az ml workspace show -n my_workspace_name -g my_resource_group --query managed_network
830
+
```
831
+
829
832
# [Python SDK](#tab/python)
830
833
831
834
The following example shows how to provision a managed VNet:
To verify that the workspace has been provisioned, use `ml_client.workspaces.get()` to get the workspace information. The `managed_network` property contains the status of the managed network.
847
+
848
+
```python
849
+
ws = ml_client.workspaces.get()
850
+
print(ws.managed_network.status)
851
+
```
852
+
843
853
# [Azure portal](#tab/portal)
844
854
845
855
Use the __Azure CLI__ or __Python SDK__ tabs to learn how to manually provision the managed VNet with serverless Spark support.
0 commit comments