动态更新部署的EC2安全组
我有许多在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论