How to reserve aws ec2 instance static ip address

What you will learn here about AWS ec2 instance static IP address

  • Elastic IPs in AWS
  • How to get elastic IP in AWS
  • AWS ec2 instance static IP address
  • Elastic IPs pricing
  • How many elastic IPs can I have

Elastic IPs in AWS

Elastic IPs in AWS are the public static IP addresses. When elastic IP address gets assigned to you means one public static IP address is getting assign to your AWS account in a specific Region. The assigned elastic IP address is a public static IP address that you can assign to your ec2 instance. Only one elastic IP address we can assign to an ec2 instance at a time. An elastic IP address is independent of EC2 instance so no matter how many times you restart your EC2 instance, the elastic IP address associated with your ec2 instance will not change.

How to get Elastic IP in AWS

Now the question comes in how to get elastic IP in AWS right! so please follow the following steps to get elastic IP in AWS
1)Please sign in your AWS console

2)Now please go to the following path

Services -> EC2

3)Now please click on Elastic IPS which is shown below

NETWORK & SECURITY -> Elastic IPs

Elastic ips in AWS

4)Now please click on Allocate Elastic IP address which is shown below
How to get elastic ip in aws

5)Now please select Amazon’s pool of IPv4 addresses and click on Allocate to get Elastic IP address which is shown below
elastic ip address in aws



AWS ec2 instance static IP address

Now please follow the following steps to know how to reserve static IP address for AWS EC2 instance.

1)Assuming you have followed above steps and you have got the elastic IP address

2)Now please follow the following steps to link or attach assigned Elastic IP address to EC2 instance which is shown below
I)Select Assigned Elastic IP address
II)Click on Actions
III)Select option Associate Elastic IP address
AWS ec2 instance static ip address

3)Now please follow the following steps to choose or link EC2 instance which is shown below
I)Select resource type as instance
II)Choose your Instance ID to which you want to link elastic IP address
III)Choose Private IP address
IV)Click on Associate
how to reserve AWS ec2 instance static ip address

4)Once you click on Associate your elastic IP address and EC2 instance will get the link. To check your elastic IP assigned to your instance
please go to your EC2 instance then select your EC2 instance and check for Elastic IP which is shown below.
static ip address AWS EC2 instance

Elastic IPs pricing

Elastic IPs are free as long as associated EC2 instance is running. If Elastic IP address is not assigned to any running EC2 instance then only AWS will charge you. So please if you have an EC2 instance running then only use the elastic IP address.

How many elastic IPs can I have

The maximum you can have 5 elastic IPs per region




You may also like...

Leave a Reply