Reputation: 30896
I have an Amazon Beanstalk Load Balancer setup which adds / removes ec2 servers as needed. The security group for this load balancer is called prod-sc
.
I also have an Amazon EC2 instance using security group elasticsearch-sc
.
Now I need elasticsearch-sc
to allow port 9200 to be accessed from prod-sc
However everytime I try to configure this in the elasticsearch-sc
by providing the prod-sc
Group ID, I get an error saying
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.
How can I give prod-sc
access to elasticsearch-sc
?
Upvotes: 3
Views: 2464
Reputation: 18918
Can you try creating elasticsearch-sc
as a VPC security group?
Read the guide for more details.
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
http://docs.aws.amazon.com/cli/latest/reference/ec2/create-security-group.html
Upvotes: 2