CentOS 6
Sponsored Link

Eucalyptus - Run Instance2013/02/24

Run Instance.
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] Create a keypair for login on the Controle Server.
[root@frontend ~]#
euca-add-keypair my-key > ~/.my-key

[root@frontend ~]#
chmod 600 ~/.my-key

[2] Run Instance with "euca-run-instances" command. It's possible to confirm "eki-***" and others on Web UI like below.
[root@frontend ~]#
euca-run-instances -k my-key --kernel eki-FAE037C8 --ramdisk eri-B59B32EF emi-58E13B1A

RESERVATION r-F8AB3ECD 288823442078 default
INSTANCE i-31CD3DA4 emi-58E13B1A pending my-key 0 m1.small 2013-02-25T11:01:55.918Z cluster01 eki-FAE037C8 eri-B59B32EF monitoring-disabled
[3] After few minites later, IP address is assigned from DHCP server like below.
[root@frontend ~]#

RESERVATION r-F8AB3ECD 288823442078 default
INSTANCE i-31CD3DA4 emi-58E13B1A running my-key 0 m1.small2013-02-25T11:01:55.918Z cluster01 eki-FAE037C8 eri-B59B32EF monitoring-disabled instance-store
[4] Login to Instance with keypair made on [1] section.
[root@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
[5] Shutdown command for Instance below.
[root@frontend ~]#
euca-terminate-instances i-31CD3DA4

INSTANCE i-31CD3DA4 running shutting-down
Matched Content