Skip to main content
Version: 4.1.0

aws_ec2_security_group

  • Categories: Access Control, Networking, Security
  • Service: ec2
  • Provider Link: EC2 Security Group

Description​

AWS EC2 Security Groups are virtual firewalls that control inbound and outbound traffic for EC2 instances. They act at the instance level, specifying which protocols, ports, and IP ranges can communicate with the associated instances. Security Groups operate on a deny-all-by-default principle, requiring explicit rules to permit traffic, and can be modified while instances are running.

Base Hierarchy​

Hierarchy of EC2 Security Group

Relationship to other Resources​

Diagram of EC2 Security Group resource relationships

Properties​

Diagram of EC2 Security Group data model