Package starcluster :: Module cli :: Class CmdCreateImage
[hide private]
[frames] | no frames]

Class CmdCreateImage

source code



createimage [options] <instance-id> <image_name> <bucket> 

Create a new image (AMI) from a currently running EC2 instance

Example:

    $ starcluster createimage i-999999 my-new-image mybucket

NOTE: It is recommended not to create a new StarCluster AMI from
an instance launched by StarCluster. Rather, launch a single 
StarCluster instance using ElasticFox or the EC2 API tools, modify
it to your liking, and then use this command to create a new AMI from 
the running instance.

Instance Methods [hide private]
 
addopts(self, parser) source code
 
cancel_command(self, signum, frame) source code
 
execute(self, args) source code

Inherited from CmdBase: catch_ctrl_c, warn_experimental

Inherited from optcomplete.CmdComplete: autocomplete

Class Variables [hide private]
  names = ['createimage']
  bucket = None
hash(x)
  image_name = None
hash(x)

Inherited from CmdBase: gopts, opts, parser

Properties [hide private]
  completer

Inherited from CmdBase: cfg, goptions_dict, options_dict, specified_options_dict

Method Details [hide private]

cancel_command(self, signum, frame)

source code 
Overrides: CmdBase.cancel_command

Property Details [hide private]

completer

Get Method:
unreachable.completer(self)