Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a strange issue here regarding and EC2 instance. I had just stopped and started an EC2 instance for windows after expanding the boot drive, not after I had started the instance, the IP it was assigned prior to the stop-start phase, has now changed to a new IP. Anyone has had a similar issue or is it usual in a stop-start scenario?

share|improve this question
also see… – steampowered Sep 28 '15 at 20:01
up vote 13 down vote accepted

Any time you start/stop an EC2 instance, what you're really doing is turning on an entirely new virtual server. Which means it gets a new IP address each time.

Luckily for you, Amazon offers Elastic IPs for EC2 instances so you can have a fixed permanent IP that you can assign to any of your instances (and change which instance uses it anytime you like). A little more info can be found on their IP address FAQ for EC2:

And probably lots more in rest of their documentation:

Especially the Developer Guide:

share|improve this answer

Stop/start for Windows (shutdown) will assign a new public/private IP to the instance. If you need a guaranteed public IP then you need to use an Elastic IP.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.