# can't create gp2 EBS on AWS

**URL:** <https://forum.ansible.com/t/cant-create-gp2-ebs-on-aws/19829>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [November 23, 2015, 4:22pm UTC](https://forum.ansible.com/t/cant-create-gp2-ebs-on-aws/19829 "2015-11-23T16:22:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gal\_Gibli](https://avatars.discourse-cdn.com/v4/letter/g/d9b06d/32.png) [@Gal\_Gibli](https://forum.ansible.com/u/Gal_Gibli)\
**Post date:** [November 23, 2015, 4:22pm UTC](https://forum.ansible.com/t/cant-create-gp2-ebs-on-aws/19829/1 "2015-11-23T16:22:07Z")

</div>

I have accomplished to start an instance with an ansible-playbook.  
The only issue I had and could not figure out what it is,  
In the “volumes:” section i have put “volume\_type: gp2”.  
Even though I have asked for gp2 (after looking at the documentation few times) it start an EBS IO standard.

> volumes:
> 
> - device\_name: /dev/xvda  
> volume\_type: gp2  
> volume\_size: 50  
> delete\_on\_termination: true

Ansible version 1.9.4

---

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.ansible.com/u/Jeremy)\
**Post date:** [November 23, 2015, 5:00pm UTC](https://forum.ansible.com/t/cant-create-gp2-ebs-on-aws/19829/2 "2015-11-23T17:00:54Z")

</div>

The gp2 volume\_type is general purpose SSD. If you want provisioned IOPs, you need to use the volume\_type of io1 and set the iops parameter. Is that what you were asking?

---

<div class="post-metadata">

**Author:** ![Mathieu\_Guillaume](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@Mathieu\_Guillaume](https://forum.ansible.com/u/Mathieu_Guillaume)\
**Post date:** [November 24, 2015, 11:27am UTC](https://forum.ansible.com/t/cant-create-gp2-ebs-on-aws/19829/3 "2015-11-24T11:27:06Z")

</div>

I ran into that too, it works if you also add “device\_type: gp2”, the volume\_type is probably for ansible 2.x
