Create a Network Interface and attach it to an EC2 instance
Hello Everyone
Welcome to CloudAffaire and this is Debjeet
In the last blog post, we have discussed Elastic Network Interface or simply Network Interface.
https://cloudaffaire.com/elastic-network-interface/
In this blog post, we are going to create a Network Interface and attach it to an EC2 instance
Below is the prerequisite for this demo
One active AWS account
One running EC2 Amazon Linux instance
Create a Network Interface and attach it to an EC2 instance
Step 1: Login to AWS console and click EC2 under compute
Step 2: Navigate to ‘Network Interfaces’ located under NETWORK & SECURITY. Click ‘Create Network Interface’.
Note: We already have a network interface created during EC2 instance launch.
Step 3: Provide a description, subnet, private IP, and security groups for your network interface. Click ‘Yes, Create’.
A new network interface has been created successfully.
Note: In order to attach to an EC2 instance, your instance and network interface subnet and availability zone must be the same. You can provide the private IP manually, else AWS will auto assign one to your network interface.
Next, we are going to attach this network interface to the instance.
Step 4: Select the network interface and click ‘Attach’.
Step 5: Select instance id from the drop down and click ‘Attach’
A new network interface with a new private IP address has been attached to the instance
Hope you have enjoyed this blog post. In the next blog, we are going to discuss Load Balancers.
Thank you so much! This really helped.