Installing OpenSearch
At the time of writing, there are three methods for installing OpenSearch – Docker, tarball, and an Ansible recipe. Here, you will learn how to install it using Docker because that is the easiest and fastest way to deploy an OpenSearch instance, or even a cluster.
You can reach the Docker images in the Docker hub through the following link: https://hub.docker.com/u/opensearchproject.
To get the latest images of OpenSearch and OpenSearch Dashboards, you can run the following commands:
docker pull opensearchproject/opensearch:latest
docker pull opensearchproject/opensearch-dashboards:latest
To deploy a single instance of OpenSearch, run the following command:
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:latest
To check that it’s working, go to your web browser and point it to this address: https://localhost:9200.
Accept the security risk warning of your browser,...