Ec2 with a opennebula ESXi

is possible to access to mi amazon ec2 account if i have a Esxi opennebula configuration?

I folllow this guide and now i would like to connect to my ec2 instances
http://docs.opennebula.org/4.10/design_and_installation/quick_starts/qs_centos_vmware.html#qs-centos-vmware

how i do to create a instance in amazon since my opennebula sunstone?

Thanks

Hi,

Yes, it is entirely doable, please follow the guide of the Amazon EC2 driver to configure and enable this functionality.

-Tino

hi, thanks i already create the Amazon ec2 host and now when i try to create a template and instantiate a VM the VM keep in pending.

This is my template:
SCHED_REQUIREMENTS="ID="1""
CPU=“1"
SUNSTONE_CAPACITY_SELECT=“YES"
CONTEXT=[SSH_PUBLIC_KEY=”$USER[SSH_PUBLIC_KEY]”,NETWORK=“YES”]
MEMORY="613"
EC2=[INSTANCETYPE=“t1.micro”,AMI=“ami-17c44860”,KEYPAIR=“nebula1”]
SUNSTONE_NETWORK_SELECT=“YES”


questions:

The ami has to be to my property ?
because i use a public template from amazon

something is missing in my template?


Thanks

Could you share the output of “onehost list”?

The template seems to be fine. The ami needs to be accessible by you (either of your property or public)

ID NAME CLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT
0 172.16.36.110 - 1 100 / 400 (25%) 512M / 8G (6%) on
1 ec2 - 0 0 / 500 (0%) - on

Othe question, the key pairs has to be the Cloud Front key pairs from my security credentials or the key pairs from my ec2 dashboard ?

Thanks

There seems to be a problem with the memory capacity of the ec2 host, check your ec2_driver.conf configuration. That is why the VMs are in pending (you can force the deployment however, to check that the driver is working properly)

Regarding the keypairs, you need to use the ones from your ec2 dashboard.

-Tino

thanks i already solved my issue thanks a lot :slight_smile: