Creating a Windows Virtual Machine on Azure for Elastic Search

Table of Contents

Create Virtual Machine

  1. Go to portal.azure.com.
  2. Select “Virtual Machines”.

If it’s not on Your main menu, You can find it under “More services”.

  1. Click on “Create” and select “Virtual Machine”.

  1. Choose Your subscription, resource group, region and Operating System and name Your Virtual Machine.

  1. Choose the size of Your machine.

A minimum of B2s is required. You can see the sizes by clicking “See all sizes”

  1. Type in the Username and Password for the admin account.

  1. Make sure you have RDP (3389) port selected.

  1. Click “Review + create”.
  2. Click "Create".


Open the VM’s ports in Azure

After Your machine is created, additional inbound rules will have to be added in the networking section of Your VM.

  1. Go to Your VM.

  1. Go to Networking.

  1. Click “Add inbound port rule”.

  1. To allow the port of Elastic Search to be accessed from the outside, change the “Destination port ranges” to 9200 and choose the TCP protocol. Name this rule “ElasticSearch”.

  1. After that is done, click “Add”.

Connect to Windows VM

  1. Open “Remote Desktop Connection”.

  1. In “Computer”, type the IP of Your Azure VM preceded by “:3389” (for example 230.127.115.130:3389).
  2. Click “Connect”.

  1. The IP of Your Azure VM can be found here:

  1. Type in Your Username and Password of the user You created in “Configuring a VM on Azure for Elastic Search” and click ok.

  1. Agree to the certificate.

  1. You are now connected to the VM.



Was this article helpful?

Please, contact us if you have any additional questions.