See more
i.e. Security group is the firewall of EC2 Instances whereas Network ACL Is the firewall of the Subnet.
Security groups are tied to an instance whereas Network ACLs are tied to the subnet. i.e. Network Access control lists are applicable at the subnet level, so any instance in the subne…