Azure – Networking – Part 27 – Azure Load Balancer – Outbound Rule – Lab Exercise



Hello Friends,

Hope you all are doing good. In our last article we have discussed on the Concept of Azure Load Balancer Outbound Rule. Today in this article, we will see how to configure outbound connectivity.

Tool Installation Articles :

  1. Configure Azure Command Line Interface ( Azure CLI) On Windows
  2. Configure PowerShell For Microsoft Azure Az Module On Windows

Previous Azure Series :

  1. Learn Basics Of Microsoft Azure Storage services
  2. Learn Basic Of Azure Active Directory And Azure Identity And Access Management
  3. Azure DevOps – Learn at one place

If you have missed our previous articles on Azure Networking, please check it in following links.

Part 1 – Basics of Azure Networking

  • *
  • *
  • *

Part 19 – Azure Traffic Manager 2 -Create Traffic Manager Profile using (Cloud Shell)

Part 20 – Azure Route Table

Part 21 – Azure Route Table 2 – Configure User Define Route (UDR)

Part 22 – Azure Load Balancer – Overview

Part 23 – Azure Load Balancer -Configure Basic Load Balancer – 1

Part 24 – Azure Load Balancer – Configure Basic Load Balancer – 2

Part 25 – Azure Load Balancer – Configure Basic Load Balancer -3

Part 26 – Azure Load Balancer – Outbound Connectivity

Next Article : Part 28 – Azure Virtual Network NAT (Network Address Translation)

Azure Load Balancer (LB) Outbound Rule

In our last article, we have discussed more on theoretical part of Azure Load balancer outbound rule. Now in this article I would like to go through and lab exercise of configuring outbound rule for an Azure load balancer for Outbound Connectivity.

Lab Exercise

Before we proceed for our lab, I would like to tell you that, to get the benefits of LB outbound connectivity, our Load Balancer (LB) must be a standard public Load Balancer. In one of our previous article we have seen how to configure a load balancer . In this article, I am not going to discuss on how to configure Load balancer as I have already configured a standard public load balancer. Following figures will shows the configuration of my exiting standard load balancer.

In the following figure, it is showing, during configuring the static load balancer, by default it configured for the Outbound connectivity.

Figure 1 : Azure – Networking – Load Balancer

Following figure showing the overview of my existing Azure standard public load balancer.

Figure 2 : Azure – Networking – Load Balancer Overview

following figure showing the Frontend IP configuration page of my standard load balancer.

Figure 3 : Azure – Networking – Load Balancer Frontend IP Address

We can see the Backend Pool configured for my standard load balancer in the following figure. Both server has no public IP configured and having static private IP.

Figure 4 : Azure – Networking – Load Balancer Backend Pool

Following figure showing an Inbound NAT rule configuration for one of my backend pool server so that user can have a RDP session whenever want.

Using NAT rule we are able to do RDP to the VM in backend and now we want to apply an update to software on the server, in that case we need to establish a outbound connection on to the internet to get the software update and apply to the VM.

Figure 5 : Azure – Networking – Load Balancer NAT Rule

In the following figure we can see, that after RDP session to the server/VM, I have tried for a out side connectivity by accessing my Knowledge- junction page but in turn, it does not allow me to have an outside connectivity. Because, with the out of box configuration, we can not initiate an outbound connection.

Figure 6 : Azure – Networking – Load Balancer Outbound Rule not Configured

By default the incoming connection are allowed and the response back is allowed but if a connection needs to be initiated from the VM itself on to the internet , by default the setting we have , it will not be allowed there we need to specifically create an Outbound rule to ensure to open the ports on the azure VM to allow this outbound connection. Now in the lab we will see it is very easy to configure.

To achieve the above requirement, we need to configure NAT outbound rule to allow outbound connection. As showing in the following figure, Go to the Overview page of our Standard load balancer => Click on Outbound rules => Click +Add button to start outbound rule configuration.

Figure 7 : Azure – Networking – Load Balancer Outbound Rule

It will open Add outbound rule dialog page. Here we need to provide the details as per our requirement and click Add button to complete the configuration as showing in the following figure.

Figure 8 : Azure – Networking – Load Balancer Outbound Rule
Figure 9 : Azure – Networking – Load Balancer Outbound Rule

Once we configured the Outbound rule, let’s try to establish an outbound connectivity by accessing Knowledge-Junction page. As we can see in the following figure, this time I can successfully connect with outside world.

Figure 10 : Azure – Networking – Load Balancer Outbound Connectivity Allowed

With the above information, I am concluding this article. I hope this is informative to you. Please let me know if I missed anything important or if my understanding is not up to the mark.

Next Article : Part 28 – Azure Virtual Network NAT (Network Address Translation

Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more. In our next article we will continue with the Lab exercise with configuring load balancer.

If you have any suggestion / feedback / doubt, you are most welcome. Stay tuned on Knowledge-Junction, will come up with more such articles.

Thanks for reading 🙂

Manas Ranjan Moharana

Around 11+ years of total IT experience and since last 10 years working on almost on all version of SharePoint .Interested in learning and sharing something new to be helthy.

You may also like...

5 Responses

  1. February 9, 2022

    […] Chapter 27 – Azure Load Balancer – Outbound Rule – Lab Exercise […]

  2. February 11, 2022

    […] Part 27 – Azure Load Balancer – Outbound Rule – Lab Exercise […]

  3. March 10, 2022

    […] Part 27 – Azure Load Balancer – Outbound Rule – Lab Exercise […]

  4. March 13, 2022

    […] Part 27 – Azure Load Balancer – Outbound Rule – Lab Exercise […]

  5. March 20, 2022

    […] Part 27 – Azure Load Balancer – Outbound Rule – Lab Exercise […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: