[Starcluster] EC2 AMI creation

Justin Riley jtriley at MIT.EDU
Thu Dec 17 17:13:16 EST 2009


Hi Mark,

Your understanding of the process is correct. 

Regarding registering the ami, the script should automatically register the 
ami for you, no need to do it yourself unless it's not showing up for some 
reason. 

If I remember correctly, you also don't need to create the bucket before hand 
although this certainly doesn't hurt anything. 

The idea is that after the create_ami.py script has executed, everything 
should be ready to go assuming it completed successfully. This script, 
assuming you've passed the correct options, handles bucket creation, 
creating/bundling/uploading the ami, and registering the ami with EC2 without 
user intervention.

Let me know if you have success with this or not and what your issues were.

I've cc'd the list because this info may certainly be useful to the next user 
of StarCluster. Please continue to do so in the future so that others can 
benefit :D

~Justin

On Thursday 17 December 2009 4:28:48 pm Mark J. Pearrow wrote:
> Ah, ok. I was able to create a bucket using S3Fox (there's probably a
>  better way to do this).
> 
> Just to make sure I understand the process:  I have to have a running
>  instance first that has all the edits and additions I want first - then I
>  can run the create_image.py to bundle that running instance into a new AMI
>  and store it on my S3 bucket. Does that sound about right?
> 
> Then I suspect I will need to register the new AMI or something to that
>  effect.
> 
> (I didn't cc: the list on this but feel free to forward it on if the
>  question seems useful and not obnoxious) :)
> 
> mjp
> 



More information about the StarCluster mailing list