A SysOps Administrator has configured an Amazon VPC Traffic Mirroring session to send traffic from an Amazon EC2 instance (source) to an appliance instance (target) for deep packet inspection. The administrator notices that the target appliance is not receiving any mirrored packets. Which of the following configuration issues could cause this problem? (Select TWO.)
- The security group associated with the traffic mirror target network interface does not allow inbound traffic on UDP port 4789.Answer
- The Network ACL of the subnet where the traffic mirror target resides does not allow inbound traffic on UDP port 4789.Answer
- CThe IAM policy attached to the SysOps Administrator's role lacks the iam:PassRole permission for the traffic mirror target's service role.
- DThe Amazon CloudWatch Logs log group associated with the mirror target has a log retention period that has expired, preventing log creation.
- EThe Network ACL rules for the traffic mirror source subnet block outbound ephemeral port traffic (1024-65535) needed to send VXLAN packets.
Answer
The target network interface's security group and target subnet's Network ACL must allow inbound UDP port 4789 traffic.
VPC Traffic Mirroring copies network packets from a source ENI and routes them to a target ENI or Network Load Balancer using VXLAN encapsulation, which uses UDP port 4789. Because the target instance must receive these encapsulated packets, its stateful security group must permit inbound UDP port 4789. In addition, since Network ACLs are stateless, the NACL associated with the target subnet must also explicitly allow inbound traffic on UDP port 4789.
Step-by-Step Solution
Key Concept
VPC Traffic Mirroring relies on VXLAN encapsulation on UDP port 4789, requiring both target security groups and Network ACLs to permit this inbound traffic.