Showing posts with label IP. Show all posts
Showing posts with label IP. Show all posts

Thursday, 24 September 2020

How to release an elastic ip to avoid unwanted billing in AWS

 This will provide you procedure for Disassociate public ip which is already assigned to EC2 instance and Release public IP which is associate to AWS account. To avoid unwanted billing with unwanted public ip.

Practical steps:

  • From the Elastic ip page --> Right click on the Elastic IP --> Disassociate address.


  • Then the below conformation screen will appears, conform it.                                                         


By the above steps, the fixed public ip which is assigned to one EC2 will be removed. As usually for every time when EC2 instance restarts new public ip will be assigned.


By the below releasing address process:                                                                                             

the public ip will be removed from AWS account to avoid unwanted billing, if the public ip is not longer use.

conform it in the conformation screen.                                                                                                          



you can see the public ip is now removed in the Elastic ip page.







Wednesday, 23 September 2020

Assigning fixed elastic(public) IP to EC2 instance.

 Usually when you stop and then start an EC2 instance, it can changes its public IP.

if you need to have a fixed public IP for your instance, you need an Elastic IP. An Elastic IP is a public IPv4 IP you own as long as you don't delete it.


Practical steps:


From the EC2 instance launch page, Navigate to Network & Security --> Elastic ips.



Click on Allocate new address now.                                                                                                                          



Click on Allocate.

Then the below pop up screen comes up with public IP. Click on Close.                                                                                          

Then from the Elastic IP page, Select the IP address with check box(1 as highlighted below) --> Actions drop down --> Associate Address.




Provide details:                                                                       
Resource type: instance
Instance : Instance ID
Enter private IP details




Enable the Reassociation check box and Click on Associate button.



Then the below conformation screen appear, Saying Associate address request assigned to EC2 instance successfully.