Security Group Configuration Examples
Servers on the same subnet
How to configure security groups to restrict traffic sharing for cloud servers on the same private subnet
Servers behind a load balancer
How to configure a security group to accept traffic from a load balancer on servers in the target group