Deployment
September 8, 2023 ยท View on GitHub
Deployment choices
The following table summarizes the deployment choices available for the solution:
| Deployment type | Description | When to use |
|---|---|---|
| Cloud Shell | Use Azure Cloud Shell to deploy the solution to your Azure subscription. | Best suited for quick deployment. All you need is an Azure subscription and a browser. |
| Azure VM | Use an Azure VM to deploy the solution to your Azure subscription. | Best suited for situations where you need the flexibility of a full development environment (e.g. to customize the solution) but you don't have a local development environment available. |
| Standard | Use your local development environment to deploy the solution to your Azure subscription. | Best suited for situations where you need the flexibility of a full development environment (e.g. to customize the solution) and you have a local development environment available. |
Select the links in the table above to learn more about each deployment choice.
NOTE: The Cloud Shell deployment type requires additional setup steps. If you are involved in managing the infrastructure that enables cloud shell deployments for your team, see Prepare Cloud Shell Setup for more information.
NOTE: The Azure VM deployment type requires additional setup steps. If you are involved in managing the infrastructure that enables Azure VM deployments for your team, see Prepare Azure VM Setup for more information.
Deployment validation
Use the steps below to validate that the solution was deployed successfully.
Once the deployment script completes, the Application Insights traces query should display the following sequence of events:

Next, you should be able to see multiple entries referring to the vectorization of the data that was imported into Cosmos DB:

Finally, you should be able to see the Cognitive Search index being populated with the vectorized data:

NOTE:
It takes several minutes until all imported data is vectorized and indexed.
Monitoring with Application Insights
Use the steps below to monitor the solution with Application Insights:
-
Navigate to the
Application Insightsresource that was created as part of the deployment. -
Select the
Logssection and create a new query with the following statement. Change the "Time range" setting on top tool bar to reflect the required time range. Click theRunbutton to execute the query:traces | order by timestamp desc
-
Select the
Exportbutton to explort the results the query. -
In the query, replace
traceswithrequestsorexceptionsto view the corresponding telemetry.