[[PageOutline]] {{{ #!html

Eucalyptus 使用者手冊

}}} ---- = 【1.註冊】 = * 到 https://IP:8443 註冊個人資料,註冊完後等待 mail 通知 * 註冊成功且登入後,下載使用者的 Certificate {{{ $ mkdir ~/.euca $ cd ~/.euca $ unzip name-of-the-key-zip.zip $ chmod 0700 ~/.euca $ chmod 0600 ~/.euca/* }}} ---- = 【2.[http://open.eucalyptus.com/wiki/Euca2oolsGuide 安裝 Euca2ools]】 = ---- = 【3.快速開始】 = * 查詢 Euca 系統 {{{ $ euca-describe-images IMAGE eki-2B121184 kernel/vmlinuz-2.6.27.21-0.1-xen.manifest.xml admin available public x86_64 kernel IMAGE eri-25751174 ramdisk/initrd-2.6.27.21-0.1-xen.manifest.xml admin available public x86_64 ramdisk IMAGE emi-FFD310FF images/ubuntu.9-04.x86-64.img.manifest.xml admin available public x86_64 machine $ euca-describe-availability-zones verbose $ euca-describe-instances $ ec2-describe-keypairs }}} * 申請 key pair,以便 ssh 登入 instance {{{ $ ec2-add-keypair mykey >mykey.private ('mykey' is the name for the key in Eucalyptus, 'mykey.private' is the file to be used by ssh) $ chmod 0600 mykey.private $ ec2-run-instances -k mykey -n }}} * {{{ ### 允許 instance 開啟 22 port ### $ ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0 ### 給予 Instance IP ### $ ec2-allocate-address $ ec2-associate-address -i ### 使用 ssh 登入 ### $ ssh -i mykey.private root@ ### 關掉 Instances ### $ ec2-terminate-instances ... }}} ---- = Regerence = * [http://docs.amazonwebservices.com/AWSEC2/2008-12-01/GettingStartedGuide/ Amazon EC2 Getting Started Guide]