Prepare Azure VM Setup
September 8, 2023 ยท View on GitHub
Before users in your team can deploy the solution using Azure VM, you need to perform the following steps:
-
Create an Azure Storage account in the target subscription.
-
Create a publicly accessible container named
vmscriptsin the Azure Storage account created in step 1. -
Clone the repository:
git clone https://github.com/AzureCosmosDB/VectorSearchAiAssistant.git -
Switch to the
cognitive-search-vectorbranch:cd VectorSearchAiAssistant git checkout cognitive-search-vector -
Upload the
VMScriptExtension.ps1script from thescriptsfolder to thevmscriptscontainer created in step 2. This script is used by the Azure VM deployment script to install the required software on the VM. -
Open the
vmdeploy.jsonfile from thearmfolder with the text editor of your choice. In line 219, update the value of thefileUrisproperty to point to theVMScriptExtension.ps1script uploaded in step 5. -
Save the changes to the
vmdeployscript, commit them to thecognitive-search-vectorbranch, and push the changes to the remote repository.git commit -m "Updated VM extensions script for Azure VM deployment" git push