OpenNebula Cloud
The OpenNebula Cloud offers a virtual computing environment accessible through two different remote interfaces, OCCI and EC2. It allows to launch virtual machines based on a variety of available images with different Operating Systems and configurations.
There are, in fact, two clouds offered.
https://devel.cloud.opennebula.org
First step to use the cloud is to download the OpenNebula software, even though we just will need the client components. The URL to access the cloud is the same for both interfaces:
https://cloud.opennebula.org
Installation and configuration vary slightly depending on which interface you want to use:
In order to use the OpenNebula Cloud you need an account, that we provide on demand. We just require you to send an email to cloud@opennebula.org asking for one and stating your preferred username.
Both interfaces give access to the same infrastructure, so resources created by one interface are reflected immediately in the other. Due to their different nature, it is also true that functionality offered by the interfaces vary.
So, for example, using the OCCI interface enables:
<NIC> <NAME>MyNetwork</NAME> <ADDRESS>10.0.0.1</ADDRESS> <SIZE>200</SIZE> </NIC>
<COMPUTE> ... <STORAGE> <DISK image="1" dev="sda1"/> <SWAP size="1024" dev="sda2"/> <FS size="512" format="ext3" dev="sda3"/> </STORAGE> ... </COMPUTE>
On the other hand, the EC2 service, based on the EC2Query interface, is intended to provide a user experience close to that offered by Amazon EC2. For this reason, virtual machines will have just one image (the one picked to launch the virtual machine) and will get a public address from the “Public EC2” virtual network (that can be seen with the occi-network list
command).
So, for example:
<xterm> $ ./econe-describe-images -H Owner ImageId Location
helen 1 /tmp/images/1 … </xterm>
econe-run-instances
:<xterm> $ ./econe-run-instances -H 1 Owner ImageId InstanceId InstanceType
helen 1 15 m1.small </xterm>
econe-describe-instances
:<xterm> $ ./econe-describe-instances -H Owner Id ImageId State IP Type
helen 15 1 running 147.96.80.33 m1.small </xterm>
Once the VM is up and running, logging into it is just a matter of downloading this key and doing a:
<xterm> $ ssh -i onecloud_key -l oneadmin <ip_of_the_vm> </xterm>