EC2 Network Interface
An EC2 Network Interface is a networking component in Amazon EC2 (Elastic Compute Cloud) that represents a virtual network card. It is an essential part of AWS infrastructure services, allowing instances to communicate with each other, the internet, or on-premises resources. Network interfaces can have a variety of attributes such as private IP addresses, Elastic IPs, security groups, and more. For more detailed information, you can refer to the official AWS documentation.
Terraform Mappings:
aws_network_interface.id
Supported Methods​
GET
: Get a network interface by IDLIST
: List all network interfacesSEARCH
: Search network interfaces by ARN
Possible Links​
ec2-instance
​
EC2 Network Interfaces are attached to EC2 Instances, enabling them to communicate with other networked resources. Each instance can be associated with multiple network interfaces depending on its requirements and configurations.
ec2-security-group
​
EC2 Network Interfaces can be associated with EC2 Security Groups that define the inbound and outbound rules for network traffic, enhancing the security and access control of the resources connected through the network interface.
ip
​
IP addresses are associated with EC2 Network Interfaces, allowing them to route traffic to and from instances. This includes private IP addresses within a VPC or public IP addresses for internet communication.
dns
​
DNS settings can be associated with EC2 Network Interfaces to resolve domain names to the corresponding IP addresses, facilitating the easy management and connection of resources within AWS infrastructure.
ec2-subnet
​
EC2 Network Interfaces are deployed within EC2 Subnets, which provide a segment of a VPC's IP address range that can be used to organize and isolate resources based on their networking needs.
ec2-vpc
​
EC2 Network Interfaces reside within an EC2 VPC (Virtual Private Cloud), allowing instances to leverage AWS's robust networking infrastructure for private, scalable, and secure cloud resources.