PDA

View Full Version : [ubuntu] How to run an instance?



siteregsam
September 7th, 2010, 01:33 PM
Hi,

I had installed Ubuntu 9.10 - Karmic Koala (i386) image from UEC store.
And after installing, i got following screen as how to start an instance...

http://img530.imageshack.us/img530/552/howtorunhelpstoretab.png


When i run euca-run-instances -k testkey --kernel eki-F63A10EF --ramdisk eri-0ABB115E emi-DFFF107A i am getting following error....

root@sam-laptop:~# euca-run-instances -k testkey --kernel eki-F63A10EF --ramdisk eri-0ABB115E emi-DFFF107A
EC2_ACCESS_KEY environment variable must be set.
Connection failed

How to setup EC2_ACCESS_KEY environment variable?
Kindly some one help me....
Thanks in advance...

pnunn
September 8th, 2010, 06:08 AM
You need to read the documentation mate... you need to source your eucarc file to get the environment variables set up correctly, after downloading them from the interface.

Peter.

baboli
September 8th, 2010, 08:18 PM
Hi,

I had installed Ubuntu 9.10 - Karmic Koala (i386) image from UEC store.
And after installing, i got following screen as how to start an instance...

http://img530.imageshack.us/img530/552/howtorunhelpstoretab.png


When i run euca-run-instances -k testkey --kernel eki-F63A10EF --ramdisk eri-0ABB115E emi-DFFF107A i am getting following error....

root@sam-laptop:~# euca-run-instances -k testkey --kernel eki-F63A10EF --ramdisk eri-0ABB115E emi-DFFF107A
EC2_ACCESS_KEY environment variable must be set.
Connection failed

How to setup EC2_ACCESS_KEY environment variable?
Kindly some one help me....
Thanks in advance...

login and run ". ~/.eucarc" you really need to read the document to get this going. I still have problem keeping the instances up and running, they terminate in 30 seconds or so.

siteregsam
September 9th, 2010, 04:47 AM
Thanks Peter...
I will read the documentation....

siteregsam
September 9th, 2010, 04:48 AM
Thanks baboli....