CentOS 6
Sponsored Link

Eucalyptus - Run Instance by a Common User
Run Instance by a common user
This example shows to configure Eucalyptus on the environment below.
#1) frontend.srv.world
[]   ⇒   Control Server ( CLC, Walrus, SC, CC installed )

#2) node01.srv.world
[]   ⇒   Node Controler ( NC installed, built KVM Host )
[1] Login to Controle server with a common user.
# create a keypair

[cent@frontend ~]$
euca-add-keypair my-key > ~/.my-key

[cent@frontend ~]$
chmod 600 ~/.my-key
# show images

[cent@frontend ~]$
euca-describe-images -a

IMAGE eri-B59B32EF centos-ramdisk-bucket/initrd-2.6.32-279.14.1.el6.x86_64.img.manifest.xml 000000000001 available private i386 ramdisk instance-store
IMAGE eki-FAE037C8 centos-kernel-bucket/vmlinuz-2.6.32-279.14.1.el6.x86_64.manifest.xml 000000000001 available private i386 kernel instance-store
IMAGE emi-58E13B1A centos-image-bucket/centos-6.3-x86_64.img.manifest.xml 288823442078 available privatei386 machine eki-FAE037C8 eri-B59B32EF instance-store
# run instance

[cent@frontend ~]$
euca-run-instances -k my-key --kernel eki-FAE037C8 --ramdisk eri-B59B32EF emi-58E13B1A

RESERVATION r-C46B3ED2 288823442078 default
INSTANCE i-76964036 emi-58E13B1A pending my-key 0 m1.small 2013-02-25T13:35:50.671Z cluster01 eki-FAE037C8 eri-B59B32EF monitoring-disabled
# show status

[cent@frontend ~]$

RESERVATION r-C46B3ED2 288823442078 default
INSTANCE i-76964036 emi-58E13B1A running my-key 0 m1.small2013-02-25T13:35:50.671Z cluster01 eki-FAE037C8 eri-B59B32EF monitoring-disabled instance-store
# login

[cent@frontend ~]$
ssh -i ~/.my-key -l root

The authenticity of host ' (' can't be established.
RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
Are you sure you want to continue connecting (yes/no)?

Warning: Permanently added '' (RSA) to the list of known hosts.
[root@localhost ~]#
# just logined
Matched Content