动态更新部署的EC2安全组

发布于 2025-01-30 11:33:06 字数 217 浏览 2 评论 0原文

我有许多在Elastic Beanstalk上运行的节点API。

我们正在使用Ebextensions文件夹中的.config文件配置负载平衡器和许多其他内容。

当运行EB创建并将API推到弹性beanstalk并启动时,可以从新创建的安全组中获取保密ID,然后将其添加到已经存在的另一个安全组上的入站规则中。

希望能够将其全部脚本进行,因此当我们终止和创建时,将重新创建规则。

I have a number of node apis that run on elastic beanstalk.

We are configuring the load balancer and a number of other things using .config files in the ebextensions folder.

Is it possible to get the secruity id from the newly created security group when eb create is run and the api is pushed to elastic beanstalk and started then add it to an inbound rule on another security group that already exists.

Would like to be able to have it all scripted so when we terminate and re create the rules will be re created.

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

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

发布评论

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