# How can we deploy, start and ingest pipeline for ELSER2?

**URL:** https://discuss.elastic.co/t/how-can-we-deploy-start-and-ingest-pipeline-for-elser2/348251
**Category:** Terraform
**Tags:** elastic-stack-machine-learning
**Created:** [November 29, 2023, 3:23pm UTC](https://discuss.elastic.co/t/how-can-we-deploy-start-and-ingest-pipeline-for-elser2/348251 "2023-11-29T15:23:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Rakesh\_Nayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakesh_nayak/32/124209_2.png) [@Rakesh\_Nayak](https://discuss.elastic.co/u/Rakesh_Nayak)
#### Post date: [November 29, 2023, 3:23pm UTC](https://discuss.elastic.co/t/how-can-we-deploy-start-and-ingest-pipeline-for-elser2/348251/1 "2023-11-29T15:23:11Z")

</div>

Hello Team,

We are exploring using ELSER2 and we have migrated ourselves to use elastic 8.11.1. We have done the POC of the deploy/start of the elser model and created an ingest pipeline through Kibanna. But we need to do this through Terraform (since this is how we create clusters for Prod at the moment) and need guidance on how can we do this. Please share your input.

To be clear about the ask, at the moment we do the steps as below screenshot in kibanna. How can we do this using terraform

 ![Screenshot 2023-11-29 at 8.54.02 PM](https://us1.discourse-cdn.com/elastic/original/3X/d/9/d9574a93875f0ecef847fac45c5037d3ac3fad50.png)  
 ![Screenshot 2023-11-29 at 8.54.09 PM](https://us1.discourse-cdn.com/elastic/original/3X/a/e/aef91649438327b5eb53a4f04a7cc7041f95d354.png)  
 ![Screenshot 2023-11-29 at 8.54.38 PM](https://us1.discourse-cdn.com/elastic/original/3X/4/5/458698be44ec98314782ea465d87a78a071fb07e.png)

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [November 29, 2023, 3:53pm UTC](https://discuss.elastic.co/t/how-can-we-deploy-start-and-ingest-pipeline-for-elser2/348251/2 "2023-11-29T15:53:55Z")

</div>

Hi @Rakesh_Nayak

You can do all the operations via the Elasticsearch REST API or Python Client... unfortunately I do not believe that level of configuration is supported directly via the Terraform Provider
