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.

I have an instance store (not EBS) based EC2 instance, launched from an official Ubuntu 12.04 AMI (specifically ami-25e8d351: eu-west-1, 32-bit, instance root store).

It is up and running, and I've made some changes to it (installed software; tweaked config files).

Now I'd like to bundle the setup as an AMI (on Amazon S3), i.e., save the changes I've made. But I can't do this on the AWS Console:

enter image description here

Why is the "Bundle Instance (instance store AMI)" option greyed out?

And more importantly, is there any way to save this instance as an AMI?

share|improve this question

1 Answer 1

Bundle Instance, from the AWS console, is equivalent to running ec2-bundle-instance. This command is only available on Windows instances, and as such, the AWS console option is only enabled for Windows instances. You cannot bundle an instance-store Linux AMI from the AWS console at this time.

To create an AMI of your Linux instance you will need to SSH into your instance and use Amazon's AMI and API (command line) tools. Amazon details the process in their documentation. Briefly:

  1. You will need your certificate and private key on the instance
  2. Create a bundle of the root volume using: ec2-bundle-vol
  3. Upload the bundle to S3 using: ec2-upload-bundle
  4. Register the AMI using: ec2-register (at this point you can also specify a block device mapping to associate additional snapshots and ephemeral volumes with the AMI).
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.