EC2 Ecosystem
ElasticFox is a Mozilla Firefox extension for managing your Amazon EC2 account. Launch new instances, mount Elastic Block Storage volumes, map Elastic IP addresses, and more.
Configuration
You can also use HybridFox a similar Mozilla Firefox extension to interact with cloud services through the EC2 Query API
Euca2ools are command-line tools for interacting with Web services that export a REST/Query-based API compatible with Amazon EC2 and S3 services.
You have to set the following environment variables in order to interact with the OpenNebula EC2 Query Server. The EC2_URL
will be the same endpoint as defined in the $ONE_LOCATION/etc/econe.conf
file of Opennebula. The EC2_ACCESS_KEY
will be the OpenNebula username and the EC2_SECRET_KEY
the OpenNebula sha1 hashed user password
<xterm>
~$ env | grep EC2
EC2_SECRET_KEY=e17a1234834936f71bb3242772d25150d40791e72
EC2_URL=http://localhost:4567
EC2_ACCESS_KEY=oneadmin
</xterm>
Typical usage scenarios
<xterm>
~$ euca-describe-images
IMAGE ami-00000001 srv/cloud/images/1 daniel available private i386 machine
IMAGE ami-00000002 srv/cloud/images/2 daniel available private i386 machine
IMAGE ami-00000003 srv/cloud/images/3 daniel available private i386 machine
IMAGE ami-00000004 srv/cloud/images/4 daniel available private i386 machine
</xterm>
<xterm>
~$ euca-describe-instances
RESERVATION default daniel default
INSTANCE i-0 ami-00000002 192.168.0.1 192.168.0.1 running default 0 m1.small 2010-06-21T18:51:13+02:00 default eki-EA801065 eri-1FEE1144
INSTANCE i-3 ami-00000002 192.168.0.4 192.168.0.4 running default 0 m1.small 2010-06-21T18:53:30+02:00 default eki-EA801065 eri-1FEE1144
</xterm>
<xterm> ~$ euca-run-instances –instance-type m1.small ami-00000001 RESERVATION r-47a5402e daniel default INSTANCE i-4 ami-00000001 192.168.0.2 192.168.0.2 pending default 2010-06-22T11:54:07+02:00 None None </xterm>