# JClouds support

**URL:** <https://forum.opennebula.io/t/jclouds-support/1677>\
**Category:** Integration Support\
**Created:** [January 11, 2016, 6:18pm UTC](https://forum.opennebula.io/t/jclouds-support/1677 "2016-01-11T18:18:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![capvt](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/capvt/32/4497_2.png) [@capvt](https://forum.opennebula.io/u/capvt)\
**Post date:** [January 11, 2016, 6:18pm UTC](https://forum.opennebula.io/t/jclouds-support/1677/1 "2016-01-11T18:18:14Z")

</div>

Hi all!!  
I’m trying to manage opennebula with jclouds..  
jclouds has generic EC2 support and I’d like to exploit that to interact with opennebula.  
Is there a way to do it? anyone has already tried?  
Thank you!!

---

<div class="post-metadata">

**Author:** ![ruben](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ruben/32/19_2.png) [@ruben](https://forum.opennebula.io/u/ruben)\
**Post date:** [January 14, 2016, 9:17am UTC](https://forum.opennebula.io/t/jclouds-support/1677/2 "2016-01-14T09:17:29Z")

</div>

Have you tried this: [https://github.com/OpenNebula/addon-jclouds4one](https://github.com/OpenNebula/addon-jclouds4one) ?

---

<div class="post-metadata">

**Author:** ![capvt](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/capvt/32/4497_2.png) [@capvt](https://forum.opennebula.io/u/capvt)\
**Post date:** [January 14, 2016, 3:01pm UTC](https://forum.opennebula.io/t/jclouds-support/1677/3 "2016-01-14T15:01:29Z")

</div>

I think that jclouds4one let opennebula use jclouds…  
I’d like to use jClouds to manage OpenNebula and not viceversa

---

<div class="post-metadata">

**Author:** ![capvt](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/capvt/32/4497_2.png) [@capvt](https://forum.opennebula.io/u/capvt)\
**Post date:** [January 27, 2016, 5:38pm UTC](https://forum.opennebula.io/t/jclouds-support/1677/4 "2016-01-27T17:38:07Z")

</div>

I have created a class for jClouds to access OpenNebula… but when I try to list instances (like econe-describe-instances does) I get error because OpenNebula instances don’t match EC2 instances types (the protocol I’m using to interface)…  
it fails when it tries to get InstanceType (i.e. m1.small ) but OpenNebula instances and templates don’t have that attribute…

---

<div class="post-metadata">

**Author:** ![dmolina](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmolina/32/22_2.png) [@dmolina](https://forum.opennebula.io/u/dmolina)\
**Post date:** [February 1, 2016, 10:48am UTC](https://forum.opennebula.io/t/jclouds-support/1677/5 "2016-02-01T10:48:29Z")

</div>

You can only list opennebula instances that have been instantiated through the EC2 interface.

---

<div class="post-metadata">

**Author:** ![capvt](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/capvt/32/4497_2.png) [@capvt](https://forum.opennebula.io/u/capvt)\
**Post date:** [February 5, 2016, 12:09pm UTC](https://forum.opennebula.io/t/jclouds-support/1677/6 "2016-02-05T12:09:55Z")

</div>

thank you for your reply  
one more question  
can I deploy and manage vms in opennebula with aws ec2 cli?  
or I can only manage those already deployed on aws?

---

<div class="post-metadata">

**Author:** ![dmolina](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dmolina/32/22_2.png) [@dmolina](https://forum.opennebula.io/u/dmolina)\
**Post date:** [February 8, 2016, 8:23am UTC](https://forum.opennebula.io/t/jclouds-support/1677/7 "2016-02-08T08:23:22Z")

</div>

You can use the aws ec2 cli to interact with OpenNebula, but you have to deploy the econe-server [1] on top of oned. Note that this server implements a subset of the Amazon API, so you will find commands that will not work. You can find the list of supported API calls in the docs [2].

This way you will be able to deploy VMs locally (kvm, xen, VMWare…) or in an external cloud provider (EC2, Azure, Softalyer…), if you have configured a hybrid host [3], using the aws ec2 cli. However, in order to use all the functionality provided by OpenNebula I would recommend you to use the native OpenNebula interfaces (Sunstone, CLI, OCA bindings…)

[1] [http://docs.opennebula.org/4.14/advanced\_administration/public\_cloud/ec2qcg.html](http://docs.opennebula.org/4.14/advanced_administration/public_cloud/ec2qcg.html)  
[2] [http://docs.opennebula.org/4.14/advanced\_administration/public\_cloud/ec2qug.html](http://docs.opennebula.org/4.14/advanced_administration/public_cloud/ec2qug.html)  
[3] [http://docs.opennebula.org/4.14/advanced\_administration/cloud\_bursting/introh.html](http://docs.opennebula.org/4.14/advanced_administration/cloud_bursting/introh.html)
