Skip to content

Latest commit

 

History

History

00 - Resource Deployment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Resource Deployment

There are two options for deploying the resources to Azure for this solution accelerator:

  1. Using a PowerShell Script: deploy.ps1

    This script is the fastest way to get your solution up and running and deploy the solution end to end:

    1. Provision the required Azure resources
    2. Upload sample data to your storage account
    3. Create a search index
    4. Deploy Web App
  2. Using an ARM Template: azuredeploy.json

    To deploy this ARM Template, simply press the button below:

    Please note that this will only deploy the resources. You'll then need to create a search index in the next step.

Deploy to Azure

Prerequisites

  1. Access to an Azure Subscription

  2. If you're running the PowerShell script, you'll also need to install the Az PowerShell Module

  3. Powershell script deploys web application which requires specific nuget packages. Make sure that you have the required nuget packages before you run the script.

Running the PowerShell Script

If you're new to PowerShell, you can follow the instructions on How to run PowerShell script file on Windows 10 to help you get started. Make sure that uniqueName and resourceGroupName does not have any special characters.

To run the PowerShell script:

  1. Open PowerShell and navigate to this folder.

    cd "00 - Resource Deployment"
  2. Run the following command:

    ./deploy.ps1
  3. After running the script, you'll be prompted to login and provide additional information.

Resources Deployed

The PowerShell script will provision the following resources to your Azure subscription:

Resource Usage
Azure Search Service The hosting service for the Search Index, Cognitive Skillset, and Search Indexer
Azure Cognitive Services Used by the Cognitive Skills pipeline to process unstructured data
Azure Storage Account Data source where raw files are stored
Web App The hosting service for the Search UI
Application Insights Telemetry monitoring service for the Search UI (Optional)

By default, this PowerShell script will provision a Basic Search service for your solution. See Azure Search Pricing for information on sizing limits, scaling limits and pricing and choose your desired tier.

Depending on your custom skill development needs, additional Azure resources may be required. See Custom Web API skill in an Azure Cognitive Search for additional information.

Notes

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.

Please see Azure Service Limits for additional information and best practices on sizing.