In AWS, what is the purpose of a security group?

Answer

To control inbound and outbound traffic for EC2 instances

Explanation

Security groups act as virtual firewalls for EC2 instances, controlling inbound and outbound traffic rules. They are stateful, meaning return traffic is allowed automatically when inbound requests are permitted. They do not encrypt data, store objects, or handle database backup scheduling.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list