在Elastic Beanstalk中禁用自动安全组命名 [英] Disable automatic security group naming in Elastic Beanstalk
问题描述
在创建新环境时,Beanstalk倾向于使用随机且非常大的字符串(例如"awseb-e-nhmvcuvtjh-stack-AWSEBSecurityGroup-1R8CUK434DLPG")来污染我们的安全组命名约定,此后将无法更改.
When creating new environments, Beanstalk tends to pollute our security groups naming convention with random and extremely large strings like "awseb-e-nhmvcuvtjh-stack-AWSEBSecurityGroup-1R8CUK434DLPG" that cannot be changed after.
到目前为止,我们找不到在创建过程中传递自定义名称的解决方案.有办法吗?
So far we couldn't find a solution for passing custom names during the creation process. Is there a way?
推荐答案
按照CargoMeister的建议,您可以创建自己想要使用的安全组,然后通过传递SecurityGroup选项(文档)) .这样,您将不会获得名称丑陋的默认安全组.
As CargoMeister suggested, you can create your own Security Group you'd like to use, then tell Elastic Beanstalk to use it by passing the SecurityGroup option (Documentation). That way, you won't get the default security group with the ugly name.
这篇关于在Elastic Beanstalk中禁用自动安全组命名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!