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:
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?
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:
ec2-bundle-vol
ec2-upload-bundle
ec2-register
(at this point you can also specify a block device mapping to associate additional snapshots and ephemeral volumes with the AMI).