A gaming company is deploying multiplayer session backends on Amazon Elastic Compute Cloud (Amazon EC2) instances. The system requires temporary outbound ports to be opened dynamically to send traffic back to clients. The security team wants to ensure that any outbound response traffic for established inbound connections is allowed automatically without needing to define explicit outbound rules. Additionally, these rules must apply directly at the instance level. Which AWS network security feature should the company use to meet these requirements?
- ANetwork Access Control Lists (Network ACLs)
- BAWS Shield
- Security GroupsAnswer
- DAmazon Inspector
Answer
Security Groups
Security groups act as stateful firewalls for EC2 instances, operating at the virtual interface level. Because they are stateful, any allowed inbound traffic automatically permits the corresponding outbound response traffic, regardless of any outbound security group rules.
Step-by-Step Solution
Key Concept
Stateful instance-level security versus stateless subnet-level security in VPCs
Estimated Time:1m 15s