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

The Basic 64-bit Amazon Linux AMI has the following instance type options available:

  • Micro
  • Large
  • Extra-Large
  • High-Memory Extra Large

... etc

I booted up this AMI as a micro type, made customizations, shut it down, detached the volume, took a snapshot, and registered my own custom AMI: ec2-register –snapshot [snapshot_id] –description "my description" –name "my name" –kernel aki-427d952b

That worked. HOWEVER, when I try to create an instance from my custom AMI, only the following instance types are available:

  • Micro
  • Small
  • High-CPU Medium

... which coincidentally are the same instance types available if you try to boot up the 32-bit Amazon image.

Why are the available instance types of my custom image varying from the available instance types of the image I based it off of?

share|improve this question
    
so you selected a 64-bit instance and they are only allowing you to launch the AMI as a 32-bit instance? –  BenGC Mar 7 '11 at 23:53
    
I'm not sure if the problem is specific to 32-bit vs 64-bit, but am just making an observation about the association between default AMIs and their corresponding instance types. It seems as though if I customize the default 64-bit Amazon Linux AMI, I should be able to boot that custom AMI under any of the same instance types available under the default 64-bit Amazon Linux AMI. But instead, it only lets me boot with an instance type that would typically be associated with the default 32-bit Amazon Linux AMI –  John Mar 8 '11 at 1:34

1 Answer 1

When you register the image, make sure to include an explicit

-a x86_64

Without this, you let the Black Box of Amazon's back end decide which architecture to use. Apparently it defaults to 32bit, or guessed wrong in your case.

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.