购买时编写 EC2 实例启动脚本

发布于 2025-01-14 20:22:51 字数 132 浏览 2 评论 0原文

在客户从我的网站购买产品后,我需要编写启动 EC2 实例并将 Docker 容器部署到该实例的脚本。我知道这是可能的,但它需要我将我的 AWS 凭证存储在我的服务器的环境变量中。有没有安全的方法来建立这样的系统?

任何意见都会受到赞赏。

I need to script launching an EC2 instance and deploying Docker containers to said instance after a customer purchases a product from my site. I know that this is possible, but that it would require me to store my AWS credentials in the environment variables of my server. Are there any secure methods of establishing such a system?

Any input is appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文