如何将使用 Microsoft Bot Composer 创建的机器人部署到 AWS?

How do I deploy bot created with Microsoft Bot Composer to AWS?

我玩过 Microsoft Bot Composer 并检查了可扩展性点,但似乎无法将机器人部署到其他云。

请确认我的假设。

我的目标是尽可能在没有额外开发的情况下实现部署。

Deploying a Composer bot 比部署普通的 Bot Framework 机器人要复杂一些,因为 Composer 机器人不会以可部署状态存储在任何地方。 Composer 必须将您的特定 Composer 项目文件与集中式 Composer 运行时捆绑在一起,才能创建可部署的程序包。

但是,Composer 确实提供了一种将您的 Composer 项目转换为可以像任何 Web 应用程序一样部署的普通机器人项目的方法。这称为导出(或弹出)运行时。您可以了解如何做到这一点 here.

To export your bot runtime:

  1. Navigate to the Project Settings page of your Composer and find the Custom runtime section.

  2. From the Custom runtime section, toggle Use custom runtime then select Get a new copy of the runtime code.

  3. In the pop-up window select C# and select Okay. A copy of your bot's runtime will be added to the bot's project folder and can be accessed in the following directory: C:\Users\UserName\Documents\Composer\bot\runtime.