user391986
user391986

Reputation: 30896

Allow EC2 Security Group access from Beanstalk Security Group

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.


enter image description here

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.


enter image description here

How can I give prod-sc access to elasticsearch-sc?

Upvotes: 3

Views: 2464

Answers (1)

Rohit Banga
Rohit Banga

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

Related Questions