Identify and delete any unused Elastic Network Interfaces (ENIs) in order to adhere to AWS cloud best practices and to avoid reaching the service limit. An Elastic Network Interface is considered unused when it is not attached anymore to an AWS resource such as an EC2 instance.
This rule can help you with the following compliance standards:
- NIST4
For further details on compliance standards supported by Conformity, see here.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
efficiency
To follow best practices, unused (detached) Amazon Elastic Network Interfaces (ENIs) should be removed from your AWS account because keeping a lot of unused ENIs can exhaust the resource limit.
Audit
To identify any unused Elastic Network Interfaces available within your AWS cloud account, perform the following operations:
Remediation / Resolution
To remove any unused Elastic Network Interfaces (ENIs) from your AWS cloud account, perform the following operations:
Note: The remediation actions are not currently supported by AWS CloudFormation.References
- AWS Documentation
- What is Amazon EC2
- Elastic Network Interfaces
- AWS Service Quotas
- AWS Command Line Interface (CLI) Documentation
- ec2
- describe-network-interfaces
- delete-network-interface
- CloudFormation Documentation
- Amazon EC2 resource type reference
- Terraform Documentation
- AWS Provider
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Unused Elastic Network Interfaces
Risk Level: Low