OpenNebula EC2 Client Cheat Sheet 3.0

COMMON_OPTIONS VALUE
–help, -h Show help
–access-key <id>, -K <id> The name of the user
–secret-key <key>, -S <key> The password of the user
–url <url>, -U <url> Set url as the web service url to use

Browsing

  • List and describe running instances
~$ econe-describe-instances [COMMON_OPTIONS] [SPECIFIC_OPTIONS]

SPECIFIC_OPTIONS VALUE
–headers, -H Display column headers



  • List and describe previously uploaded images of a user to be used with an OpenNebula Cloud
~$ econe-describe-images [COMMON_OPTIONS] [SPECIFIC_OPTIONS]

SPECIFIC_OPTIONS VALUE
–headers, -H Display column headers


Managing Images

  • Uploads an image for use with an OpenNebula Cloud. This image should be later register with econe-register using the returned ImageId
~$ econe-upload [COMMON_OPTIONS] [SPECIFIC_OPTIONS] <IMAGE-PATH>

IMAGE-PATH: Path to the image to upload

SPECIFIC_OPTIONS VALUE
–multipart, -M Use 'multipart-post' library instead of Curb/Curl



  • Register a previously uploaded image for use with an OpenNebula Cloud
~$ econe-register [COMMON_OPTIONS] <IMAGE-ID>

IMAGE-ID: The image identification as returned by the econe-upload command

SPECIFIC_OPTIONS VALUE
–headers, -H Display column headers


Managing Instances

  • Runs an instance of a particular image
~$ econe-run-instances [COMMON_OPTIONS] [SPECIFIC_OPTIONS] <IMAGE-ID>

IMAGE-ID: The image identification as returned by the econe-upload command

SPECIFIC_OPTIONS VALUE
–headers, -H Display column headers
–user-data, -d Specifies Base64-encoded MIME user data to be made available to the instance
–type, -T OpenNebula template in which is based this instance



  • Terminate the selected running instance
~$ econe-terminate-instances [COMMON_OPTIONS] [SPECIFIC_OPTIONS] <INSTANCE-ID>

INSTANCE-ID: The instance identification as returned by the econe-run-instances command

SPECIFIC_OPTIONS VALUE
–headers, -H Display column headers