# Manage Openstack instances with OpenNebula

**URL:** <https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720>\
**Category:** Product Support\
**Created:** [January 27, 2016, 10:37am UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720 "2016-01-27T10:37:31Z")\
**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 27, 2016, 10:37am UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720/1 "2016-01-27T10:37:31Z")

</div>

Hi all!!  
is there a way to manage instances running on openstack (on a separate cloud) with opennebula?  
Thank you!!

---

<div class="post-metadata">

**Author:** ![imllorente](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/imllorente/32/6433_2.png) [@imllorente](https://forum.opennebula.io/u/imllorente)\
**Post date:** [January 27, 2016, 12:09pm UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720/2 "2016-01-27T12:09:42Z")

</div>

Hi,

Not now, there is a feature request to create a new hybrid driver for OpenStack clouds.

[http://dev.opennebula.org/issues/4302](http://dev.opennebula.org/issues/4302)

Kind regards,

---

<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, 4:59pm UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720/3 "2016-01-27T16:59:31Z")

</div>

Thanks for your reply!!  
One more question…is there a way to manage instances running on AWS EC2 with OpenNebula?  
Thank you!!

---

<div class="post-metadata">

**Author:** ![imllorente](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/imllorente/32/6433_2.png) [@imllorente](https://forum.opennebula.io/u/imllorente)\
**Post date:** [January 27, 2016, 6:02pm UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720/4 "2016-01-27T18:02:54Z")

</div>

Yes, on AWS, Azure and SoftLayer. All is here

[http://docs.opennebula.org/4.14/advanced\_administration/cloud\_bursting/index.html](http://docs.opennebula.org/4.14/advanced_administration/cloud_bursting/index.html)

Best,

---

<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 28, 2016, 11:56am UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720/5 "2016-01-28T11:56:47Z")

</div>

Thank you  
I’m trying the aws free tier and I wouldn’t incur in further expenses 😉  
so I need to set carefully all the parameters because only some are eligible for free tier…

I’ve set the EC2 host  
now it’s time to set the VM template where do I find all the parameters like AMI, AKI and so on? Which are optional and which are mandatory?

I already have a free instance running on aws ec2… how do I get it in opennebula?  
it is necessary to launch it from opennebula or opennebula can recognize it?

About image…do I have to download it?

this is the template  
NAME = “ec2template”

```
CPU = 1
MEMORY = 1024

EC2 = [ AMI="ami-fce3c696",
        KEYPAIR="paolo-keypair-uswest1",
        INSTANCETYPE=t2.micro]

```

and this is the error

```
Thu Jan 28 15:32:09 2016 [Z0][VM][I]: New state is ACTIVE
Thu Jan 28 15:32:09 2016 [Z0][VM][I]: New LCM state is PROLOG
Thu Jan 28 15:32:10 2016 [Z0][VM][I]: New LCM state is BOOT
Thu Jan 28 15:32:11 2016 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/72/deployment.0
Thu Jan 28 15:32:11 2016 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Thu Jan 28 15:32:14 2016 [Z0][VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/ec2/deploy '/var/lib/one/vms/72/deployment.0' 'ec2' 72 ec2
Thu Jan 28 15:32:14 2016 [Z0][VMM][I]: The image id '[ami-fce3c696]' does not exist
Thu Jan 28 15:32:14 2016 [Z0][VMM][I]: Deploy of VM 72 on host ec2 with /var/lib/one/vms/72/deployment.0 failed due to "exit"
Thu Jan 28 15:32:14 2016 [Z0][VMM][I]: ExitCode: 255
Thu Jan 28 15:32:14 2016 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Thu Jan 28 15:32:14 2016 [Z0][VMM][E]: Error deploying virtual machine
Thu Jan 28 15:32:15 2016 [Z0][VM][I]: New LCM state is BOOT_FAILURE
```

---

<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 2, 2016, 10:31am UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720/6 "2016-02-02T10:31:44Z")

</div>

Hi,

> [@capvt](#):
>
> now it’s time to set the VM template where do I find all the parameters like AMI, AKI and so on? Which are optional and which are mandatory?

These are the list of supported attributes, the only mandatory attributes are the AMI and INSTANCE\_TYPE, but you can provide default values for them in `/etc/one/ec2_driver.default`

If you are using the Sunstone interface there is a section in template creation form with all the supported attrs.

 ![](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/f/f112027820e02f031954bb0ef771de9b31f3f788.png)

> [@capvt](#):
>
> I already have a free instance running on aws ec2… how do I get it in opennebula?it is necessary to launch it from opennebula or opennebula can recognize it?

You can import existing VMs running in EC2 into OpenNebula. These VMs are listed under the Wilds tab in the Host detailed information. After importing them you will be able to manage them from the VMs tab as any other OpenNebula VM.

> [@capvt](#):
>
> About image…do I have to download it?
> 
> this is the template NAME = “ec2template”
> 
> CPU = 1  
> MEMORY = 1024
> 
> EC2 = [ AMI=“ami-fce3c696”,  
> KEYPAIR=“paolo-keypair-uswest1”,  
> INSTANCETYPE=t2.micro]

You don’t have to download the AMI since you are not going to use it locally. Probably, the problem is that you are specifying an AMI that is not available in the default availability zone. You can include the AVAILABILITYZONE attribute to specify in which availability zone you want to deploy your instance

Hope this helps

---

<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 6, 2016, 1:24pm UTC](https://forum.opennebula.io/t/manage-openstack-instances-with-opennebula/1720/7 "2016-02-06T13:24:56Z")

</div>

Thank you!
