|
| 1 | +--- |
| 2 | +title: Architecture |
| 3 | +titleSuffix: Azure AI Studio |
| 4 | +description: Learn about the architecture of Azure AI Studio. |
| 5 | +manager: scottpolly |
| 6 | +ms.service: azure-ai-studio |
| 7 | +ms.topic: conceptual |
| 8 | +ms.date: 02/06/2024 |
| 9 | +ms.reviewer: deeikele |
| 10 | +ms.author: larryfr |
| 11 | +author: Blackmist |
| 12 | +--- |
| 13 | + |
| 14 | +# Azure AI Studio architecture |
| 15 | + |
| 16 | +[!INCLUDE [Azure AI Studio preview](../includes/preview-ai-studio.md)] |
| 17 | + |
| 18 | +AI Studio provides a unified experience for AI developers and data scientists to build, evaluate, and deploy AI models through a web portal, SDK, or CLI. It's built on capabilities and services provided by other Azure services. |
| 19 | + |
| 20 | +The top level AI Studio resources (AI hub and AI projects) are based on Azure Machine Learning. Other resources, such as Azure OpenAI, Azure AI Services, and Azure AI Search, are used by the AI hub and AI project. |
| 21 | + |
| 22 | +- **AI hub**: The AI hub is the top-level resource in AI Studio. The Azure resource provider for an AI hub is `Microsoft.MachineLearningServices/workspaces`, and the kind of resource is `Hub`. It provides the following features: |
| 23 | + - Data upload and artifact storage. |
| 24 | + - Hub-scoped connections to Azure services such as Azure OpenAI, Azure AI Services, and Azure AI Search. |
| 25 | + - Base model endpoints for Azure OpenAI, Speech, and Vision. |
| 26 | + - Compute resources. |
| 27 | + - Security and governance. |
| 28 | +- **AI project**: An AI project is a child resource of the AI hub. The Azure resource provider for an AI project is `Microsoft.MachineLearningServices/workspaces`, and the kind of resource is `Project`. It inherits the AI hub's connections, and compute resources. When a new AI project is created from the AI hub, the security settings of the AI hub are applied to it. The AI project provides the following features: |
| 29 | + - Groups of components such as datasets, models, and indexes. |
| 30 | + - An isolated data container (within the storage inherited from the AI hub). |
| 31 | + - Project-scoped connections. For example, a project might need access to data stored in a separate Azure Storage account. |
| 32 | + - Open source model deployments from catalog and fine-tuned model endpoints. |
| 33 | + |
| 34 | +An AI hub can have multiple child AI projects. Each AI project can have its own set of project-scoped connections. |
| 35 | + |
| 36 | +:::image type="content" source="../media/concepts/azureai-hub-project-relationship.png" alt-text="Diagram of the relationship between AI Studio resources." lightbox="../media/concepts/azureai-hub-project-relationship.png"::: |
| 37 | + |
| 38 | +### Tenant separation |
| 39 | + |
| 40 | +While most of the resources used by Azure AI Studio live in your Azure subscription, some resources exist in the Azure AI Studio tenant. The Azure AI Studio tenant is a separate Microsoft Entra ID tenant that provides some of the services used by Azure AI Studio. The following resources are in the Azure AI Studio tenant: |
| 41 | + |
| 42 | +- **Managed compute resources**: Provided by Azure Batch resources in the Azure AI Studio tenant. |
| 43 | +- **Managed virtual network**: Provided by Azure Virtual Network resources in the Azure AI Studio tenant. If FQDN rules are enabled, an Azure Firewall (standard) is added and charged to your subscription. For more information, see [Configure a managed virtual network for Azure AI Studio](../how-to/configure-managed-network.md). |
| 44 | +- **Metadata storage**: Provided by Azure Cosmos DB, Azure AI Search, and Azure Storage Account in the Azure AI Studio tenant. If you use customer-managed keys, these resources are created in your subscription. For more information, see [Customer-managed keys](../../ai-services/encryption/cognitive-services-encryption-keys-portal.md?context=/azure/ai-studio/context/context). |
| 45 | + |
| 46 | +## Azure resource providers |
| 47 | + |
| 48 | +Since Azure AI Studio is built from other Azure services, the resource providers for these services must be registered in your Azure subscription. The following table lists the resource, provider, and resource provider kinds: |
| 49 | + |
| 50 | +[!INCLUDE [Resource provider kinds](../includes/resource-provider-kinds.md)] |
| 51 | + |
| 52 | +When you create a new Azure AI hub resource, a set of dependent Azure resources are required to store data, manage security, and provide compute resources. The following table lists the dependent Azure resources and their resource providers: |
| 53 | + |
| 54 | +> [!TIP] |
| 55 | +> If you don't provide a dependent resource when creating an AI hub, and it's a required dependency, AI Studio creates the resource for you. |
| 56 | +
|
| 57 | +[!INCLUDE [Dependent Azure resources](../includes/dependent-resources.md)] |
| 58 | + |
| 59 | +For information on registering resource providers, see [Register an Azure resource provider](/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider). |
| 60 | + |
| 61 | +## Role-based access control and control plane proxy |
| 62 | + |
| 63 | +Azure AI Services and Azure OpenAI provide control plane endpoints for operations such as listing model deployments. These endpoints are secured using a separate Azure role-based access control (RBAC) configuration than the one used for Azure AI hub. |
| 64 | + |
| 65 | +To reduce the complexity of Azure RBAC management, AI Studio provides a *control plane proxy* that allows you to perform operations on connected Azure AI Services and Azure OpenAI resources. Performing operations on these resources through the control plane proxy only requires Azure RBAC permissions on the AI hub. The Azure AI Studio service then performs the call to the Azure AI Services or Azure OpenAI control plane endpoint on your behalf. |
| 66 | + |
| 67 | +For more information, see [Role-based access control in Azure AI Studio](rbac-ai-studio.md). |
| 68 | + |
| 69 | +## Encryption |
| 70 | + |
| 71 | +Azure AI Studio uses encryption to protect data at rest and in transit. By default, Microsoft-managed keys are used for encryption, however you can use your own encryption keys. For more information, see [Customer-managed keys](../../ai-services/encryption/cognitive-services-encryption-keys-portal.md?context=/azure/ai-studio/context/context). |
| 72 | + |
| 73 | +## Virtual network |
| 74 | + |
| 75 | +Azure AI hub can be configured to use a *managed* virtual network. The managed virtual network secures communications between the AI hub, AI projects, and managed resources such as computes. If your dependency services (Azure Storage, Key Vault, and Container Registry) have public access disabled, a private endpoint for each dependency service is created to secure communication between the AI hub/project and the dependency service. |
| 76 | + |
| 77 | +> [!NOTE] |
| 78 | +> If you want to use a virtual network to secure communications between your clients and the AI hub or AI project, you must use an Azure Virtual Network that you create and manage. For example, an Azure Virtual Network that uses a VPN or ExpressRoute connection to your on-premises network. |
| 79 | +
|
| 80 | +For more information on how to configure a managed virtual network, see [Configure a managed virtual network for Azure AI Studio](../how-to/configure-managed-network.md). |
| 81 | + |
| 82 | +## Azure Monitor |
| 83 | + |
| 84 | +Azure monitor and Azure Log Analytics provide monitoring and logging for the underlying resources used by Azure AI Studio. Since Azure AI Studio is built on Azure Machine Learning, Azure OpenAI, Azure AI Services, and Azure AI Search, use the following articles to learn how to monitor the services: |
| 85 | + |
| 86 | +| Resource | Monitoring and logging | |
| 87 | +| --- | --- | |
| 88 | +| Azure AI hub and AI project | [Monitor Azure Machine Learning](/azure/machine-learning/monitor-azure-machine-learning) | |
| 89 | +| Azure OpenAI | [Monitor Azure OpenAI](/azure/ai-services/openai/how-to/monitoring) | |
| 90 | +| Azure AI Services | [Monitor Azure AI (training)](/training/modules/monitor-ai-services/) | |
| 91 | +| Azure AI Search | [Monitor Azure AI Search](/azure/search/monitor-azure-cognitive-search) | |
| 92 | + |
| 93 | +## Price and quota |
| 94 | + |
| 95 | +For more information on price and quota, use the following articles: |
| 96 | + |
| 97 | +- [Plan and manage costs](../how-to/costs-plan-manage.md) |
| 98 | +- [Commitment tier pricing](../how-to/commitment-tier.md) |
| 99 | +- [Quota management](../how-to/quota.md) |
| 100 | + |
| 101 | +## Next steps |
| 102 | + |
| 103 | +Create an AI hub using one of the following methods: |
| 104 | + |
| 105 | +- [Azure AI Studio](../how-to/create-azure-ai-resource.md#create-an-azure-ai-hub-resource-in-ai-studio): Create an AI hub for getting started. |
| 106 | +- [Azure portal](../how-to/create-azure-ai-resource.md#create-a-secure-azure-ai-hub-resource-in-the-azure-portal): Create an AI hub with your own networking, encryption, identity and access management, dependent resources, and resource tag settings. |
| 107 | +- [Bicep template](../how-to/create-azure-ai-hub-template.md). |
0 commit comments