This article provides in depth steps on how to setup a 2-Node Elasticsearch cluster on Ubuntu 18.04. Details about Elasticsearch API is provided.
devconnected.com