Aws ec2 does private ip change

July 13, 2021 . 1 MIN READ

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html

 

The private IP address of an Amazon EC2 instance will never change.

It will not change while an instance is running.

It will not change while an instance is stopped.

You cannot change a private IP address. (However, I think that if you assign multiple private IP addresses, you can add/remove the secondary addresses, but not the primary IP address.)

You cannot launch another instance with the same private IP address of another instance (in the same VPC), even if the other instance is stopped.

The above only applies to the private IP address, not the public IP address.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *