Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an EC2 instance, with instance store root device (i.e., not EBS), running Linux (Ubuntu).

What happens if I restart the instance like so:

sudo reboot
  • Will the instance storage still be there after reboot, or does it get wiped?
  • How about the public IP address of the EC2 instance (assuming an Elastic IP is not used): does it change or stay the same?
  • If an Elastic IP is used, will it still be associated with this instance after reboot?
share|improve this question
    
(I realise this is kinda basic AWS question, but a google search didn't immediately answer it so I figured it should be documented on SF.) –  Jonik Jun 7 '12 at 10:05
1  
It's a basic question, but you're right in that there really isn't a clear cut answer that isn't confusing (that I've found) in Amazon's documentation. –  Bart Silverstrim Jun 7 '12 at 11:04
add comment

2 Answers

up vote 4 down vote accepted

Yes, the instance store will still be there after reboot, intact.

Also, yes, the IP address stays the same. (But if an Elastic IP was used, you'll need to re-associate it with the instance, if I recall correctly. Also Elastic IP is retained, as Matt Houser points out.)

share|improve this answer
add comment

If you reboot your instance, it's not moved to new hardware, and the instance store should still be there.

Also, since the instance is not being stopped, then the elastic IP should persist. Only if the instance is stopped will the elastic IP be disassociated.

share|improve this answer
    
Thanks; seems I remembered the elastic IP case wrong. –  Jonik Jun 7 '12 at 11:36
add comment

Your Answer

 
discard

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.