# Can't create ec2 instance

**URL:** <https://forum.opennebula.io/t/cant-create-ec2-instance/1761>\
**Category:** Product Support\
**Created:** [February 2, 2016, 11:52am UTC](https://forum.opennebula.io/t/cant-create-ec2-instance/1761 "2016-02-02T11:52:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arigab](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Arigab](https://forum.opennebula.io/u/Arigab)\
**Post date:** [February 2, 2016, 11:52am UTC](https://forum.opennebula.io/t/cant-create-ec2-instance/1761/1 "2016-02-02T11:52:13Z")

</div>

Hello!

I trying to create ec2 instance and get error “Cannot schedule VM, there is no suitable host”. EC2 succefully connected to my OpenNubula and i can view/import/manage already running instance from AWS interface.

What could be the problem?

Thanks.

---

<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 4, 2016, 10:02am UTC](https://forum.opennebula.io/t/cant-create-ec2-instance/1761/2 "2016-02-04T10:02:42Z")

</div>

Could you share with us the template of the VM you are trying to instantiate and the output of the onehost list command?

---

<div class="post-metadata">

**Author:** ![debian112](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@debian112](https://forum.opennebula.io/u/debian112)\
**Post date:** [February 4, 2016, 3:21pm UTC](https://forum.opennebula.io/t/cant-create-ec2-instance/1761/3 "2016-02-04T15:21:35Z")

</div>

Also, check the host settings. If you are not able to see CPU/Mem info, then you have an error there.

Run: onehost list

---

<div class="post-metadata">

**Author:** ![Arigab](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Arigab](https://forum.opennebula.io/u/Arigab)\
**Post date:** [February 17, 2016, 10:37am UTC](https://forum.opennebula.io/t/cant-create-ec2-instance/1761/4 "2016-02-17T10:37:05Z")

</div>

Thanks for the reply, I have myself figured out the problem of setting a maximum debug level
