在AWS上部署JS/Python/PostgreSQL应用
正如标题所说,我想使用AWS部署一个JS/Python/PostgreSQL应用程序。我觉得我可以弄清楚这3件的部署是单独的离散实体,但是我无法弄清楚/无法理解的是,这三件作品在生存后将如何交流。
该网站将是一个易于贩运的,只有我才能在DB中添加资源。此外,您将推荐哪些AWS服务托管每个部分?
谢谢。并且请让我知道我是否可以提供更多有用的信息。
I have, as title says, a JS/Python/PostgresQL app that I would like to deploy using AWS. I feel as though I could figure out deployment of the 3 pieces as separate, discrete entities, but what I haven't been able to figure out/understand, is how the 3 pieces will communicate once they are live.
The site will be a lightly trafficked one where only I can add resources to the db. Additionally, what AWS services would you recommend for hosting each part?
Thanks kindly. And please let me know if I can provide any more helpful info.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以看到的一项服务是AWS Lightsail,它可以旋转您的应用程序并连接到数据库,并旨在托管此类应用程序。
另一种方法是让您的Python应用程序使用API网关发送请求到AWS Lambda,并且Lambda执行您的SQL命令并返回数据。这是您可以探索的另一种服务的两种方式,即AWS会放大,也可以做同样的服务
One service that you can look at would be aws lightsail that can spin up your application and connect to your database and is designed for hosting such applications.
Another way would be to have your python app send request to an AWS lambda using api gateway and the lambda executes your SQL command and returns back the data. These are 2 ways one more service you can explore is AWS amplify that can do the same as well