About OpenSearch
OpenSearch is a distributed search engine on Apache Lucene, governed by the OpenSearch Software Foundation under the Linux Foundation and licensed Apache-2.0. It indexes JSON documents for full-text and vector search, aggregations and log analytics, with security, alerting and anomaly detection plugins included.
Search clusters want memory and fast disks: give the JVM heap about half the RAM and keep data on NVMe. A CloudSat 4 GB plan is a workable single-node start; resize as indices grow.
The REST API listens on port 9200 over HTTPS with demo certificates. The admin password set at install is in /root/app-credentials.txt.
What you get with OpenSearch
- Full-text search with Lucene relevance scoring
- k-NN vector search for semantic and RAG use
- Aggregations plus SQL and PPL query languages
- Security plugin with users, roles and TLS
- Alerting, anomaly detection and index management
OpenSearch use cases
- Add search to a website or app
- Store and query application logs
- Run vector search for an AI retrieval pipeline
After you deploy OpenSearch
- After the server turns Running, connect over SSH and look up the
adminpassword in/root/app-credentials.txt. - Test the node with
curl -u admin --insecure https://localhost:9200, which returns the cluster name and version. - Replace the demo certificates and internal users before production; they are not meant for real data.
- Keep 9200 closed to the internet and admit only your app servers through a CloudSat firewall; add OpenSearch Dashboards if you want a UI.
OpenSearch ports
Open these in your firewall if you use one: 9200/tcp REST API (HTTPS), 9600/tcp performance analyzer.
OpenSearch FAQ
Is OpenSearch compatible with Elasticsearch clients?
It began as a fork of Elasticsearch 7.10.2 and many tools still work, but the APIs have diverged since. Use the OpenSearch clients for new code.
Why does OpenSearch refuse to start?
Check vm.max_map_count first: OpenSearch needs at least 262144. Set it in /etc/sysctl.conf so the value survives reboots.
Disclaimer. The OpenSearch project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.