Azure Load Balancer Tutorial
Vložit
- čas přidán 23. 07. 2024
- Azure Load balancing allows for distribution of load or incoming network traffic across a group of backend resources or servers. It operates at layer 4 of the Open Systems Interconnection (OSI) model. It is the single point of contact for clients.
In this episode I give you introduction to what Azure Load Balancer service is and what are the key concepts around it including integrations with virtual machine scale sets and availability sets.
In this episodes live demo of
- Creating load balancer service
- Adding backend pools
- Creating health probes
- Creating load balancing rules
Source code: github.com/MarczakIO/azure4ev...
Next steps for you after watching the video
1. Load balancer documentation
- docs.microsoft.com/en-us/azur...
2. basic versus Standard Load Balancer
- docs.microsoft.com/en-us/azur...
3. Quickstart
- docs.microsoft.com/en-us/azur...
Want to connect?
- Blog marczak.io/
- Twitter / marczakio
- Facebook / marczakio
- LinkedIn / adam-marczak
- Site azure4everyone.com - Věda a technologie
Hey Adam,
The content you create is of super high quality with each and everything explained in detailed manner.
Your videos are one stop solution for me for any Azure related stuff.
Please keep spreading the knowledge.
Thanks, will do! I appreciate the kind words.
Perfect tutorial. Explains load balances in plain and simple language
Thanks, Adam for the lb tutorial. it's very clear and specific. I came to this tutorial when I had confusion while doing a lab. Adding a reminder to watch this space each Tuesday :).
Great to hear! You can always subscribe and hit that notification bell if you want to receive up to date emails with video links :)
Several hours of reading MS boring documentation, consolidated to 13 mins in this video. Great stuff Adam Thank you
True
Surprised you havent got more viewers, well narrated, to the point, and informative. I like it.
Thanks glad you like it. I think the answer to this question would be that my channel is quite new, just under 31 weeks old. Also I don't have big networking range to share it to many people which also means no reshares and lastly I'm not yet a great entertainer. In real situation I talk with great passion about stuff but on camera I somehow don't do it yet, but I'm working on that! :) But I'm still very happy with the result. Thanks for tuning in :)
Wow after searching and finding lot of content finally found your videos. These are really simple clean explanation.
Glad you like them!
Hello Adam,
This content teach me so many things. It is well explained and sharpened my curiosity to go further.
Thank you
My pleasure!
I would say i have seen one of the best video of explaining in CZcams.Kudos to you i am a beginner with Azure and i will follow more of your videos. and i could able to grasp the the terminologies and explanation of each and every term and the functionality of the load balancer and kudos to you i have subscribed your channel and thanks for the great video
Wow, thanks!
You make it so easy to understand, thanks for your work Adam !
Consistently the best Azure tutorials. Great stuff.
Great explanation, thanks for taking the time to put this together.
Hi Adam, studying for AZ-104 and this is helping me a lot! Thank you!
Fantastic, best of luck, you can do it :)
I think I went through about 20 videos before I found this one. Great content!
Ale numer, Polak rządzi w Azure. BRAWO!!!!! Więcej takich jak Adam!!!
I love your videos! Perfect explanation and i love the demos!!! helps so much, keep up with the amazing work! :)
Your tutorials are awesome. Thank you for providing cli scripts for practicing.
Glad you like them!
Hi Adam,
Man your content really helps me to deep under stand the topic. You are star. Keep it UP
hi Adam, Really Great Video. very simple and cleanly laid out. the Azure theme is been maintained throughout. Kudos to you man.. I just finished my overall training and did some exercise. But this video can be referred to anytime if we forget it. Subscribed.
Many thanks! Glad to have you on board!
Amazing!!! You are an incredible teacher. Loved your explanation
Thank you! 😃
Thanks Adam. You are wonderful and your videos are simply great.
I appreciate that! Thanks for tuning in!
Hey Adam, thanks for the video. I am surprised you haven't got more viewers also.
You and me both! Joking, I'm happy with my current viewers, you guys are fantastic :) ! Thanks for watching.
Hey Adam it's really helpful the difference between vmss and lb was asked in my interview n I able go answer it with a gud example all thanks to u . I was able to crack 2 Interviews back to back
Awesome, glad it helped out! Good luck on the interviews.
Hi Adam, Thank you for explaining things so clearly.
My pleasure :)
Good Explanation Adam! Short and to the point!
Glad it was helpful!
You are the best! thank you so much for all the great classes and videos!
Excellent video with end to end details. Thanks a lot !!!
Glad it helped!
Great explanation, very clear. Thanks a lot for this great content.
Glad it was helpful!
Wish Adam was working on my team. He has such a fantastic way for helping others understand complicated topics
Hehe, thank you :)
You explained it so well! Thanks Adam!
My pleasure!
Hi Adam, Thank you for explaining it so clearly.
Glad it was helpful! Thanks!
Very well explained! Thank you Adam!
My pleasure!
Hey Adam,
Thank you very much
It is really helpful for my career.
Content is really easy to understand
Appreciate your effort man!!!!!!!!!!!!!
Do continue, cheers............
Thanks mate! :)
great content, Adam! Liked and subscribed to your channel. Looking forward to more Azure videos!!
Your content is A+++ Thank you for this!
Adam.... Whatever I need to learn on Azure...I pick your video on that topic if available.....Thanks buddy for creating such awesome videos.
Happy to hear that!
simple and clean explanations, thank you.
Cheers!
Great Job Adam, thank you so much for your video.
Glad you enjoyed it!
Nice video, very detailed demonstration... thank for sharing the information
Glad it was helpful!
This is good tutorial and very distinctly.
CHeers! :D
Thank God !!! I wasted almost 2 days to find the option under back end pool ->Associated to "Availability Set" and this option is was there in old demo videos :) and finally I verified that your demo was also showing "Virtual machine" and Virtual Machine Scale set" :) Microsoft keep on changing the options :) R&D :)
haha! well yea, that's the nature of the cloud. Everything will be changing constantly, I just got used to this at this point. Thanks for tuning in!
Excellent video, very well explained, thank you!
Cheers! :)
I'm learning a lot with yours videos. thanks
My pleasure!
best azure videos ever ...Adam you rock bro!
Thank you :)
You can use CTRL + F5 in this example. It's quite useful when you need to reload tab and cache at the same time to see request going to the different instances.
Hey Adam, Your videos are so crisp :-) Love all your videos. Please make a video for the Application gateway and VMscale set
Thanks! Noted :)
Great job. First person I have subscribed too.
Awesome! Thank you!
Great video Mr Marczak
Thanks :)
Too good, superb explanation :-)
Thanks a lot 😊
Thanks my pal Adam... great one...
Hello Adam, This video is really superb ,great thanks
You are welcome! Thanks!
Loved this video
Really, really good video. Subscribed
Awesome, thank you!
Great vids man keep it up
Great training.
Glad you think so!
best tutorials, subscribed!
Awesome, thank you!
Thank you. You are brilliant 👍
Thank you too!
Thank You! this really helped
You're welcome!
Amazing video great! Thanks
Dzięki. Bardzo mi pomogłeś
hey man loved your content
Thanks!
Tyty helped so much!
Hi Adam, Thank you for explaining things so clearly.
I am facing an issue. When I am doing curl localhost -usebasicparsing, it is giving me 'Unable to connect to the remote server'. and so, my loadbalancer is also not working properly. Any idea what can be the issue here?
Hey! That's weird. Did you use the script that I provided for this tutorial? If so, maybe check if VMs got extension installed successfully.Thanks for watching :)
Thank You, great video...
Glad you liked it!
You are the best 👌
I follow you , you explain its very sample , thx bro
Happy to help
This is awesome.
Hi Adam, the demo you had seems to be for L4 Load Balancer. Would it support a web application running in the backend pool listening on HTTP protocol (REST API)?
Also, when would you use L7 Load Balancer?
Fantastic video, thank you :-)
Glad you enjoyed it!
Thnak you Adam.. Love from india
Thank you, likewise!
Great tutorial. Thanks
Glad it was helpful!
Thanks for this! BTW what do you use to create your topology diagrams?
Thanks! I used Visio for this video :)
Hi Adam, You have been posting amazing videos and thanks for that.
Could you please explain about how the traffic will flow to public load balancer when we have firewall placed in front of it. Lets say we have web application hosted internally and its load balanced using public facing load balancer. But I want the internet traffic to first hit the firewall before its sent internally. Where should the public DNS point to? My Firewall Public IP or Load balancer PIP? If its to my firewall, how that will be routed to my load balancer.
Thanks Adam, nice explanation. I have query on throttling number of concurrent requests. Can it be done at the Azure load balancer layer?
Thanks. Load Balancer doesn’t have out of the box throttling. If you are building web application try api management policies.
Good tutorial
Nice one 👍
Thanks ✌️
Please, How Do we manage a Linux VM Scale Set behind a load balancer, from the internet?
Hi. You mean common scale set tasks? If you here are examples
docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-manage-cli
Hey Adam,
Thanks for putting up this. Really appreciated.
One request, will you be able to do a series on APIM? specially Policies and Azure as function of APIM backend?
Cheers
APIM is definitely on the way! Got in on agenda, unfortunately there is still few important topics to cover but in Feb I should already have it out.
An of course thanks :)
Gracias Crack! Eres un papucho
¡gracias! 😁
great video, Do you know how to install ssl certificates to loadbalancer?
hey Adam. In my scenario i have two identical servers (having two different private IPs of course) and sophos XG sitting top of the servers. In XG the way i loadbalanced is that pushing traffic on both servers and it distributes the traffic. Since azure does not have a public dns url, which means i should be directing my application to the public IP only?
Hey. Azure Load Balancer can have public DNS if it has public IP assigned. Go to your public IP configuration blade and set DNS name there.
great stuff
Thanks!
Thank you!
Awesome Tutorial Mate. THANK YOU SO MUCH !
Could you consider teaching us Powershell for beginners and intermediate level in upcoming videos Pls
Thanks! Maybe in the future, for now I focus on Azure ;)
Great videos!! Can you do one with load balancer and AKS?
Thanks for this wonderful piece of art. How do I get the script??
HI Adam , follwoing all your videos , very helpful in learning Azure. I am looking for some stuff that could explain how Azure Load Balancer interacts with Ingress controllers in AKS cluster. Specifically how it manages to separate/forward request for different namespaces in a cluster.
Thanks! I might do this once I cover AKS service, thanks for the suggestion.
Hey Adam,
The content is super and explained in detail
By any chance, will you be doing AZ-500, SC-200, and SC-100 Training.
If not, could you please suggest a few learning tutorials which you have reviewed.
Hi @adam marczak. Where do we set URL instead of using IP and how can we check the user id who hit the url?
Thnks Adam! i want to understand in which cases we use a combination of AG + Load balance and when we use only load balance ( public facing) if we have a web app hosted in App service (ASE) in Azure. Does the web app determine it ? ( AG - https , LB for TCP is am aware ). Few architect diagrams have them in combinations and some standalone with web apps on Azure..Any guidance is appreciated. ! ( Merry Christmas - you are doing a fab job by sharing your knowledge with the community - Thank you 4 that )
There is a cool guide for choosing appropriate load balancing option in Azure, check it out docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview?WT.mc_id=AZ-MVP-5003556 thanks and merry christmas!
Best explanation on LB..Can you do one video for Front door too..
Thank you! Front door is definitely on the list. Can't wait! Although there is still few services and topics to cover before that. :)
Hello Adam, I really like the networking map in the video. Could you please tell me which tool you are using? appreciated it.
Thank you, I've used Visio to draw those ;)
@@AdamMarczakYT Excellent work, I'd like to pay for the course. :)
I don't have any paid courses at this moment, everything is free and available here on CZcams, but I'm glad to have you here :) But if people want to donate they can use Patreon patreon.com/marczakio or Paypal www.paypal.me/marczakio but it's not necessary, happy to help!
do i need create outbound rule also?
since azure done some changes in creating load balcncar
Just an observation for a comment you made at 4:04: you state that machines are updated automatically with Scale Set. I just wanted to note that there's actually 3 update policies with VMSS: Automatic, Manual & Rolling. Thanks
Yea, I meant that the entire process of updating OS is automatic. You are correct on policies which provide you certain degree of control over this automated OS update process. Thanks!
HI,
Suppose a web application used a sticky session (aka "session affinity") and use session for data holding purpose. Can we deploy this kind web application to VM scale sets as backed pool to an AG and use as URLs filtering purpose?
If not possible then what is alternative solutions?
Thanks,
Remember to have external service for session persistency like Redis because with VMSS servers will go up and down which will kill sessions even with session affinity. AG or FD in front is always advised for public facing apps :)
Thanks!
Thanks, it's my pleasure :)
I have seen these 02 options under Load balacer Rules option...I have gone through MS Docs but unable to understand these terms...If you could explain these 02 in simplest form with example....
would be much gr8ful.
So if I do nslookup of my internal load balancer , will it return the ip address of the backend servers or load balancer ip?
Best way to learn Azure is to play around with it. Try creating internal LB with one VM and nslookuping it :) It only takes 15 minutes and is the best way to learn. Highly recommend it.
Why do I need a Load Balancer for an Availability Group Listener in Azure but not on-premises
Adam could you please also explain application gateway and the key difference between these 3 services
Application Gateway is surely on the list. For now check MS guide on differences and choices docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview
Can we host a website (IIS + SQL Server) on multiple VMs with load balancer?
Hey Adam, could you please let me know if I can use Azure load balancer (L4) to load balance 2 Web Apps (app service) deployed to different regions.? I know that we can use traffic manager, afd but not sure if Azure load balancer
Hi mate, please check this guide on recommended options for load balancing solutions docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview?WT.mc_id=AZ-MVP-5003556