Creating a Windows Virtual Machine on Azure for Elasticsearch

Table of Contents

Creating virtual machine

  1. Go to portal.azure.com.
  2. Select Virtual machines.

If you can't find it on your main menu, look under More services.

  1. Select Create > Virtual machine.

  1. Select your subscription, resource group, region, and operating system, then name your virtual machine.

  1. Pick the size of your machine. You need at least B2 level. To see the sizes, select See all sizes.

  1. Enter the username and password for the admin account.

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

  1. Select Review + create.
  2. Select Create.


Opening the VM’s ports in Azure

Once you create your machine, you will need to add more inbound rules in the networking section of your VM.

  1. Go to Your VM.

  1. Go to Networking.

  1. Select Add inbound port rule.

  1. To allow the port of Elasticsearch to be accessed from the outside, change the "Destination port ranges" to 9200 and choose the TCP protocol.
  2. Name this rule "ElasticSearch."

  1. Select Add.

Connecting to Windows VM

  1. Open Remote Desktop Connection.

  1. In the "Computer" field, enter the IP address of your Azure VM preceded by ":3389" (for example, 230.127.115.130:3389).
  2. Select Connect.

  1. You can find the IP address of your Azure VM here:

  1. Type in the username and password of the user you created in "Configuring a VM on Azure for Elasticsearch", and then select OK.

  1. Agree to the certificate.

You are now connected to the VM.



Was this article helpful?

Please, contact us if you have any additional questions.