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.

These are the steps I took:

  1. Deploy Ubuntu EC2 instance (tried both LTS and latest) default kernel and RAM ID
  2. Snapshot Instance
  3. Create AMI from snapshot, default kernel and RAM ID
  4. Launch EC2 from AMI snapshot

I left everything untouched apart from simply the name in each of these. Then my created instance gives this:

0/2 checks passed

Can anyone shed any light on this, I really don't want to have to use another distro if I can help it.

share|improve this question
2  
Have you tried right-clicking on the original instance in the console and creating an AMI that way, rather than trying to make an AMI from the snapshot? –  ceejayoz Mar 20 '13 at 12:36
    
I'll try, thanks for the tip –  James Willson Mar 20 '13 at 12:47
    
Oh, would you believe it, that works! If you add it as an answer i'll award it. –  James Willson Mar 20 '13 at 13:40
    
Glad that worked! :-) –  ceejayoz Mar 20 '13 at 13:50

2 Answers 2

up vote 1 down vote accepted

Right-click on the instance, select "Create AMI", and it should do all of the appropriate steps for you. Easier, faster, and less problematic than trying to make an AMI off a snapshot.

share|improve this answer
    
Thank you. I don't understand why this is any different but it seems to work fine. –  James Willson Mar 20 '13 at 13:59

Don't use the default kernel/ramdisk (AKI/ARI).

When you register a snapshot as an AMI, be sure to specify the same kernel and ramdisk as were used by the original AMI and instance.

This is what the "Create AMI" function does (and the ec2-create-image command line tool).

share|improve this answer

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.