00 - Setting Up Elastic Search

There are many way to install Elastic Search. For this course, I will be using Docker Compose way to install Elastic Search because it allows your to get up and running Elastic Search in shortest amount of time. If you are interested in installing via VM via vagrant, here is the link to the Github repo.

Here is link to Docker compose file to start a multi-node cluster on your local machine

Docker - Elasticsearch

Running ES Queries

GET /_cluster/health

GET /_cat/nodes?v

GET /_cat/indices

Using HTTP CA Certs and Basic Authentication for ES request

curl --cacert /path/to/elasticsearch/config/certs/http_ca.crt -u elastic:password https://localhost:9200