What is the purpose of security groups in Amazon EC2?

Answer

To control inbound and outbound network traffic

Explanation

Security groups act as virtual firewalls for EC2 instances. They define allowed inbound and outbound traffic rules. They do not encrypt data or store secrets, and patching is handled by other tools like Systems Manager.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list