Hands-On: Practicing with AWS Elastic Network Interfaces (ENI)
Overview
In this practice session, we will:
✅ Launch two EC2 instances
✅ Explore the default network interfaces (ENI)
✅ Create a new ENI and attach it to an instance
✅ Move the ENI between instances to demonstrate failover
✅ Observe ENI behavior when instances are terminated
Step 1: Launch Two EC2 Instances
- Go to AWS EC2 Dashboard
- Click Launch Instances
- Select Amazon Linux 2
- Choose t2.micro instance type
- Select an existing security group (e.g.,
launch-wizard-1)
- Launch two instances
Confirm ENI for Each Instance
- Navigate to Networking for each instance.
- Scroll down to view the attached network interface (
eth0).
- Each instance has:
- ENI ID
- Private IPv4
- Public IPv4
- Private IPv4 DNS