How do I configure and attach a security group to my Elastic Load Balancing load balancer?

If you’re using a Classic Load Balancer, you can associate a security group with it by following the instructions for Managing Security Groups Using the Console or Managing Security Groups Using the AWS CLI.

If you’re using an Application Load Balancer, associate a security group with it by using the Amazon EC2 console or AWS CLI by following these instructions: Security Groups for Your Application Load Balancer.

If you need to create a new security group, follow the instructions for Creating a Security Group.

Note: If you delete the security groups associated with a load balancer, those load balancers might not be able to receive traffic. Be sure you associate at least one security group with each 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: 2017-06-26