Corporate Home Open Source Home
Syndicate content
Eucalyptus

VM Control

A cloud will let users control virtual machine (VM) instances using uploaded images as a template. The following commands can be used to control VM instances.

Displaying instances currently running

You may use "euca-describe-instances," which will display a list of currently running instances.

euca-describe-instances

To get information about a specific instance, you can use the instance id as an argument to euca-describe-instances. For example,

euca-describe-instances i-43035890

For more options, type,

euca-describe-instances --help

Running instances

"euca-run-instances" will allow you to deploy VM instances of images that have been previously uploaded to the cloud.

For instance, to run an instance of the image with id "emi-53444344" with the kernel "eki-34323333" the ramdisk "eri-33344234" and the keypair "testkey" you can use the following command,

euca-run-instances -k testkey --kernel eki-34323333 --ramdisk eri-33344234 emi-53444344

To run more than one instances, you may use the "-n" or "--instance-count" option.

For more help, try,

euca-run-instances --help

or refer to the manpage for "euca-run-instances."

Shutting down instances

You may shutdown running instances using the "euca-terminate-instances" command. For example, to terminate an instance "i-34523332"

euca-terminate-instance i-34523332

For more options, type,

euca-terminate-instances --help

or refer to the manpage.

Rebooting instances

To reboot running instances, you can use "euca-reboot-instances." For example, to reboot the instance "i-34523332"

euca-reboot-instances i-34523332

A reboot will preserve the root filesystem for the instance across restarts.