Reputation: 3190
My goal is simple:
Allow any instance inside a VPC to connect to a specific security group.
The field for allowed sources suggests: "CIDR, IP or Security group".
Is there a way for me to specify a VPC?
The reason beeing that I have multiple instances inside a VPC with different security groups but all need access to the security group I am creating.
Upvotes: 2
Views: 2381
Reputation:
Set the Inbound route to the required CIDR group. The Outbound will automatically be set as per AWS VPC design.
Upvotes: 0
Reputation: 52433
What you are asking is the primary functionality of a security group. For example, if the CIDR of the VPC you want to allow is 10.4.0.0/16
,
Upvotes: 2
Reputation: 201048
Your VPC has a CIDR group range, so just specify the CIDR group that is being used by your VPC and it will allow access from anything in the VPC.
Upvotes: 5