The best way to try out OpenSearch is to use Docker Compose. These steps will set up a two node cluster of OpenSearch plus OpenSearch Dashboards:
- Set up your Docker host environment
- macOS & Windows: In Docker Preferences > Resources, set RAM to at least 4 GB.
- Linux: Ensure
vm.max_map_count
is set to at least 262144 as per the documentation.
- Download docker-compose.yml into your desired directory
- Note for OpenSearch 2.12 or later: Fresh installs of 2.12 or later require that you define an admin password β using the
OPENSEARCH_INITIAL_ADMIN_PASSWORD
environment variable β when configuring the security demo. For more information, see Setting up a demo configuration.
- Note for OpenSearch 2.12 or later: Fresh installs of 2.12 or later require that you define an admin password β using the
- Run
docker-compose up
- Have a nice coffee while everything is downloading and starting up
- Navigate to http://localhost:5601/ for OpenSearch Dashboards
- Login with the default username (
admin
) and password (<custom-admin-password>
)