ENI and public IP address

0

Hello Guys,

I'm have doubt about the ENI and public IP addresses.
My instance has an ENI with a public address that is not an elastic IP.

If I shutdown my instance, will the Public address change?
If I detach the ENI of my instance, will the public address be released?

I can't lose the public IP...

질문됨 5년 전1006회 조회
2개 답변
0

Hello Gustavomanoel,

I will answer your questions below.

Question 1 - 'If I shutdown my instance, will the Public address change?'
Answer: Yes. We release your instance's public IP address when it is stopped or terminated. Your stopped instance receives a new public IP address when it is restarted. [1]

Question 2 - 'If I detach the ENI of my instance, will the public address be released?'
Answer: Is this the default primary network interface (eth0) of your instance? If yes, then please note that you cannot detach a primary network interface from an instance. [2].

I hope that you find this information helpful. Please let us know if you need any further help.

Links:
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses
[2] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#eni-basics

Regards,
awstomas

AWS
답변함 5년 전
0

Hello awstomas,

As expected...
Yes, it is the primary network interface.
Thank you very much for you support.

Regards,
Gustavo Manoel

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠