# Multiple volumes attach to ec2 from single snapshot

**URL:** <https://forum.ansible.com/t/multiple-volumes-attach-to-ec2-from-single-snapshot/36939>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [August 3, 2022, 11:00am UTC](https://forum.ansible.com/t/multiple-volumes-attach-to-ec2-from-single-snapshot/36939 "2022-08-03T11:00:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parth\_Patel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@Parth\_Patel](https://forum.ansible.com/u/Parth_Patel)\
**Post date:** [August 3, 2022, 11:00am UTC](https://forum.ansible.com/t/multiple-volumes-attach-to-ec2-from-single-snapshot/36939/1 "2022-08-03T11:00:51Z")

</div>

Hi Team,

I would like to know the approach to attach more than then the same volume to ec2 generated from a single snapshot only.

I did achieve generating a single volume and attaching it to ec2 from the snapshot.

amazon.aws.ec2\_vol:  
instance:   
snapshot:   
tags:   
volume\_type:

---

<div class="post-metadata">

**Author:** ![Walter\_Rowe](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/walter_rowe/32/4506_2.png) [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Post date:** [August 3, 2022, 6:06pm UTC](https://forum.ansible.com/t/multiple-volumes-attach-to-ec2-from-single-snapshot/36939/2 "2022-08-03T18:06:16Z")

</div>

Take a look at the ec2\_instance module. It has a volumes parameter.

[https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2\_instance\_module.html#ansible-collections-amazon-aws-ec2-instance-module](https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_instance_module.html#ansible-collections-amazon-aws-ec2-instance-module)

I don’t know if you can launch from a snapshot AND attach multiple additional volumes in a single task using this. Worth checking into.
