How to Assign Elastic IP to Ec2 Instance AWS

Assign Elastic IP
Assign Elastic IP

Assign Elastic IP to EC2 Instance AWS

What is an Elastic IP?

  • Elastic IP is nothing but IPv4 IP address which is designed and available for cloud computing and accessible over the internet.
  • It’s a flexible address that you can be used or mapped from one EC2 instance to another if a currently associated instance fails.
  • Elastic IP is like static public IPs which we can be assigned for EC2 Instance.
  • You can have one Elastic IP (EIP) address associated with a running instance at no charge.
  • To ensure efficient use of Elastic IP addresses, Amazon imposes a small hourly charge when these IP addresses are not associated with a running instance or when they are associated with a stopped instance or unattached network interface.

How many Elastic IP is available to Use in One Region?

Every service provided by AWS has certain limits use. These limits you can check in the “Limits” section.
To check the ElasticIP available limit, go to the “EC2” then on the left panel you will see the “Limits” section.
Click on Limits and go to the Networking Limits where you will see ElasticIP Limits.

 

Elastic IP Limit

If you have a requirement for more than 5 elastic IP then you need to raise “Request Limit Increase” to the AWS team.

There are no extra charges on increasing the Limits for Elastic IP or any other services.

Below is the Form will open when you click on the “Request Limit Increase”

Check middle box “Service Limit increase” and In Limit Type, Choose “Elastic IP”.

 

Elastic ip Request limit

In Second Section “Requests”,  You need to specify three things “Region”, “Limit” & “New Limit Value”.

Elastic IP Limit

In the last section, Add the one-liner description for the Extra Elastic IP requirement and Then click on the Submit button.

AWS team will take 12hrs to 24hrs on responding to the request.

Elastic ip Limit

If you are new to the AWS then read my previous article that helps you to create your first Free AWS account for practice…

Read More: How to Create AWS FREE TIER ACCOUNT

Steps to Assign Elastic IP to Ec2 Instance

1. Login to AWS Account & Click on the Ec2.

2. In EC2 Dashboard, Click on Elastic IP which is present in the left panel under the “Network & Security” section.

Elastic IP

3. Click on the “Allocate New Address” button that helps you to generate new elastic IP for you.

Allocate new address
New Elastic IP

4. After Click on Allocate, You will have a new elastic IP address.

Elastic ip

5. Now in the upper right corner click on Actions and click on the “Associate Elastic IP Address” to attach this elastic IP to Ec2 Instance.

Associate Elastic IP

6. Choose the “Instance” and the Private IP address of that instance and just click on Associate to assign elastic ip.

That’s it.

assign elastic ip

If you want to “Release the IP address” then you need to simply “Disassociate the IP Address” and then click on “Release IP Address”.

Note: AWS will not charge for the Elastic IP address when it is associated with running Ec2 Instance. But when you stop the Ec2 Instance then AWS starts charging for the Elastic IP address.

I hope you like the article if you find any difficulties then please do comment on your queries or problem via the comment section, till then stay tuned to Linuxgrow.com for more such valuable articles.

Prashant

Welcome to Linuxgrow. I'm Prashant, a tech-blogger from Mumbai, India. I started Linuxgrow as a passion and to share my knowledge about technologies. Here at Linuxgrow, I write about Linux technologies, Aws Cloud, Wordpress blogging and scripting knowledge. You can read more about me at About us page. Thank You :)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

Facebook