You are designing a Zero Trust architecture in AWS. You need to implement micro-segmentation for a set of EC2 instances running a web application. Which AWS feature provides the most granular control over traffic flow between specific instances within the same VPC subnet?
Security Groups are stateful, instance-level virtual firewalls whose rules reference other security groups, enabling allow-list control between specific EC2 instances rather than whole subnets. This delivers the granular micro-segmentation the scenario demands within a single VPC subnet.
Why this answer
Security Groups are stateful and provide instance-level (interface-level) filtering, making them the appropriate tool for micro-segmentation within a subnet.