Run instances2010/05/03 |
[1] | create keypair first |
[root@frontend ~]# euca-add-keypair my-key > ~/.ssh/id_rsa-my-key [root@frontend ~]# chmod 600 ~/.ssh/id_rsa-my-key
|
[2] | Run instance with the command 'euca-run-instances'. 'eki-***' is the one that is shown on the screen below. |
[root@frontend ~]# euca-run-instances -k my-key --kernel eki-8DDF16EC --ramdisk eri-887216DE emi-1CCC15AD RESERVATION r-3A860633 admin admin-default INSTANCE i-43D2081A emi-1CCC15AD 0.0.0.0 0.0.0.0 pending my-key 2009-11-07T09:05:03.867Z eki-8DDF16EC eri-887216DE
|
[3] | After for a moment, instance has an IP address. |
[root@frontend ~]# euca-describe-instances RESERVATION r-47F1075A admin default INSTANCE i-523909E7 emi-1CCC15AD 10.0.0.176 10.0.0.176 running my-key 0 m1.small 2009-11-07T09:12:12.299Z frontend eki-8DDF16EC eri-887216DE
|
[4] | Login to instance with key that is made in [1]. |
[root@frontend ~]# ssh -i .ssh/id_rsa-my-key -l root 10.0.0.176 The authenticity of host '10.0.0.176 (10.0.0.176)' 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)? yes Warning: Permanently added '10.0.0.176' (RSA) to the list of known hosts. -bash-3.2# # just logined |
Sponsored Link |
|