Elasticsearch is an open-source, highly available search engine that is custom-built for cloud servers, based on the distributed restful API. It can perform searches at an extremely fast rate, actively supporting your data discovery. It has features including support for multi-tenant with multi types, various sets of APIs including PHP API, and a host of other features. To set up Elasticsearch on Cloudways, follow the steps below.
How to Configure Elasticsearch on Cloudways
Step 1: Go to Server Management
Click on Servers in the top menu bar and then select the desired server on which you need to enable Elasticsearch.
Step 2: Enable Elasticsearch on Your Server
Under the Server Management area, click on the Settings & Packages section. Click on the Packages tab.
Navigate to the Elasticsearch option, then choose your preferred version ( 1.7, 2.4, 5.4, and 6.5 are supported ) from the drop-down menu, and select Install to activate it.
In a few moments, Elasticsearch should be enabled on your Cloudways server.
To know more about how you can utilize this search engine on your web application, please check out our blog post on Elasticsearch.
Elasticsearch listens on port number 9200 and is only allowed for local access by default.
It is important to note that changing versions may involve compatibility issues, therefore make sure that you have data and/or index compatibility while changing the version.
To uninstall Elasticsearch, please use Disable from the dropdown menu, this option will completely remove Elasticsearch along with its data.
If you want to access it remotely or via your browser or through a dedicated IP, please contact the support team via live chat or through the online ticketing system.
That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.