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 a running micro instance using an 8GB EBS that I've customized.

To my understand there are two ways I can create an AMI from this.

1) EC2 console -> INSTANCES - Instances -> Right Click instance -> Create Image (EBS AMI)

2) EC2 console -> ELASTIC BLOCK STORE - Volumes -> Right Click Volume -> Create Snapshot, then go to snapshots and Right "Create Image From Snapshot"

When I right click and Select "Launch Instance" from my list of private AMIs, I'm able to successfully launch an instance from the AMI generated from the first method. However whenever I try to launch an instance from the AMI generated by the 2nd method, the Status Checks show either 1/2 checks passed or 0/2 checks passed.

Why am I unable to launch an instance from an AMI generated from the snapshot?

share|improve this question
2  
At a guess (check your console log, you might get more info) - either your AKI (kernel) or fstab (mounted volumes) differ. Check which AKI each image is launch with and see if they match. If it is your fstab trying to mount a non-existent volume, it should show up in your console log. –  cyberx86 Jun 4 '12 at 5:19
    
@cyberx86 Thanks so much, I was using the default kernel to make the image. Is the console log in the aws console or is it cli? I couldn't find a console log in the aws console. –  user784637 Jun 4 '12 at 16:18
2  
You can usually view the console log from the AWS Console. In the EC2 tab, right click an instance, and select 'Get System Log' - of course, the instance has to have at least started booting (it is basically an output of dmesg on Linux instances). –  cyberx86 Jun 4 '12 at 22:39
    
Are you using a RedHat or CentOS AMI? There are (were) some issues with the way the network connection was managed that prevented copying EBS-based images. –  khoxsey Aug 1 '12 at 19:52
add comment

1 Answer

When you create an image from a snapshot, make sure you use the same architecture you used for the original instance/AMI. The default value in this wizard is i386, but in many cases you may want x86_64, which is the standard Amazon EC2 Linux architecture. This, together with selecting the exact AKI kernel - worked for me.

share|improve this answer
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.