Elasticsearch For .NET Developer : Installing and Configuration

In this post, we will guide you how to quickly set up and running single instance elasticsearch in windows operating system.
This post is part 2 of the series “elasticsearch for .net developer”. Before proceeding, I strongly recommend to check out previous post Part 1 : Elasticsearch for .NET Developer – What and Why Elasticsearch

You need to have an administrative account to perform the installations and configurations. There are only a few steps that we needs to follow.

Step 1 :  Installing Java

Elasticsearch is built on Java, and requires Java 8 or higher(at the time of writing). The same JVM version should be used on all Elasticsearch nodes and clients otherwise, Elasticsearch will refuse to start if a known-bad version of Java is used.

Follow the link to download the latest java here

Step 2 : Installing Elasticsearch and Configuration

Elasticsearch is available in the different package formats like zip, tar.gz, deb, rpm, msi, docker. it’s best to use the .msi which will install Elasticsearch as a Windows service.

You can download it here

Follow the Installation wizard that will guide you through the installation process.

MSI installer configuration

Once the installation is successful, It will create a set of configuration folders in the specified location while installing.

Elasticsearch comes with good defaults and requires very little configuration. Go to the config folder, It contains a bunch of configuration level files as shown below:

Elasticsearch configuration


  • elasticsearch.yml – for configuring Elasticsearch like cluster name, http port etc.
  • jvm.options – for configuring Elasticsearch JVM settings
  • log4j2.properties – for configuring Elasticsearch logging


Step 3 : Running Elasticsearch

By now, Elasticsearch should be running on default port 9200. In your browser, navigate to http://localhost:9200/, you should see a code snippet similar to the following:

elasticsearch response

If you see a response similar to the one above, then Congratulations! to you, you have your Elasticsearch instance up-and-running.

The output is JSON object. If you are not familiar with JSON, please take a minute and read about it here.

Interacting with Elasticsearch

Elasticsearch doesn’t actually comes with a native GUI. But, There are a couple of third-party GUI’s developed and provided by the community. Popular options are for example cerebroElastic HQ and elasticsearch-head. Elasticsearch-head google chrome plugin is very easy to use as GUI. Go to chrome://extensions/ and install elasticsearch-head plugin

elasticsearch head


Now, when Elasticsearch is installed and running in your system, and you have also installed the plugins, you are good to go with creating your first index and performing some basic operations.

Useful Post :

So, it was all about Installing and Configuration Elasticsearch in Windows, if you have any query then please comment below and let us know. If you liked this article, then please follow us on Facebook to get notification for new posts.

Happy Learning 🙂

Rahul is a Data Geek, technology enthusiast, a passionate writer, thinker with passion for computer programming.  He loves to explore technology and finds ultimate joy when writing about trending technology, geek stuff and web development.