You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Unable to connect to Azure AI Search service, which indicates either a network issue or a misconfiguration. You have AZURE_USE_PRIVATE_ENDPOINT enabled. Perhaps you're not yet connected to the VPN? Download the VPN configuration from the Azure portal here: %s",
398
+
os.getenv("AZURE_VPN_CONFIG_DOWNLOAD_LINK"),
399
+
)
400
+
else:
401
+
logger.error(
402
+
"Unable to connect to Azure AI Search service, which indicates either a network issue or a misconfiguration."
Copy file name to clipboardExpand all lines: docs/deploy_private.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Deploying with public access disabled adds additional cost to your deployment. P
46
46
47
47
## Recommended deployment strategy for private access
48
48
49
-
1.Deploy the app with private endpoints enabled, public network access disabled, and a VPN gateway configured. This will allow you to connect to the chat app from inside the virtual network.
49
+
1.Configure the azd environment variables to use private endpoints and a VPN gateway, with public network access disabled. This will allow you to connect to the chat app from inside the virtual network, but not from the public Internet.
50
50
51
51
```shell
52
52
azd env set AZURE_USE_PRIVATE_ENDPOINT true
@@ -55,19 +55,19 @@ Deploying with public access disabled adds additional cost to your deployment. P
55
55
azd up
56
56
```
57
57
58
-
2. First provision all the resources:
58
+
2. Provision all the Azure resources:
59
59
60
60
```bash
61
61
azd provision
62
62
```
63
63
64
-
3. Once provisioning is complete, run this commandto get the VPN configuration download link:
64
+
3. Once provisioning is complete, you will see an error when it tries to run the data ingestion script, because you are not yet connected to the VPN. That message should provide a URL forthe VPN configuration file download. If you don't see that URL, run this command:
65
65
66
66
```bash
67
67
azd env get-value AZURE_VPN_CONFIG_DOWNLOAD_LINK
68
68
```
69
69
70
-
Select "Download VPN client" to download a ZIP file containing the VPN configuration.
70
+
Open that link in your browser. Select "Download VPN client" to download a ZIP file containing the VPN configuration.
71
71
72
72
4. Open `AzureVPN/azurevpnconfig.xml`, and replace the `<clientconfig>` empty tag with the following:
73
73
@@ -79,17 +79,19 @@ Deploying with public access disabled adds additional cost to your deployment. P
79
79
</clientconfig>
80
80
```
81
81
82
-
5. Open the "Azure VPN" client and select"Import" button. Select the `azurevpnconfig.xml` file you just downloaded and modified.
82
+
5. Install the [Azure VPN Client](https://learn.microsoft.com/azure/vpn-gateway/vpn-gateway-howto-vpn-client-install).
83
83
84
-
6. Select "Connect"and the new VPN connection. You will be prompted to selectyour Microsoft account and login.
84
+
6. Open the "Azure VPN" client and select "Import" button. Select the `azurevpnconfig.xml` file you just downloaded and modified.
85
85
86
-
7. Once you're successfully connected to VPN, you can run the data ingestion script:
86
+
7. Select "Connect" and the new VPN connection. You will be prompted to select your Microsoft account and login.
87
+
88
+
8. Once you're successfully connected to VPN, you can run the data ingestion script:
0 commit comments