在AWS上部署JS/Python/PostgreSQL应用

发布于 2025-02-09 13:23:15 字数 194 浏览 1 评论 0原文

正如标题所说,我想使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

帅的被狗咬 2025-02-16 13:23:15

您可以看到的一项服务是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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文