Azure Load Balancer Tutorial

Sdílet
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

Komentáře • 203

  • @superanik1
    @superanik1 Před 3 lety +12

    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.

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety +1

      Thanks, will do! I appreciate the kind words.

  • @darko2004
    @darko2004 Před 9 měsíci +1

    Perfect tutorial. Explains load balances in plain and simple language

  • @sanketmitra6570
    @sanketmitra6570 Před 4 lety

    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 :).

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety +1

      Great to hear! You can always subscribe and hit that notification bell if you want to receive up to date emails with video links :)

  • @Southpaw07
    @Southpaw07 Před 2 lety +1

    Several hours of reading MS boring documentation, consolidated to 13 mins in this video. Great stuff Adam Thank you

  • @SBTRIS
    @SBTRIS Před 4 lety

    Surprised you havent got more viewers, well narrated, to the point, and informative. I like it.

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety +2

      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 :)

  • @NaveenKumar-cy6ec
    @NaveenKumar-cy6ec Před 4 lety

    Wow after searching and finding lot of content finally found your videos. These are really simple clean explanation.

  • @fredericcartier4950
    @fredericcartier4950 Před 3 lety +2

    Hello Adam,
    This content teach me so many things. It is well explained and sharpened my curiosity to go further.
    Thank you

  • @tryashvanth
    @tryashvanth Před 3 lety +3

    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

  • @RandomUserAmongRandomUsers

    You make it so easy to understand, thanks for your work Adam !

  • @robertroy1878
    @robertroy1878 Před 2 lety

    Consistently the best Azure tutorials. Great stuff.

  • @JohnDeeks
    @JohnDeeks Před 2 lety

    Great explanation, thanks for taking the time to put this together.

  • @edwinhendriks3604
    @edwinhendriks3604 Před 3 lety +1

    Hi Adam, studying for AZ-104 and this is helping me a lot! Thank you!

  • @brianedwards30
    @brianedwards30 Před rokem

    I think I went through about 20 videos before I found this one. Great content!

  • @Zorrik-qk3bn
    @Zorrik-qk3bn Před 2 lety +1

    Ale numer, Polak rządzi w Azure. BRAWO!!!!! Więcej takich jak Adam!!!

  • @AimOnTargets
    @AimOnTargets Před rokem

    I love your videos! Perfect explanation and i love the demos!!! helps so much, keep up with the amazing work! :)

  • @1001fables
    @1001fables Před 3 lety +1

    Your tutorials are awesome. Thank you for providing cli scripts for practicing.

  • @javedbajwha201
    @javedbajwha201 Před 2 lety

    Hi Adam,
    Man your content really helps me to deep under stand the topic. You are star. Keep it UP

  • @Rprakaash
    @Rprakaash Před 4 lety

    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.

  • @Mark-hc8vu
    @Mark-hc8vu Před 4 lety

    Amazing!!! You are an incredible teacher. Loved your explanation

  • @somasundarsambathini1780

    Thanks Adam. You are wonderful and your videos are simply great.

  • @wagnerfraga3850
    @wagnerfraga3850 Před 4 lety +4

    Hey Adam, thanks for the video. I am surprised you haven't got more viewers also.

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety +2

      You and me both! Joking, I'm happy with my current viewers, you guys are fantastic :) ! Thanks for watching.

  • @khushbugupta5849
    @khushbugupta5849 Před 4 lety

    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

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety

      Awesome, glad it helped out! Good luck on the interviews.

  • @abdulthakur5608
    @abdulthakur5608 Před 3 lety

    Hi Adam, Thank you for explaining things so clearly.

  • @sonynavi
    @sonynavi Před 3 lety +1

    Good Explanation Adam! Short and to the point!

  • @jasonliu2574
    @jasonliu2574 Před 9 měsíci

    You are the best! thank you so much for all the great classes and videos!

  • @RameshP-ds4xt
    @RameshP-ds4xt Před 4 lety

    Excellent video with end to end details. Thanks a lot !!!

  • @Hackenbaker
    @Hackenbaker Před 3 lety +1

    Great explanation, very clear. Thanks a lot for this great content.

  • @azhockeynut8297
    @azhockeynut8297 Před 3 lety +1

    Wish Adam was working on my team. He has such a fantastic way for helping others understand complicated topics

  • @TheUmeru
    @TheUmeru Před 3 lety +1

    You explained it so well! Thanks Adam!

  • @billyli5174
    @billyli5174 Před 4 lety

    Hi Adam, Thank you for explaining it so clearly.

  • @sarayghb8079
    @sarayghb8079 Před 3 lety +1

    Very well explained! Thank you Adam!

  • @aravind_balaji2058
    @aravind_balaji2058 Před 4 lety

    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............

  • @ibmuser13
    @ibmuser13 Před 3 lety

    great content, Adam! Liked and subscribed to your channel. Looking forward to more Azure videos!!

  • @TPOneMedia
    @TPOneMedia Před rokem

    Your content is A+++ Thank you for this!

  • @ankushjain358
    @ankushjain358 Před 3 lety

    Adam.... Whatever I need to learn on Azure...I pick your video on that topic if available.....Thanks buddy for creating such awesome videos.

  • @jagananumula
    @jagananumula Před 4 lety

    simple and clean explanations, thank you.

  • @mohammedmarhoon7408
    @mohammedmarhoon7408 Před 3 lety

    Great Job Adam, thank you so much for your video.

  • @sunilsjk
    @sunilsjk Před 4 lety

    Nice video, very detailed demonstration... thank for sharing the information

  • @chieh-chuanchang4506
    @chieh-chuanchang4506 Před 3 lety +1

    This is good tutorial and very distinctly.

  • @PalaniSamy-hz6wn
    @PalaniSamy-hz6wn Před 4 lety

    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 :)

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety

      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!

  • @diezam
    @diezam Před 4 lety

    Excellent video, very well explained, thank you!

  • @Mopina1026
    @Mopina1026 Před 3 lety +1

    I'm learning a lot with yours videos. thanks

  • @nikz0001
    @nikz0001 Před 2 lety +1

    best azure videos ever ...Adam you rock bro!

  • @volfram1
    @volfram1 Před rokem +1

    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.

  • @LokeshKumarJ-qn4bq
    @LokeshKumarJ-qn4bq Před 3 lety +2

    Hey Adam, Your videos are so crisp :-) Love all your videos. Please make a video for the Application gateway and VMscale set

  • @johnsieminski3801
    @johnsieminski3801 Před 3 lety +1

    Great job. First person I have subscribed too.

  • @siyabongamngomezulu9743
    @siyabongamngomezulu9743 Před 3 lety +1

    Great video Mr Marczak

  • @vidyanandjain
    @vidyanandjain Před 2 lety +1

    Too good, superb explanation :-)

  • @ankitkishore77
    @ankitkishore77 Před 2 lety

    Thanks my pal Adam... great one...

  • @deep001007
    @deep001007 Před 3 lety

    Hello Adam, This video is really superb ,great thanks

  • @tacos-are-tasty4857
    @tacos-are-tasty4857 Před 5 měsíci

    Loved this video

  • @James-sc1lz
    @James-sc1lz Před 3 lety +1

    Really, really good video. Subscribed

  • @bayanomari1856
    @bayanomari1856 Před 2 lety

    Great vids man keep it up

  • @srikanthn27
    @srikanthn27 Před 3 lety +1

    Great training.

  • @johnp7158
    @johnp7158 Před 3 lety +1

    best tutorials, subscribed!

  • @lovelife1434
    @lovelife1434 Před 3 lety +1

    Thank you. You are brilliant 👍

  • @Sagey112
    @Sagey112 Před 3 lety +1

    Thank You! this really helped

  • @jakubzareba3211
    @jakubzareba3211 Před 3 měsíci

    Amazing video great! Thanks

  • @chrupek272
    @chrupek272 Před měsícem

    Dzięki. Bardzo mi pomogłeś

  • @Lost_poetry_029
    @Lost_poetry_029 Před 3 lety +1

    hey man loved your content

  • @trezay5950
    @trezay5950 Před rokem

    Tyty helped so much!

  • @shuchitatripathi4067
    @shuchitatripathi4067 Před 4 lety +1

    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?

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety

      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 :)

  • @Certified_Chad_42
    @Certified_Chad_42 Před 3 lety +1

    Thank You, great video...

  • @anaselwakkad
    @anaselwakkad Před rokem

    You are the best 👌
    I follow you , you explain its very sample , thx bro

  • @SamyUsa
    @SamyUsa Před rokem

    This is awesome.

  • @nimageofmine
    @nimageofmine Před rokem

    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?

  • @jamesrobertson7334
    @jamesrobertson7334 Před 3 lety +1

    Fantastic video, thank you :-)

  • @syedubedullah8173
    @syedubedullah8173 Před 3 lety +1

    Thnak you Adam.. Love from india

  • @sp121861saopaulo
    @sp121861saopaulo Před 3 lety

    Great tutorial. Thanks

  • @channelkerr
    @channelkerr Před 3 lety

    Thanks for this! BTW what do you use to create your topology diagrams?

  • @rediusengineering
    @rediusengineering Před 2 lety

    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.

  • @the_justanything
    @the_justanything Před 3 lety

    Thanks Adam, nice explanation. I have query on throttling number of concurrent requests. Can it be done at the Azure load balancer layer?

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety

      Thanks. Load Balancer doesn’t have out of the box throttling. If you are building web application try api management policies.

  • @markusx8916
    @markusx8916 Před 2 lety

    Good tutorial

  • @prasadpardeshi2231
    @prasadpardeshi2231 Před 3 lety +1

    Nice one 👍

  • @hermannsteveze5865
    @hermannsteveze5865 Před 4 lety +2

    Please, How Do we manage a Linux VM Scale Set behind a load balancer, from the internet?

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety

      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

  • @ransandu
    @ransandu Před 4 lety +1

    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

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety +1

      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.

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety +1

      An of course thanks :)

  • @diegoedwardsesquivelreyes7860

    Gracias Crack! Eres un papucho

  •  Před rokem

    great video, Do you know how to install ssl certificates to loadbalancer?

  • @freeEagle21
    @freeEagle21 Před 4 lety +1

    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?

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety +1

      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.

  • @erezshin
    @erezshin Před 3 lety +1

    great stuff

  • @edwardv4546
    @edwardv4546 Před rokem

    Thank you!

  • @ZaneT531
    @ZaneT531 Před 3 lety +1

    Awesome Tutorial Mate. THANK YOU SO MUCH !
    Could you consider teaching us Powershell for beginners and intermediate level in upcoming videos Pls

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety

      Thanks! Maybe in the future, for now I focus on Azure ;)

  •  Před 2 lety

    Great videos!! Can you do one with load balancer and AKS?

  • @elatromeo7963
    @elatromeo7963 Před 2 lety

    Thanks for this wonderful piece of art. How do I get the script??

  • @deepmehrotra4205
    @deepmehrotra4205 Před 4 lety

    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.

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety +1

      Thanks! I might do this once I cover AKS service, thanks for the suggestion.

  • @mystudy1512
    @mystudy1512 Před 17 dny

    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.

  • @asriazmi
    @asriazmi Před rokem

    Hi @adam marczak. Where do we set URL instead of using IP and how can we check the user id who hit the url?

  • @sid0000009
    @sid0000009 Před 3 lety +1

    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 )

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety +1

      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!

  • @srinivasanrajagopalan3140

    Best explanation on LB..Can you do one video for Front door too..

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety

      Thank you! Front door is definitely on the list. Can't wait! Although there is still few services and topics to cover before that. :)

  • @xilongjin8093
    @xilongjin8093 Před 3 lety

    Hello Adam, I really like the networking map in the video. Could you please tell me which tool you are using? appreciated it.

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety +1

      Thank you, I've used Visio to draw those ;)

    • @xilongjin8093
      @xilongjin8093 Před 3 lety +1

      @@AdamMarczakYT Excellent work, I'd like to pay for the course. :)

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety

      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!

  • @ravimalvia
    @ravimalvia Před 4 měsíci

    do i need create outbound rule also?
    since azure done some changes in creating load balcncar

  • @BijouBakson
    @BijouBakson Před 3 lety +1

    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

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety +1

      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!

  • @ganirban82
    @ganirban82 Před 3 lety +1

    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,

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety +1

      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 :)

  • @kobethedog23
    @kobethedog23 Před 2 lety +1

    Thanks!

  • @MuhammadWaqas-gr4gg
    @MuhammadWaqas-gr4gg Před 2 lety

    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.

  • @prashantsingh-xr6zg
    @prashantsingh-xr6zg Před 4 lety

    So if I do nslookup of my internal load balancer , will it return the ip address of the backend servers or load balancer ip?

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety

      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.

  • @sureshn4642
    @sureshn4642 Před 2 lety

    Why do I need a Load Balancer for an Availability Group Listener in Azure but not on-premises

  • @NaveenKumar-cy6ec
    @NaveenKumar-cy6ec Před 4 lety

    Adam could you please also explain application gateway and the key difference between these 3 services

    • @AdamMarczakYT
      @AdamMarczakYT  Před 4 lety

      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

  • @3ALEGIONS
    @3ALEGIONS Před 4 měsíci

    Can we host a website (IIS + SQL Server) on multiple VMs with load balancer?

  • @ninadpawar1489
    @ninadpawar1489 Před 3 lety

    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

    • @AdamMarczakYT
      @AdamMarczakYT  Před 3 lety +1

      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