简体   繁体   English

Amazon Chime 能否在第三方 VPS 上部署和运行? 如何?

[英]Can Amazon Chime be deployed and run on a third-party VPS? And how?

In the examples of Amazon Chime, for instance here https://github.com/aws-samples/amazon-chime-sdk-classroom-demo , they imply that it should be deployed and run on a AWS server via Cloud9.在 Amazon Chime 的示例中,例如这里https://github.com/aws-samples/amazon-chime-sdk-classroom-demo ,它们暗示它应该通过 Cloud9 在 AWS 服务器上部署和运行。 However, I want to deploy and run it on some other VPS such as a digitalocean or linode server.但是,我想在其他一些 VPS(例如 digitalocean 或 linode 服务器)上部署和运行它。

The main question: can that be done at all, it is supported?主要问题:这完全可以做到吗,是否受支持?

If yes, how?如果是,如何? General pointers.一般指针。 Which example should I use and where is it described at all?我应该使用哪个示例以及它在哪里描述?

Eventually what I want is this:最终我想要的是这样的:

Say, I have a teaching website that I run on digital ocean or linode.比如说,我有一个在数字海洋或 linode 上运行的教学网站。 Not on AWS.不是在 AWS 上。 I want to be able to use Amazon Chime in a way that my users will go to my website and connect to a video class from my website as well我希望能够以我的用户访问我的网站并从我的网站连接到视频课程的方式使用 Amazon Chime

Resources would be deployed in AWS.资源将部署在 AWS 中。 No way around it.没办法。

Deployment script can be run from your own laptop, Cloud9 and/or any other Linux server.部署脚本可以从您自己的笔记本电脑、Cloud9 和/或任何其他 Linux 服务器运行。 You just need to be able to run git clone and script/deploy.js .你只需要能够运行git clonescript/deploy.js

You'll also need to make that environment is configured with appropriate AWS credentials.您还需要使用适当的 AWS 凭证配置该环境。 Cloud9 would have these credentials out of the box. Cloud9 将拥有这些开箱即用的凭据。 For any other environment (your laptop/Digital Ocean VM etc.) would need to get AWS Account Ket/Secret pair and use aws config to enable them.对于任何其他环境(您的笔记本电脑/Digital Ocean VM 等),都需要获取 AWS Account Ket/Secret 对并使用aws config来启用它们。

The Chime service would need run on AWS, but you can have a link to the Chime service endpoint from any website hosted anywhere else. Chime 服务需要在 AWS 上运行,但您可以从托管在其他任何地方的任何网站获得指向 Chime 服务端点的链接。

To use the Amazon Chime web application, your students would sign in to https://app.chime.aws/ from your web browser.要使用 Amazon Chime Web 应用程序,您的学生需要从您的 Web 浏览器登录https://app.chime.aws/ You would have that link on your website.你会在你的网站上有那个链接。

See https://docs.aws.amazon.com/chime/latest/ug/chime-web-app.html请参阅https://docs.aws.amazon.com/chime/latest/ug/chime-web-app.html

Note about the demo.关于演示的注意事项。 The demo shows how to use the Amazon Chime SDK to build an online classroom in Electron and React.该演示展示了如何使用 Amazon Chime SDK 在 Electron 和 React 中构建在线课堂。 If you are are using that deployment method you can host the React app anywhere under a private domain on any host.如果您正在使用这种部署方法,您可以在任何主机上的私有域下的任何位置托管 React 应用程序。 That app will run any where, while connecting back to the AWS service endpoint.该应用程序将在任何地方运行,同时连接回 AWS 服务端点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM