ImportantBefore you can use the commands that follow, set up your environment
variables by sourcing the eucarc file. On the Frontend enter the following command:
source /root/credentials/admin/eucarc.
|
euca-describe-images
IMAGE eki-D313397A centos-6-x86_64-small/vmlinuz-2.6.32-279.11.1.el6.x86_64.manifest.xml 508678674223 available public x86_64 kernel instance-store IMAGE emi-72613A2E centos-6-x86_64-small/centos-6-x86_64-small.img.manifest.xml 508678674223 available public x86_64 machine eki-D313397A eri-F9A83F12 instance-store IMAGE eri-F9A83F12 centos-6-x86_64-small/initramfs-2.6.32.279.11.1.el6.x84_64.img.manifest.xml 508678674223 available public x86_64 ramdisk instance-store
euca-add-keypair euca-demo > euca-demo.private
TipIf you've already added a keypair, you can skip this step.
|
chmod 0600 euca-demo.private
euca-run-instances -k euca-demo emi-72613A2E
RESERVATION r-CCE33FC0 449455269925 default INSTANCE i-68A24092 emi-72613A2E 0.0.0.0 0.0.0.0 pending euca-demo 0 m1.small 2012-05-17T10:36:46.232Z PARTI00 eki-D313397A eri-F9A83F12 monitoring-disabled 0.0.0.0 0.0.0.0 instance-store
euca-describe-instances i-68A24092
RESERVATION r-CCE33FC0 449455269925 default INSTANCE i-68A24092 emi-72613A2E 192.168.9.91 10.93.7.76 running euca-demo 0 m1.small 2012-05-17T10:36:46.232Z PARTI00 eki-D313397A eri-F9A83F12 monitoring-disabled 192.168.9.91 10.93.7.76 instance-store
ssh -i euca-demo.private 192.168.9.91
Warning: Permanently added '192.168.9.91' (RSA) to the list of known hosts.
Last login: Thu May 17 03:39:58 2012 from eucahost-9-91.eucalyptus
-bash-3.2#