# Cloudformation for elasticsearch cluster on aws

**URL:** <https://discuss.elastic.co/t/cloudformation-for-elasticsearch-cluster-on-aws/61314>\
**Category:** Elasticsearch\
**Created:** [September 22, 2016, 9:51pm UTC](https://discuss.elastic.co/t/cloudformation-for-elasticsearch-cluster-on-aws/61314 "2016-09-22T21:51:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![santsaha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/santsaha/32/6010_2.png) [@santsaha](https://discuss.elastic.co/u/santsaha)\
**Post date:** [September 22, 2016, 9:51pm UTC](https://discuss.elastic.co/t/cloudformation-for-elasticsearch-cluster-on-aws/61314/1 "2016-09-22T21:51:45Z")

</div>

I want to have an elasticsearch cluster deployed on AWS. I want to use Cloudformation to create the infra as well as install elasticsearch on those ec2 instances.

I don't want to use Ansible and am thinking of leveraging UserData in CF template to install the elasticsearch packages and make changes to config yaml files.

Has anyone solved this problem lately ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:17pm UTC](https://discuss.elastic.co/t/cloudformation-for-elasticsearch-cluster-on-aws/61314/2 "2017-07-05T22:17:58Z")

</div>


