Microsoft Azure

Load balancing and high availability using Azure Load Balancer between two virtual machines (Part 1: Creating a virtual machine using the Azure portal)

Hello, in this series of articles we will see how to include two virtual machines in load balancing, one we will supply using the Azure portal, another using a JSON template, we will configure the public load balancer and we will expose the web service through the port 80.

Prerequisites:

  • Visual Studio 2017 with de Azure module instaled.
  • A Microsoft Azure subscription.
  • Powershell with the Azure module (https://azure.microsoft.com/es-es/downloads)

The architecture would be similar to this:

This image has an empty alt attribute

Disclaimer: Given the constant updating of Cloud Computing technologies some steps may be different at the time of reading the article, I will make the effort to keep it updated, but there could be some differences between what is shown below and the Azure console at the moment of the implementation.

Creating the first virtual machine using the Azure portal

  1. Enter the MS Azure portal at https://portal.azure.com/, once inside enter All Services>Virtual Machines.
  2. Click on Add
  3. For the creation of resources I will use a convention of the initials of the type of resource followed by the initial of the name, surname and in case you need to create two equal resources we will put the number 02, for my case the initial of my name and my last name would be vvillar. So let’s go with the following configuration:
  4. Click on Next: Disks>
  5. Click on Next: Networking>
  6. Click on Next: Management>
  7. Click on Next: Advanced > In this Blade (window) if we want to add some extension of Microsoft or third parties we can do it, for this exercise we will not add any extension.
  8. Click on Nextt: Tags >
    • Name: IaaS
    • Value: Virtual Machine 01
  9. Click on Next: Review + Create >
    Wait until the phrase Validation Passed appears, click on Download template for automation to create our second virtual machine.
  10. Click on Download, save the zip file locally.
  11. Close the window to return to the previous one and click on Create
  12. Wait for the resources to finish creating and in the top left part click on Go to resource in the Notifications section (symbol of a bell)

Click here to go to the second part

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments