From the course: Amazon EC2 Essential Training

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Elastic network interface

Elastic network interface

- [Instructor] Now let's talk about Elastic network interfaces. An Elastic network interface is a logical networking component that represents a virtual network card. When we use a physical computer, it has a physical network card that provides network connectivity. Similarly, EC2 instances have a virtual network card, known as Elastic network interface, and it provides network connectivity. Every instance in a VPC has a default network interface called as the primary interface, and it is represented as eth0. You can attach multiple network interfaces to the same EC2 instance. Let's look at a use case for this. Imagine a VPC with two subnets, a private and a public subnet in the same availability zone. You can have an EC2 instance with two interfaces in two different subnets, an interface in the private subnet and an interface in the public subnet. This configuration is commonly used to separate management traffic…

Contents