Git Product home page Git Product logo

mysterionrise / flavours-of-elastic Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 5.0 62 KB

Different docker-compose examples and configurations for different distribution of search engines based on Elastic, such as: OpenSearch and ElasticSearch OSS or licensed version

License: MIT License

Dockerfile 29.43% Python 70.57%
docker elastic opendistro-elastic elasticsearch docker-compose opendistro opensearch

flavours-of-elastic's Introduction

Repo with collection of different Elastic flavours and their usage

What's supported:

Versions (.env file)

  • OpenSearch: 2.9.0
  • Elastic OSS (legacy): 7.10.2
  • Elastic Stack 8.9.1

How To Run Those Examples

You would need to install Docker and Docker Compose

Start cluster

# fill in .env file with ELASTIC_PASSWORD and KIBANA_PASSWORD
# Elastic Stack
docker-compose -f docker/elk/docker-compose.yml --env-file .env up
curl --insecure https://localhost:9200 -u elastic:ELASTIC_PASSWORD

# OPENSEARCH
docker-compose -f docker/opensearch/docker-compose.yml --env-file .env up
curl --insecure https://localhost:9200 -u admin:admin

# Elasticsearch OSS (do not update OSS version)
docker-compose -f docker/elk-oss/docker-compose.yml --env-file .env up
curl http://localhost:9200

After some time you will have Kibana/OpenSearch Dashboards available at this URL

Licence Changes

After recent changes announced for Elastic to move its product to SSPL licence, I would strongly recommend to keep using truly open source version of it. Not only it has security features available for free, but also it doesn't have any strings attached to it via SSPL licence.

Read more on this here

Benchmarking

One of the possibility to compare those are to use ESRally and run some experiments with it

Install ESRally

Elastic Stack

Install ESRally

pip3 install esrally

and then benchmark

esrally race --track=geonames --target-hosts=localhost:9200 --pipeline=benchmark-only --client-options="use_ssl:true,verify_certs:false,basic_auth_user:'admin',basic_auth_password:'admin'"

OpenSearch

Install Opensearch Benchmark

pip install opensearch-benchmark

and then benchmark

opensearch-benchmark execute-test --workload=geonames --target-hosts=localhost:9200 --pipeline=benchmark-only --client-options="use_ssl:true,verify_certs:false,basic_auth_user:'admin',basic_auth_password:'admin'"

Enjoy the results or create your own test experiments.

flavours-of-elastic's People

Contributors

f1nzer avatar mysterionrise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flavours-of-elastic's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.