How do I configure and attach a security group to my Elastic Load Balancing load balancer?
If you're using a Classic Load Balancer, follow the instructions at Manage Security Groups Using the Console or Manage Security Groups Using the AWS CLI.
If you're using an Application Load Balancer, follow the instructions at Security Groups for Your Application Load Balancer.
If you're using a Network Load Balancer, update the security groups for your target instances, because Network Load Balancers do not have associated security groups.
- If your target type is an IP, add a rule to your security group to allow traffic from your load balancer to the target IP.
- If your target type is an instance, add a rule to your security group to allow traffic from your load balancer and clients to the target IP.
Note: Be sure that you associate at least one security group with each Classic or Application Load Balancer, and that the security group allows connections between the load balancer and associated backend instances.
Did this page help you? Yes | No
Back to the AWS Support Knowledge Center
Need help? Visit the AWS Support Center
Published: 2016-10-14
Updated: 2018-07-24