Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bot Framework without Azure possible?

If i'm building a bot with the Microsoft Bot Framework, do i need to deploy my bot to Azure in order to register my bot HERE in order to configure the channels for the bot? Or can i simply deploy my bot to a normal (for example) IIS Server?

I couldnt find any information on this toppic and i dont want to use Azure.

like image 602
Reaper Avatar asked Nov 30 '16 12:11

Reaper


People also ask

Is Microsoft bot framework free?

The Azure Bot Service has now been Generally Available, which means they're providing a paid service with incurring subscription cost. The free tier, as you mentioned above, is capped at 10000 msgs/month. The previous Preview (or Beta) did provide the channels for free although they don't guarantee the SLA.

How does Microsoft bot framework work?

It hosts bots and makes them available to channels, such as Microsoft Teams, Facebook, or Slack. The Bot Framework Service, which is a component of the Azure Bot Service, sends information between the user's bot-connected app and the bot. Each channel can include additional information in the activities they send.


1 Answers

Yes, it should be possible to run your bot on IIS or in any other hosting service (including cloud hostings besides Azure) as explained here. You will have to make sure that your bot has an internet-accessible endpoint and a valid HTTPS cert.

Regarding the requirements for the HTTPS cert, I'm copying the info for this thread for your reference:

The Bot Framework requires that the x.509v3 certificate exposed by your endpoint be current and valid. Most of the checks for "current and valid" are standard checks for server certs: the CN must match the hostname, it must not be expired, it must not be listed in a CRL, it must have the correct set of EKUs, etc.

Most importantly, your cert must chain to a root certificate authority trusted by Microsoft. The latest list of these CAs is available here.

Also, you can register your bot and even enable the channels without deploying to Azure or any other hosting. You can temporarily use ngrok to create a secure tunnel to your localhost environment and test the bot in your email channel before exposing it to other users. BTW, you don't need to Publish your bot in the BotFramework portal, just register it. Publishing is just for those bots that would like to appear in the Bot Directory.

like image 170
Ezequiel Jadib Avatar answered Oct 05 '22 13:10

Ezequiel Jadib