我有一个 Amazon Beanstalk负载均衡器设置,可根据需要添加/删除ec2服务器。此负载均衡器的安全组称为prod-sc
。
我还有一个使用安全组elasticsearch-sc
的 Amazon EC2 实例。
现在我需要elasticsearch-sc
才能从prod-sc
但是,每当我尝试通过提供elasticsearch-sc
组ID在prod-sc
中进行配置时,我都会收到错误消息
Could not update your security group rules (No changes were made): You may not define rules between a VPC group and a non-VPC group.
如何授予prod-sc
elasticsearch-sc
访问权限?{/ p>
答案 0 :(得分:2)
您可以尝试创建elasticsearch-sc
作为VPC安全组吗?
阅读指南了解更多详情。
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
http://docs.aws.amazon.com/cli/latest/reference/ec2/create-security-group.html