Control traffic to your AWS resources using security groups - Amazon Virtual Private Cloud

Security groups act as virtual firewalls, controlling inbound and outbound traffic for associated VPC resources like EC2 instances. Customize security group rules to allow/deny traffic based on source, destination, port, and protocol.