|
| 1 | +--- |
| 2 | +title: Create a secure AI hub |
| 3 | +titleSuffix: Azure AI Studio |
| 4 | +description: Create an Azure AI hub inside a managed virtual network. The managed virtual network secures access to managed resources such as computes. |
| 5 | +ms.service: azure-ai-studio |
| 6 | +ms.reviewer: jhirono |
| 7 | +ms.author: larryfr |
| 8 | +author: Blackmist |
| 9 | +ms.date: 03/22/2024 |
| 10 | +ms.topic: how-to |
| 11 | +# Customer intent: As an administrator, I want to create a secure AI hub and project with a managed virtual network so that I can secure access to the AI hub and project resources. |
| 12 | +--- |
| 13 | + |
| 14 | +# How to create a secure AI hub and project with a managed virtual network |
| 15 | + |
| 16 | +[!INCLUDE [Azure AI Studio preview](../includes/preview-ai-studio.md)] |
| 17 | + |
| 18 | +You can secure your AI hub, AI projects, and managed resources in a managed virtual network. With a managed virtual network, inbound access is only allowed through a private endpoint for your AI hub resource. Outbound access can be configured to allow either all outbound access, or only allowed outbound that you specify. For more information, see [Managed virtual network](configure-managed-network.md). |
| 19 | + |
| 20 | +> [!IMPORTANT] |
| 21 | +> The managed virtual network doesn't provide inbound connectivity for your clients. For more information, see the [Connect to the AI hub](#connect-to-the-ai-hub) section. |
| 22 | +
|
| 23 | +## Prerequisites |
| 24 | + |
| 25 | +- An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free) before you begin. |
| 26 | +- An Azure Virtual Network that you use to securely connect to Azure services. For example, you might use [Azure Bastion](/azure/bastion/bastion-overview), [VPN Gateway](/azure/vpn-gateway/vpn-gateway-about-vpngateways) or [ExpressRoute](/azure/expressroute/expressroute-introduction) to connect to the Azure Virtual Network from your on-premises network. If you don't have an Azure Virtual Network, you can create one by following the instructions in [Create a virtual network](/azure/virtual-network/quick-create-portal). |
| 27 | + |
| 28 | +## Create an AI hub |
| 29 | + |
| 30 | +1. From the Azure portal, search for `Azure AI Studio` and create a new resource by selecting **+ New Azure AI**. |
| 31 | +1. Enter your AI hub name, subscription, resource group, and location details. |
| 32 | + |
| 33 | + :::image type="content" source="../media/how-to/network/ai-hub-basics.png" alt-text="Screenshot of the option to set Azure AI hub resource basic information." lightbox="../media/how-to/network/ai-hub-basics.png"::: |
| 34 | + |
| 35 | +1. Select **Next: Resources** to specify resources. Select an existing **Azure AI services** resource or create a new one. New Azure AI services include multiple API endpoints for Speech, Content Safety, and Azure OpenAI. You can also bring an existing Azure OpenAI resource. Optionally, choose an existing **Storage account**, **Key vault**, **Container Registry**, and **Application insights** to host artifacts generated when you use AI Studio. |
| 36 | + |
| 37 | + :::image type="content" source="../media/how-to/network/ai-hub-resources.png" alt-text="Screenshot of the Create an Azure AI hub resource with the option to set resource information." lightbox="../media/how-to/network/ai-hub-resources.png"::: |
| 38 | + |
| 39 | +1. Select **Next: Networking** to configure the managed virtual network that AI Studio uses to secure its AI hub and AI project resources. |
| 40 | + |
| 41 | + 1. Select **Private with Internet Outbound**, which allows compute resources to access the public internet for resources such as Python packages. |
| 42 | + |
| 43 | + :::image type="content" source="../media/how-to/network/ai-hub-networking.png" alt-text="Screenshot of the Create an Azure AI hub resource with the option to set network isolation information." lightbox="../media/how-to/network/ai-hub-networking.png"::: |
| 44 | + |
| 45 | + 1. To allow your clients to connect through your Azure Virtual Network to the AI hub, use the following steps to add a private endpoint. |
| 46 | + |
| 47 | + 1. Select **+ Add** from the **Workspace inbound access** section of the **Networking** tab. The **Create private endpoint** form is displayed. |
| 48 | + |
| 49 | + :::image type="content" source="../media/how-to/network/workspace-inbound-access.png" alt-text="Screenshot of the workspace inbound access section." lightbox="../media/how-to/network/workspace-inbound-access.png"::: |
| 50 | + |
| 51 | + 1. Enter a unique value in the **Name** field. Select the **Virtual network** (Azure Virtual Network) that your clients connect to. Select the **Subnet** that the private endpoint connects to. |
| 52 | + |
| 53 | + :::image type="content" source="../media/how-to/network/ai-hub-create-private-endpoint.png" alt-text="Screenshot of the create private endpoint form." lightbox="../media/how-to/network/ai-hub-create-private-endpoint.png"::: |
| 54 | + |
| 55 | + 1. Select **Ok** to save the endpoint configuration. |
| 56 | + |
| 57 | +1. Select **Review + create**, then **Create** to create the AI hub. Once the AI hub has been created, any AI projects or compute instances created from the AI hub inherit the network configuration. |
| 58 | + |
| 59 | +## Connect to the AI hub |
| 60 | + |
| 61 | +The managed virtual network doesn't directly provide access to your clients. Instead, your clients connect to an Azure Virtual Network that *you* manage. There are multiple methods that you might use to connect clients to the Azure Virtual Network. The following table lists the common ways that clients connect to an Azure Virtual Network: |
| 62 | + |
| 63 | +| Method | Description | |
| 64 | +| ----- | ----- | |
| 65 | +| [Azure VPN gateway](/azure/vpn-gateway/vpn-gateway-about-vpngateways) | Connects on-premises networks to an Azure Virtual Network over a private connection. Connection is made over the public internet. | |
| 66 | +| [ExpressRoute](https://azure.microsoft.com/services/expressroute/) | Connects on-premises networks into the cloud over a private connection. Connection is made using a connectivity provider. | |
| 67 | +| [Azure Bastion](/azure/bastion/bastion-overview) | Connects to a virtual machine inside the Azure Virtual Network using your web browser. | |
| 68 | + |
| 69 | +## Next steps |
| 70 | + |
| 71 | +- [Create a project](create-projects.md) |
| 72 | +- [Learn more about Azure AI Studio](../what-is-ai-studio.md) |
| 73 | +- [Learn more about Azure AI hub resources](../concepts/ai-resources.md) |
0 commit comments