IP Addressing AWS

84 views Asked by At

I had an instance running on EC2 until I stopped it temporarily. Upon restarting the Public IP changed. I read that this is allocated automatically, so is there a way to use another means i.e. Elastic IPS to get the same Public IP as before stopping the instance as the Applications that connect to these instances in the App store do so with the old Public IP?

1

There are 1 answers

2
jarmod On BEST ANSWER

Use an Elastic IP address.

An Elastic IP address is a fixed public IPv4 address that you allocate to your AWS account. You can associate it with an EC2 instance, and it's yours until you choose to release it.

Note that an Elastic IP remains associated with your instance when you stop it, but only if the instance is in a VPC, not if it's in EC2-Classic (see the differences).

enter image description here