An Elastic Network Interface (ENI) is a logical networking component within a Virtual Private Cloud (VPC) in AWS, representing a virtual network card. ENIs can be attached to EC2 instances, providing them with various networking capabilities.
Here's an overview of ENIs and their key features:
Attributes:
Primary Private IPv4 Address: Assigned from the IPv4 address range of your VPC.
Secondary Private IPv4 Addresses: Additional IPv4 addresses within the VPC's address range.
Elastic IP Address (IPv4): One Elastic IP address per private IPv4 address.
Public IPv4 Address: Optionally assigned.
IPv6 Addresses: Optionally assigned.
Security Groups: Controls inbound and outbound traffic.