How to Deploy Bot Service to Azure

In this section we will look how to deploy a Bot Service to Azure. if you haven’t gone through the article ‘How to create a Bot Service then please go through that first. I am using the same example that we have created Stock Bot in this section.

Deploy StockBot to Azure

To deploy your Bot, the first step is to create a Production endpoint in the .bot file.

Open the StockBot.Bot file and copy the highlighted development settings and paste to add an entry for production.

image001

The updated file will look like the below.

image002

To Publish, right click on the Project file and choose Publish option

image003

This will open the below window. Click on Start button.

image004

Now select the Publish target

image005

  • Enter a unique AppName eg: StockBotAppService
  • Choose your Subscription
  • Create a Resource Group to keep all related resources of Stock Bot together. Eg: StockBotResourceGeoup
  • Choose a Hosting Plan with ‘S1’ later you can change if necessary

 Next click on Create.

image006

Now if you login to your Azure account you can see the stockbot resource group has been created.

image007

If you expand the stockbotresourcegroup you can see the resources under it

image008

Next, Publish your artifacts to the resources in the Azure. Click on Publish button

image009

What’s next? Next we will see how to integrate the Stock Bot service to Web site and Skype.

image010

Advertisements

Technical Lead for Microsoft Technologies especially in Azure, ASP.Net and in Angular JS.

Posted in Azure

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s