# launch a EC2 deployment through Ansible

**URL:** <https://forum.ansible.com/t/launch-a-ec2-deployment-through-ansible/13140>\
**Category:** Ansible Project\
**Created:** [July 17, 2013, 8:55am UTC](https://forum.ansible.com/t/launch-a-ec2-deployment-through-ansible/13140 "2013-07-17T08:55:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_G](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Post date:** [July 17, 2013, 8:55am UTC](https://forum.ansible.com/t/launch-a-ec2-deployment-through-ansible/13140/1 "2013-07-17T08:55:43Z")

</div>

Hi All,

I was testing the Ansible ec2.py plugin to create an inventory of our EC2 instances, is there a way I could launch a full setup from Ansible without the need to manually boot every ec2 instance one by one and copy/paste their address in the inventory file ?

I would like to run a simple Ansible playbook that will launch a 3 tier deployment (db, web , load balancer) and once the servers have boot to start the configuration all done automatically.

Regards,  
Nicolas.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [July 17, 2013, 11:20am UTC](https://forum.ansible.com/t/launch-a-ec2-deployment-through-ansible/13140/2 "2013-07-17T11:20:40Z")

</div>

Yes! See the add\_host example in the AWS chapter of the documentation about how to add hosts and dynamically add them to inventory, and more about pulling inventory from AWS.
