A security group is an AWS virtual firewall for controlling inbound and outbound traffic to network resources. During an Elastic Beanstalk deployment, AWS creates one for the EC2 instances running the application. section 12.3.6
Deployment firewall
When deploying a Streamlit application with Elastic Beanstalk, the service configures a load balancer, creates EC2 instances, and sets up a security group so traffic can reach the running application. section 12.3.6


