Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 2.26 KB

File metadata and controls

54 lines (37 loc) · 2.26 KB

Deployment - Standard

Prerequisites

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.

Deployment steps

Follow the steps below to deploy the solution to your Azure subscription.

  1. Ensure all the prerequisites are installed.

  2. Clone the repository:

    git clone https://github.com/Azure/BuildYourOwnCopilot.git
  3. Switch to the main branch:

    cd BuildYourOwnCopilot
    git checkout main
  4. 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.

    Deploy with Azure Kubernetes Service

    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)

Deploy with Azure Container Apps

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`)