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?

已提問 7 個月前檢視次數 240 次
2 個答案
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
已回答 7 個月前
  • 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
已回答 7 個月前
  • i need same public ip address that assign with ec2 instances

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南