# Ansible v1.6.3 - EC2 module fails when launching

**URL:** <https://forum.ansible.com/t/ansible-v1-6-3-ec2-module-fails-when-launching/15511>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [June 20, 2014, 4:47am UTC](https://forum.ansible.com/t/ansible-v1-6-3-ec2-module-fails-when-launching/15511 "2014-06-20T04:47:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dayne\_Lucas](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@Dayne\_Lucas](https://forum.ansible.com/u/Dayne_Lucas)\
**Post date:** [June 20, 2014, 4:47am UTC](https://forum.ansible.com/t/ansible-v1-6-3-ec2-module-fails-when-launching/15511/1 "2014-06-20T04:47:17Z")

</div>

Hi,

I am trying to use the ansible package from PPA on Ubuntu (v1.6.3), however whenever I try and use the ec2 module to startup an ec2 instance into a VPC I get the following error:

`failed: [localhost] => {"failed": true, "parsed": false} invalid output was: Traceback (most recent call last): File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 2576, in <module> main() File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 1160, in main (instance_dict_array, new_instance_ids, changed) = create_instances(module, ec2) File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 956, in create_instances d = get_instance_info(inst) File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 574, in get_instance_info 'ebs_optimized': inst.ebs_optimized} AttributeError: 'Instance' object has no attribute 'ebs_optimized'`

What am I doing wrong. Thank you in advance for your help.

Best regards,

Dayne

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [June 20, 2014, 7:28pm UTC](https://forum.ansible.com/t/ansible-v1-6-3-ec2-module-fails-when-launching/15511/2 "2014-06-20T19:28:06Z")

</div>

It appears that your version of boto installed does not support that option. Upgrading boto should take care of that, and I’ve added the following patch to the devel branch to address this:

[https://github.com/ansible/ansible/commit/1c3a654912f5058b527458eef5b94edf40ad43e4](https://github.com/ansible/ansible/commit/1c3a654912f5058b527458eef5b94edf40ad43e4)

Please let us know if you continue seeing problems related to this. Thanks!
