Wednesday, August 18, 2021
In the previous post we associated our Elastic IP with an instance directly. In this post we are going to take another approach to assign our Elastic IP to our instance. In this approach we will create an Elastic Network Interface and associate it with our instance instead. In the first approach the Elastic IP replaces the public IP because we associate it directly to the instance. But if we create an Elastic Network Interface we are essentially adding a second interface in our instance with two IPs, eth0 is the main network interface and eth1 will be the second interface. It's like having two network interface in the physical world but this time it's virtualized in AWS.
Here are the steps to create a network interface:
1. Create an Elastic IP, follow this post if you don't know how.
If you look at the instance description you will see that there's no Elastic IP address assignment, so if you stop and start the instance you will get a new public IP, and there's only one network interface (eth0). By the time we are finish with this post the instance will have tow network interfaces and an Elastic IP.
2. Click on "Network Interfaces" under "Network & Security"
3. Click on "Create Network Interface"
4. Choose the same subnet as the Elastic IP
5. Fill in the fields as you see below, and select the appropriate Security Group, let AWS "Auto-assign" the IP (this is actually going to be the private IP, we did not associate the Elastic IP yet). Click on the "Create" button
6. Once the network interface has been created we want to attach the instance to the ENI, so in the "Network Interfaces" page, check the ENI you've just created and click on the "Attach" button. Think of it like installing a second network card to your PC
7. Select the instance and click "Attach"
9. Check the Elastic IP you want to make the association with, and select "Associate Elastic IP address" option
10. Select the "Network interface" radio button under "Resource type" and choose the ENI that you've just created.
11. Choose the "Private IP address" and check "Allow this Elastic IP to be reassociated", then click on "Associate"
12. Now if you look at the instance "Description" tab you will see that there's an Elastic IP address associated with the instance now, and a second network interface (ElasticENI)
Search This Blog
Tags
Pageviews last month
Translate
PC Gaming from AmazonPhones From AmazonVideo Games From Amazon Amazon Daily Deals Amazon Basics (private brand) Refurbished Deals From AmazonPopular Topics
Popular Posts
-
Creating a new blog in Blogger is really easy in fact it takes less than five minutes to do. Well maybe ten minutes if you have to take scr...
-
Don't have money to buy Winzip? If you are looking for a good file achiver or extractor look no further than 7-Zip. It archives and ex...
-
Up until this point all we did was take care of the plumbing, MongoDB for the database, AngularJS as the application framework, expressJS fo...
-
The DELETE statement conflicted with the REFERENCE constraint "FK_Order_Details_Products". The conflict occurred in database ...
-
Instead of testing to see if a property exists in the object you could just use the for/in loop to iterate through all the enumerable proper...
-
In this blog we will go over how to export your blogs in Google's Blogger blogging application. Step-By-Step Instructions Exporting Yo...
-
The purpose of this blog is to show you the bare bones of ASP.NET. Often times when you search for a tutorial on the web you see that the t...
-
One of the most common task you have to do as a Linux administrator is to add a new user. Especially developers who always wants root acces...
-
Before we run our Asp.Net Core application for the first time we are going to copy a controller from Asp.Net Core 2.2 to help us create the ...
-
It could be frustrating to edit your blogger template with the overwhelming size of the code. Talk about a single page application, not in ...
Blog Archive
-
▼
2021
(162)
-
▼
August
(21)
- JavaEE: Install The Eclipse IDE On Windows
- Linux Administration: Disk Partitions Getting Part...
- SQL: Sort By Multiple Columns
- SQL: DATEPART Function
- Iaas With AWS: VPC With Public And Private Subnets
- JavaEE: Install Tomcat 9 On Windows
- Linux Administration: Message Of The Day
- CSS HTML Attribute Selectors
- SQL: AVG() Aggregate Function
- Iaas With AWS: Associate An Instance With AWS Elas...
- Python: Install Python On Linux
- Linux Commands: The init Command
- The ID And Class Selectors in CSS
- SQL: COUNT() Aggregate Function
- Iaas With AWS: Create An Elastic IP And Assign It ...
- What is a Blockchain?
- Linux Networking: traceroute
- Target Specific Media Environments With CSS Media ...
- Iaas With AWS: Create A CloudWatch Alarm on Linux ...
- ACME Bank: Step 10: Getting Values From MySQL Data...
- Linux: Central Logger RSYSLOG
-
▼
August
(21)
Your blog is very informative and interesting to read, finally, I found exactly what I search for. There are lots of users of Macfee antivirus in the world because of its features and easy interface. If you want to explore more interesting facts about Mcafee antivirus or want to resolve your technical issues then must visit Mcafee ondersteuning nummer.
ReplyDeleteVery interesting post.I was searching.for more information about Procurement Strategy in Dubai
ReplyDeleteلمشاهدة مسلسلات اليوم اضغط ايجي ناو
ReplyDeleteNice Information. Thanks for sharing Article. keep it upVashikaran Specialist in Chennai Vashikaran Specialist in Jaipur Vashikaran Specialist in Karnataka Vashikaran Specialist in London UK Vashikaran Specialist in Dubai Vashikaran Specialist in Australia Vashikaran Specialist in Punjab
ReplyDelete