|
1 | 1 | # Resource Deployment
|
2 | 2 |
|
3 |
| -This folder contains a PowerShell script that can be used to provision the Azure resources required to build your Cognitive Search solution. You may skip this folder if you prefer to provision your Azure resources via the Azure Portal. The PowerShell script will provision the following resources to your Azure subscription: |
| 3 | +There are two options for deploying the resources to Azure for this solution accelerator: |
4 | 4 |
|
5 |
| - |
6 |
| -| Resource | Usage | |
7 |
| -|-----------------------|-------------------------------------------------------------------------------------------| |
8 |
| -| [Azure Search Service](https://azure.microsoft.com/en-us/services/search/) | The hosting service for the Search Index, Cognitive Skillset, and Search Indexer | |
9 |
| -| [Azure Cognitive Services](https://docs.microsoft.com/en-us/azure/search/cognitive-search-attach-cognitive-services) | Used by the Cognitive Skills pipeline to process unstructured data | |
10 |
| -|[Azure Storage Account](https://azure.microsoft.com/en-us/services/storage/?v=18.24) | Data source where raw files are stored | |
11 |
| -| [Web App](https://azure.microsoft.com/en-us/services/app-service/web/) | The hosting service for the Search UI | |
12 |
| -| [Application Insights](https://azure.microsoft.com/en-us/services/monitor/) | *OPTIONAL* - Telemetry monitoring service for the Search UI | |
| 5 | +1. **Using a PowerShell Script**: `deploy.ps1` |
13 | 6 |
|
| 7 | + This script is the fastest way to get your solution up and running and will perform the following actions: |
14 | 8 |
|
15 |
| -By default, this PowerShell script will provision a Basic Search service for your solution. See [Azure Search Pricing](https://azure.microsoft.com/en-us/pricing/details/search/) for information on sizing limits, scaling limits and pricing and choose your desired tier. |
| 9 | + 1. Provision the required Azure resources |
| 10 | + 2. Upload sample data to your storage account |
| 11 | + 3. Create a search index |
| 12 | + 4. Print out the values and keys needed for the web app's *appsettings.json* |
16 | 13 |
|
17 |
| -Depending on your custom skill development needs, additional Azure resources may be required. See the README in the [03 - Data Science & Custom Skills](../03%20-%20Data%20Science%20and%20Custom%20Skills/README.md) folder for additional information. |
| 14 | + If you choose to run this script, you can skip the Search Index Creation in the next folder. |
| 15 | + |
| 16 | +2. **Using an ARM Template**: `azuredeploy.json` |
| 17 | + |
| 18 | + To deploy this ARM Template, simply press the button below: |
| 19 | + |
| 20 | + > Please note that this will only deploy the resources. You'll then need to create a search index in the next step. |
| 21 | +
|
| 22 | + <a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fazure-search-knowledge-mining%2Fmaster%2Fazuredeploy.json" target="_blank"> |
| 23 | + <img src="http://azuredeploy.net/deploybutton.png"/> |
| 24 | + </a> |
18 | 25 |
|
19 | 26 | ## Prerequisites
|
20 |
| -1. Access to an Azure Subscription |
21 | 27 |
|
22 |
| -## Deploy via Azure Portal |
23 |
| -As an alternative to running the PowerShell script, you can deploy the resources manually via the Azure Portal or click the button below to deploy the resources: |
| 28 | +1. Access to an Azure Subscription |
24 | 29 |
|
25 |
| -<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fazure-search-knowledge-mining%2Fmaster%2Fazuredeploy.json" target="_blank"> |
26 |
| - <img src="http://azuredeploy.net/deploybutton.png"/> |
27 |
| -</a> |
| 30 | +## Running the PowerShell Script |
28 | 31 |
|
29 |
| -## Steps for Resource Deployment via PowerShell |
| 32 | +> If you're new to PowerShell, you can follow the instructions on [How to run PowerShell script file on Windows 10](https://www.windowscentral.com/how-create-and-run-your-first-powershell-script-file-windows-10) to help you get started. |
30 | 33 |
|
31 | 34 | To run the [PowerShell script](./deploy.ps1):
|
32 | 35 |
|
33 |
| -1. Modify the parameters at the top of **deploy.ps1** to configure the names of your resources and other settings. |
34 |
| -2. Run the [PowerShell script](./deploy.ps1). If you have PowerShell opened to this folder run the command: |
35 |
| -`./deploy.ps1` |
36 |
| -3. You will then be prompted to login and provide additional information. |
| 36 | +1. Open PowerShell and navigate to this folder. |
| 37 | +2. Run the following command: |
37 | 38 |
|
38 |
| -### *Notes* |
| 39 | + ```cmd |
| 40 | + ./deploy.ps1 |
| 41 | + ``` |
39 | 42 |
|
40 |
| -We recommend building an initial prototype solution leveraging a representative subset of data to estimate the size of your final search index. When you are ready to build your final solution, you will want to size and provision your resources to meet your estimated scale and performance needs. |
| 43 | +3. After running the script, you'll be prompted to login and provide additional information. |
41 | 44 |
|
42 |
| -Please see [Azure Service Limits](https://docs.microsoft.com/en-us/azure/search/search-limits-quotas-capacity) for additional information and best practices on sizing. |
| 45 | +## Resources Deployed |
| 46 | +
|
| 47 | +The PowerShell script will provision the following resources to your Azure subscription: |
| 48 | +
|
| 49 | +| Resource | Usage | |
| 50 | +|-----------------------|-------------------------------------------------------------------------------------------| |
| 51 | +| [Azure Search Service](https://azure.microsoft.com/en-us/services/search/) | The hosting service for the Search Index, Cognitive Skillset, and Search Indexer | |
| 52 | +| [Azure Cognitive Services](https://docs.microsoft.com/en-us/azure/search/cognitive-search-attach-cognitive-services) | Used by the Cognitive Skills pipeline to process unstructured data | |
| 53 | +|[Azure Storage Account](https://azure.microsoft.com/en-us/services/storage/?v=18.24) | Data source where raw files are stored | |
| 54 | +| [Web App](https://azure.microsoft.com/en-us/services/app-service/web/) | The hosting service for the Search UI | |
| 55 | +| [Application Insights](https://azure.microsoft.com/en-us/services/monitor/) | Telemetry monitoring service for the Search UI (*Optional*) | |
| 56 | +
|
| 57 | +By default, this PowerShell script will provision a Basic Search service for your solution. See [Azure Search Pricing](https://azure.microsoft.com/en-us/pricing/details/search/) for information on sizing limits, scaling limits and pricing and choose your desired tier. |
| 58 | +
|
| 59 | +Depending on your custom skill development needs, additional Azure resources may be required. See the README in the [03 - Data Science & Custom Skills](../03%20-%20Data%20Science%20and%20Custom%20Skills/README.md) folder for additional information. |
| 60 | +
|
| 61 | +## Notes |
| 62 | +
|
| 63 | +We recommend building an initial prototype solution leveraging a representative subset of data to estimate the size of your final search index. When you are ready to build your final solution, you will want to size and provision your resources to meet your estimated scale and performance needs. |
43 | 64 |
|
| 65 | +Please see [Azure Service Limits](https://docs.microsoft.com/en-us/azure/search/search-limits-quotas-capacity) for additional information and best practices on sizing. |
0 commit comments