Security Group
Pronunciationsih-KYOOR-ih-tee GROOP
Definition
A security group is a cloud firewall attached to an instance or service, with allow rules for inbound and outbound traffic. Anything not allowed is blocked.
Where you hear it
In AWS, GCP and Azure console setup, Terraform files and "why can't my app reach the database?" debugging.
Examples
The database security group only allows port 5432 from the app's group.
Security groups are stateful, so replies are allowed automatically.
The security group allows port 443 from anywhere and port 22 only from the office.
Common mistake
Using 0.0.0.0/0 as the source for admin or database ports. That exposes them to the entire internet.
Don't confuse with
A network ACL, a stateless rule list that applies to a whole subnet instead of one instance.
Say it at work
- In a meeting or chat
Which security group is attached?
- In an email or ticket
Reference the app's group instead of an IP range.
Keep exploring
More in DevOps & Cloud