Elasticsearch Configuration in UAT/PAT Environment

We are trying to setup/install Elastic search in UAT/PAT environment.

Where can we deploy the Elastic search in our project?
In local environment we have target folder and it is added as part of relevance plugin.
In UAT environment ,How can we achieve this?
Please provide the inputs on the same.

TIA

For server environments you need to set up Elasticsearch as it’s own application. Refer to the Elastic documentation for details. We have no specific recommendations or requirements for Elastic other than a version and that you should use at least a 2 node cluster in production.