jamesmcroft / azure-ai-workspace-bicep

QuickStart Bicep templates for deploying a new Azure AI workspace environment for the Azure AI Studio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure AI Workspace Bicep Templates for Azure AI Studio

This repository contains the necessary Bicep templates to spin up an Azure AI Workspace in the new Azure AI Studio.

The new Azure AI Workspace brings together all the features of Azure OpenAI Service, Azure Machine Learning, and other Azure Cognitive Services into a single place. The advantages of the Azure AI Workspace include:

Note: The Azure AI Studio is currently in public preview. This preview is provided without a service-level agreement, and is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

Getting Started

To deploy the Azure AI Workspace, you will need to:

Prerequisites

Deploy the Azure AI Workspace

The main.bicep template contains all the necessary modules to deploy a complete Azure AI Workspace including:

Configure the deployment parameters

The main.bicepparam file contains all the necessary parameters to deploy a complete Azure AI Workspace including:

  • workloadName, used as the suffix for the resource group name, and generate unique names for each deployed resource.
  • location, used to specify the Azure region to deploy the Azure AI Workspace.
  • newOrExisting, used to specify whether the deployment is new or existing. This must be set to existing after deployment as the Workspace Endpoints cannot be modified using Bicep after deployment and will fail otherwise.
  • includeCognitiveSearch, used to specify whether to include Azure AI Search in the deployment for indexing data.

Using PowerShell & Azure CLI

To deploy the Azure AI Workspace using PowerShell and the Azure CLI:

  1. Clone this repository.
  2. Open a PowerShell terminal at the infra folder.
  3. Login to Azure using the Azure CLI and get a subscription ID.
az login
$subscriptionId = ((az account list -o json --query "[?isDefault]") | ConvertFrom-Json).id
az account set --subscription $subscriptionId
  1. Deploy the main.bicep template using the Azure CLI.
az deployment sub create --name 'ai-workspace' --location westeurope --template-file ./main.bicep --parameters ./main.bicepparam

About

QuickStart Bicep templates for deploying a new Azure AI workspace environment for the Azure AI Studio.

License:MIT License


Languages

Language:Bicep 100.0%