Introduction
Security groups control network traffic to and from resources in the cloud. Their stateful nature means responses to allowed inbound traffic are automatically allowed outbound, simplifying network rules.
When you want to allow web traffic to a server and automatically allow the server to respond without extra rules.
When you need to secure a database instance but allow clients to connect and receive responses.
When you want to simplify firewall rules by not having to specify both inbound and outbound rules for the same connection.
When you want to control traffic to your cloud resources without managing complex rule sets.
When you want to ensure return traffic is allowed only if the original request was permitted.