Creating a Linux Based Virtual Machine on Azure for Elastic Search
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”
3. Click on “Create” and “Virtual Machine”
4. Choose Your subscription, resource group, region and Operating System and name Your Virtual Machine
5. Choose the size of Your machine. A minimum of B2s is required. You can see the sizes by pressing “See all sizes”
6. Make sure you have the “Password” checkmark selected and type in the Username and Password for the admin account
7. Make sure You have the SSH (22) inbound port selected.
8. Press “Review + create”.
9. After that, press create
Opening 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
2. Go to Networking
3. Press “Add inbound port rule”
4. 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”.
After that is done, press “Add”
5. Follow the same with “Destination port ranges” of 5601 and with priority of 315 and the name “Kibana”. This is a graphical interface that will have to be accessed from the outside, as the Linux VM lacks a graphical interface.
Connecting to a Linux VM
To connect to a Linux VM You need to connect via SHH. To connect via SSH with PowerShell:
1. Run PowerShell
Example: ssh KanBo@18.104.22.168 -p 22
After You run the command You will be asked about continuing the connection. Type in “yes” and press enter. You will then be prompted to type in Your password (You won’t be shown what You are typing). Use the password from the same step as the username. After typing in the password, press enter.
And You are now connected to the ElasticSearch VM, and can start Installing and configuring Elastic Search for KanBo!