One or more security groups in the launch configuration are not linked to the VPCs configured in the Auto Scaling group解决方案

AWS使用中,创建 Auto Scaling 组的时候遇到了报错:“One or more security groups in the launch configuration are not linked to the VPCs configured in the Auto Scaling group”。
提示很明确,说安全组未对应到的VPC,但是其实创建 Auto Scaling 组是找不到安全组设定的。

出现这个问题,解决方案很简单,你回到Auto Scaling下的启动配置,修改正确启动配置里对应的VPC的安全组(由于都是混着的,所以自己按VPC的id核对)。然后用正确对应VPC的启动配置,创建 Auto Scaling 组。当然,创建 Auto Scaling 组里的VPC也要和启动配置里的VPC对应。

至此,问题就解决了。


未经允许不得转载:阿藏博客 » One or more security groups in the launch configuration are not linked to the VPCs configured in the Auto Scaling group解决方案