Skip to content

Commit b58fc65

Browse files
Update virtual-networks.md
adding steps to match steps in readme https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/infrastructure-setup/15-private-network-standard-agent-setup/README.md without the second step, agents are not using caphost
1 parent 2a91c44 commit b58fc65

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

articles/ai-services/agents/how-to/virtual-networks.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,29 @@ For customers without an existing virtual network, the Standard Setup with Priva
104104
```console
105105
az deployment group create --resource-group {my_resource_group} --template-file main-create.bicep
106106
```
107+
108+
1. Run the CheckCapabilityHostReadiness.ps1 and edit the command to add your subscription ID, resource group name, and your newly deployed AI Services account resource name.
109+
```
110+
.\CheckCapabilityHostReadiness.ps1 -subscriptionId "<your-sub-id>" -resourcegroup "<new-rg-name>" -accountname "<your-aiservices-name>"
111+
```
112+
If you do not want to run the Powershell script, you can run a bash script instead, from the file CheckCapabilityHostReadiness.sh. Run the following two commands:
113+
```
114+
chmod +x CheckCapabilityHostReadiness.sh
115+
./CheckCapabilityHostReadiness.sh "<your-sub-id>" "<new-rg-name>" "<your-aiservices-name>"
116+
```
117+
1. Deploy the main-project-caphost-create.bicep
118+
```
119+
az deployment group create --resource-group <new-rg-name> --template-file main-project-caphost-create.bicep
120+
```
121+
After running this script, you are required to input the following values:
122+
```
123+
Please provide string value for 'accountName' (? for help): <your-account-name>
124+
Please provide string value for 'projectName' (? for help): <your-project-name>
125+
Please provide string value for 'aiSearchName' (? for help): <your-search-name>
126+
Please provide string value for 'azureStorageName' (? for help): <your-storage-name>
127+
Please provide string value for 'cosmosDBName' (? for help): <your-cosmosdb-name>
128+
```
129+
107130
For more details, see the [README](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/15-private-network-standard-agent-setup).
108131
109132
## Deep Dive Standard Setup with Private Networking Template

0 commit comments

Comments
 (0)