Courses / AWS
25. Security Group
A stateful virtual firewall attached to EC2/network interfaces that controls inbound and outbound traffic by rules.
AWS (cloud infrastructure)
Security Group
A stateful virtual firewall that controls inbound and outbound traffic for EC2 instances and network interfaces.
"I only want specific ports and IPs to reach my server, and block everything else by default."
A Security Group is a set of allow rules attached to EC2 instances or ENIs; it is stateful, so return traffic is automatically allowed. It defines which inbound and outbound connections are permitted based on protocol, port, and source/destination.
"I only want specific ports and IPs to reach my server, and block everything else by default."
A Security Group is a set of allow rules attached to EC2 instances or ENIs; it is stateful, so return traffic is automatically allowed. It defines which inbound and outbound connections are permitted based on protocol, port, and source/destination.