- Azure Subscription
- Subscription access to Azure OpenAI service. Start here to Request Access to Azure OpenAI Service
- .NET 8 SDK
- Docker Desktop
- Azure CLI (v2.51.0 or greater)
- Helm 3.11.1 or greater (for AKS deployment)
- Visual Studio 2022 (only needed if you plan to run/debug the solution locally)
NOTE: Installation requires the choice of an Azure Region. Make sure to set region you select which is used in the
<location>value below supports Azure OpenAI services. See Azure OpenAI service regions for more information.
Follow the steps below to deploy the solution to your Azure subscription.
-
Ensure all the prerequisites are installed.
-
Clone the repository:
git clone https://github.com/Azure/BuildYourOwnCopilot.git
-
Switch to the
mainbranch:cd BuildYourOwnCopilot git checkout main -
Run the following script to provision the infrastructure and deploy the API and frontend. This will provision all of the required infrastructure, deploy the API and web app services into your choice of Azure Kubeternetes Service or Azure Container Apps, and import data into Azure Cosmos DB.
This script will deploy all services including a new Azure OpenAI account and AKS
cd ./infra/aks azd up
You will be prompted for the target subscription, location, and desired environment name. The target resource group will be
rg-followed by the environment name (i.e.rg-my-aks-deploy)
This script will deploy all services including a new Azure OpenAI account using Azure Container Apps. (This can be a good option for users not familiar with AKS)
```pwsh
cd ./infra/aca
azd up
```
You will be prompted for the target subscription, location, and desired environment name. The target resource group will be `rg-` followed by the environment name (i.e. `rg-my-aca-deploy`)