botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

On premise Microsoft bot setup

Open dhirajgupta1 opened this issue 10 years ago • 13 comments

Hello,

Our client is concerned about data and don't want anything on cloud, is it possible to deploy all components of Microsoft bot on premise? I understand bot service can be deployed on premise (Correct me if i am wrong) but whats about

  1. Bot Connector
  2. LUIS (This is something we can still use on cloud by avoiding sensitive data)

Thanks, Dhiraj

dhirajgupta1 avatar Nov 28 '16 06:11 dhirajgupta1

+1 to Bot Connector

dchumpitaz avatar Dec 05 '16 07:12 dchumpitaz

Any comment from MS guys about this?

This is a really big concern for us as well., banks specially don't like it.

In fact, if this isn't possible, we might have to switch to another framework.

cesarvarela avatar Dec 16 '16 04:12 cesarvarela

Hi @cesarvarela, @dhirajgupta1, and @dchumpitaz, currently the bot must have an internet-accessible endpoint for it to work with Bot Connector servers, such as servers for Skype, Microsoft Teams, etc. You can deploy your bot in an on-premise installation as long as its endpoint can be addressed from the internet.

The Bot Builder libraries do not fundamentally rely on internet access, although some features do use internet services. LUIS, for example, is only available on the internet, so you would need to rely on a different technique for classifying text (such as regex intents/dialogs, which are supported but which offer different features than LUIS). Additionally, the service-to-service auth used to verify the authenticity of Bot Framework calls also requires internet access.

So if you replace those parts (Bot Connector, LUIS, auth) you can operate your bot completely offline.

At the moment we're focusing on the online versions of all three. It's not impossible that we would offer offline versions, but right now we don't have concrete plans.

dandriscoll avatar Dec 21 '16 17:12 dandriscoll

@dandriscoll - Agreed that its best that bot be deployed in Azure and many of our clients are comfortable with that. One client wants an on-prem deployment for the Bot, but is okay to use LUIS. We are currently exploring using the code from the emulator and web-chat to build a "chat box" interface that can be deployed on-premise and will call our bot's end point directly without going though Bot Framework Cloud Service. Essentially the server where the bot will be hosted will have access to the internet. But the server itself will not be available on the internet. I would really appreciate your thoughts and comments about this approach.

Thank you! ~abhishan

abhishan avatar Dec 22 '16 11:12 abhishan

Yeah, customers understand that NLP has to be an external service. The issue is with the bot connector which is what @abhishan is referring to.

Open sourcing the bot connector would be awesome, otherwise, instructions on how to build one would help too.

cesarvarela avatar Dec 22 '16 11:12 cesarvarela

I don't have specific guidance at this point, except to say that as an open platform, you can pick/choose which pieces to how to compose them together.

dandriscoll avatar Dec 26 '16 19:12 dandriscoll

Closing as it appears we've addressed the question, and that calling a non-internet-connected endpoint is a valid request but not supported at this time. Feel free to at-mention or open a new issue if you'd like to discuss further.

dandriscoll avatar Jan 28 '17 11:01 dandriscoll

Any updates on this ? Any chance in the roadmap? Same request for another customer.

mbettan avatar Sep 21 '17 14:09 mbettan

No change to the current architecture.

dandriscoll avatar Sep 21 '17 14:09 dandriscoll

Do you know if we can have Bot Emulator on-prem working with Skype as temporary solution?

mbettan avatar Sep 21 '17 15:09 mbettan

You would need to disable your bot's security and the emulator's security for that. If you do, it may work on-prem.

dandriscoll avatar Sep 21 '17 15:09 dandriscoll

GDPR will be an issue. Are the connector service servers all located in the US? Or, if I am hosting my web app bot in UK azure, will it connect to a UK bot connector service?

ghost avatar Oct 13 '17 12:10 ghost

I am a big fan of Microsoft for so many years.. Since cloud origin, Microsoft started putting hard restrictions. I am very unhappy. Its high time to move to open source.

ugk1234 avatar Aug 22 '20 14:08 ugk1234