activate all ec2 instance store (ephemeral drive)

Hi,

I am trying to automate ec2 instance launch launch and mount available all instance store for any instance.

ec2_module does have volume option which is more specific to type of instance. I didn’t find any way to tell ansible to activate all instance stores (ephemeral drive) available for the instance which it is launching.

anyone know how to do this ?

Thanks

Just select your EC2 instance type, and Amazon automatically attach ephemeral disks if they available for your instance type.

This doesn’t happen automatically.

From what I know is, we need to explicitly tell to activate all instance stores (ephemeral drive) available for the instance.