Eric Donaldson
Eric Donaldson used Ask the Experts™
How can you use an elastic IP  to a vpc so that when shut down it doesnt lose its ip address?  Need a fixed ip that will remain constant eip.
I also have the EC2 instance in a VPC.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
bbaoIT Consultant
two official, must-read docs about Elastic IP.

Elastic IP Addresses

Assign an Elastic IP Address to Your Instance
AWS / DevOps / Cloud Consultant
there are 2 EC2 networks in AWS

1) EC2-Classic - If your EC2 instance is in EC2 Classic, the Elastic IP addresses will be released/disassociated from the instance once it is stopped

2) VPC - when the EC2 instance is launched in VPC, the elastic IP addresses will still be assigned to the network interface of that instance and it will be persistent upon the server restarts.

So if your requirement is to keep the IP address intact, you can
1) allocate a NEW Elastic IP address
2) Launch your Instance Inside a VPC, and assign the elastic IP address to the instance.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial