I have 2 security groups A1 and A2. There are some Ec2 instances belonging to A1 or A2 (not both).
Question: Only the EC2 instances belonging to A1 should be able to access instances belonging to A2.
i.e If I try to logon from my desktop machine (which is not on AWS) I should not be able to connect in anyway to machine on group A2.
Is it possible to create such a rule in AWS security group (for A2) as an inbound rule?
Thanks