Search code examples
amazon-web-servicesamazon-ec2mirroringnetwork-interfacenetwork-security

Error: network interface must be attached to a supported instance - CreateTraffic Mirror Session


I am trying to create a mirroring session from one ec2 instance in a public subnet ( the mirroring source) to another instance in a private subnet ( the mirroring target)

When I tried to create the session and select the source network interface, I get an error that the selected network interface must be attached to a supported instance

The interface is a primary interface ant its attachment status is attached

I tried to create another interface and attache it manually then I used the interface for the mirroring session but I got the same error

the error message is " eni-X must be attached to a supported instance"


Solution

  • I solved it by changing the instance type to a nitro-based instance. see the following instance types

    enter link description here