What is aws security group?
A security group acts as a virtual firewall that controls the traffic for one or more instances.
You can create one or more security groups.
If you don’t specify a security group, Amazon EC2 uses the default security group.