how make my default public ip to static ip in ec2 instance ?

0

hello guy need help

here my scenario

when i launch ec2 instance that time aws give me public ip. Now here i need this public ip to make static/ permanent Ip?

asked 7 months ago230 views
2 Answers
1

To make your EC2 instance's public IP address static (permanent), you can associate an Elastic IP (EIP) with your instance.

Here you can find the documentation to learn how to do it.

AWS
David C
answered 7 months ago
  • no i need same temporary ip that assign to me

0

Hi The way to do that is to assign Elastic IP address to your instance once it is created. You can allocate an Elastic IP address from Amazon's pool of public IPv4 addresses, or from a custom IP address pool that you have brought to your AWS account. if you have set the "Auto-assign public IP" to enable, then once you associate an Elastic IP address with an instance or its primary network interface, the instance's public IPv4 address (if it had one) is released back into Amazon's pool of public IPv4 addresses

https://repost.aws/knowledge-center/ec2-associate-static-public-ip

AWS
TonyG
answered 7 months ago
  • i need same public ip address that assign with ec2 instances

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions