Hi all!!
is there a way to manage instances running on openstack (on a separate cloud) with opennebula?
Thank you!!
Hi,
Not now, there is a feature request to create a new hybrid driver for OpenStack clouds.
http://dev.opennebula.org/issues/4302
Kind regards,
Thanks for your reply!!
One more question…is there a way to manage instances running on AWS EC2 with OpenNebula?
Thank you!!
Yes, on AWS, Azure and SoftLayer. All is here
http://docs.opennebula.org/4.14/advanced_administration/cloud_bursting/index.html
Best,
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
Hi,
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.
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.
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
Thank you!