AWS Config Rule: EC2 Instance Multiple ENI Check
EC2_INSTANCE_MULTIPLE_ENI_CHECK
Eduardo Van Cauteren
Last Update hace 6 meses
Description: Checks if Amazon Elastic Compute Cloud (Amazon EC2) uses multiple Elastic Network Interfaces (ENIs) or Elastic Fabric Adapters (EFAs). The rule is NON_COMPLIANT an Amazon EC2 instance use multiple network interfaces.
Trigger type: Configuration changes
AWS Region: All supported AWS regions
How to Resolve Manually
This config rules checks whether an EC2 instance have more than one elastic network interface (ENI) or a fabric adapter (EFA) attached. The instance will be marked as non-compliant if more than one interface is associated to it.
In order to solve this, you need to head on over EC2 service within the AWS console and look for the instance that is not in compliance. Click on its name to access the properties page and check under the Networking tab how many network interfaces are attached to it.
To remove an interface, click on the Actions dropdown menu located in the upper right corner and then click on Networking > Detach network interface. Choose the desired interface and finally click on Detach button.
Check the following screenshot as a visual reference:
Check our how it works section with easy to follow videos or just create your own StackZone Account here