Mastering AWS Network Load Balancer | ALB vs NLB | Step by Step Tutorial - Part 18

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • ▬▬▬▬▬▬ 🚀 Membership ▬▬▬▬▬▬
    Join this channel to get access to perks:
    / @rahulwagh
    ▬▬▬▬▬▬ 🚀 Courses ▬▬▬▬▬▬
    1. Terraform - • HashiCorp Terraform As...
    2. Ansible - • Ansible for Beginners:...
    3. Prometheus & Grafana - • Getting started with P...
    4. Helm Chart - • Complete Helm Chart Tu...
    5. Hashi Corp vault - • HashiCorp Vault Instal...
    ▬▬▬▬▬▬ 📖 Video Description: ▬▬▬▬▬▬
    🚀 Dive into the world of AWS Elastic Load Balancers (ELB) with our latest tutorial! In this comprehensive guide, we'll walk you through the process of creating a Network Load Balancer (NLB) on AWS and explore the nuances of Application Load Balancer (ALB) with path-based routing rules.
    Also Network Load Balancer offers - TCP and UDP Load Balancing, Target Groups and Health Checks, Cross-Zone Load Balancing, Source IP Affinity, High Performance and Scalability
    🔧 Timestamps:
    0:00 - Introduction : Understand the importance of Load Balancers in a scalable and reliable AWS infrastructure.
    2:03 - Setting up Networking : VPC, Subnet, Intergnet gateway, Route Table, EC2
    25:30 - Setup Targetgroup for Network Load Balancer
    27:55 - Setup Network Load Balancer (NLB)
    33:16 - Key Differences: NLB vs. ALB | Path-Based Routing with ALB
    Scripts - github.com/rahulwagh/demo-scr...
    👍 Don't forget to like, share, and subscribe for more AWS tutorials and hands-on guides! Master the art of load balancing with AWS ELBs and elevate your cloud infrastructure to the next level. #AWS #LoadBalancing #NLBvsALB #CloudComputing
  • Věda a technologie

Komentáře • 103

  • @user-bs1gu5me4l
    @user-bs1gu5me4l Před 14 dny

    nice and steady explaination

  • @ShashiKumar-jc3gy
    @ShashiKumar-jc3gy Před 5 měsíci

    Thanks Rahul.
    This video is more informative.
    Really, This helps me a lot to clear some small doubts 😊

  • @efuchsman
    @efuchsman Před 3 měsíci +1

    You are the man! Thank you so much for all of these videos!

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

    This is gold! Thank you!

  • @surenkumars3181
    @surenkumars3181 Před 5 měsíci +1

    Thanks Rahul bro.... put AWS complete video with hands on bro.... i saw your aws course playlist..... keep posting

    • @RahulWagh
      @RahulWagh  Před 5 měsíci +2

      There is already one on the channel

  • @karthik.karunanithi
    @karthik.karunanithi Před 16 dny

    such wonderful videos. thanks for the videos .i understand better with demo

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

    Thanks for the videos Rahul , very informative.

  • @pratappadhy2005
    @pratappadhy2005 Před 5 měsíci +2

    Excellent videos. Keep it up Bro

  • @Learn_IT_with_Azizul
    @Learn_IT_with_Azizul Před 5 měsíci +1

    ALB VS NLB contents are very rare… thank you very much!
    Also, have a request to have another content on OpenShift in-depth hands on using AWS cloud. 🙏

    • @RahulWagh
      @RahulWagh  Před 5 měsíci

      Thanks let’s see how much time I get

  • @vigneshs5708
    @vigneshs5708 Před 5 měsíci

    Thanks Rahul for your Guidance

  • @amolnarlawar4583
    @amolnarlawar4583 Před 5 měsíci

    Thank you so much for your support

  • @sanapathiramesh2823
    @sanapathiramesh2823 Před 2 dny

    thanks alot for your great content❤

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

    I appreciate the video, it helps with the overall understanding of the LBs in general. Couple of feedback that I would like to share: 1) Internet Gateways are VPC specific and not subnet specific so, possibly it will make more sense to attach it to the VPC rather then the Subnet. 2 ) Why not use Auto scaling group as it will help in a complete architecure set up and a good point of using LBs as well. Other than that, I really enjoy the video! Keep up the good work! Thanks

    • @RahulWagh
      @RahulWagh  Před 3 měsíci +1

      Thanks for the feedback i truly appreciate it.

  • @bhargava1204
    @bhargava1204 Před 5 měsíci

    Thanks @Rahul, Great content and neat explanation 👌 👏 👍

  • @NANINANI-ix6uf
    @NANINANI-ix6uf Před 4 měsíci

    Great Explanation😍, Thanks.
    Please do more such videos with graphical view.

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

    Excellent content, really appreciate this

    • @RahulWagh
      @RahulWagh  Před 4 měsíci +1

      You are welcome

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

      @@RahulWagh do you have anything specific for IIOT landing zone configs

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

    thank you, sir, for this project I mentioned this on my LinkedIn profile🤩🤩🤩🤩

    • @RahulWagh
      @RahulWagh  Před měsícem +1

      Glad to know you liked it

  • @Anitha.D
    @Anitha.D Před 5 měsíci

    Thanks Rahul excellent explanation

    • @RahulWagh
      @RahulWagh  Před 5 měsíci

      Glad to hear that

    • @Anitha.D
      @Anitha.D Před 5 měsíci

      @@RahulWagh sharing it with my friends here in Uk . Your way of explaining is to the point really appreciate it thanks again 😊😊

  • @kamkum2k
    @kamkum2k Před 5 měsíci

    Excellent videos

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

    love your channel buddy

  • @CricketHighlites-zm5ob
    @CricketHighlites-zm5ob Před 5 měsíci

    Thankyou so much sir amazing content.
    Whatever dout i have i look for ua channel.😊

    • @RahulWagh
      @RahulWagh  Před 5 měsíci

      You are welcome but I could not get you message what u r trying convey

    • @CricketHighlites-zm5ob
      @CricketHighlites-zm5ob Před 5 měsíci

      @@RahulWagh I am just a beginner in AWS. If I have any doubts, confusion or want to learn about AWS I prefer to watch your videos. Because ua videos are very simple and informative.

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

    very good just perfect tutoria;

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

    same thing here @rahul Can you ensure route table mentioned on the left hand side in the diagram are they correct, you mentioned /1 and /2 both side.

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

    Amazing work and detailed one. Thanks for that. Just wondering what tool do you use to make diagram and associated animations?

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

      You are welcome. It is just keynote i use

  • @vrushabhpatil1812
    @vrushabhpatil1812 Před 14 dny

    Hi Rahul Sir,
    Can you make a video on NLB to ALB connect from two different accounts including WAF into it.

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

    In my case, bar is working and foo is saying not found.. Could this be because bar TG is selected as the default in the ALB ??

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

    Keep it up 💪💪💪

  • @vijaychowdary7461
    @vijaychowdary7461 Před 5 měsíci

    Thanks rahul bro, small request can u also show a demo how can we connect onprem servers to aws vpcs

    • @RahulWagh
      @RahulWagh  Před 5 měsíci

      It is hard to simulate because this my personal account and För settings up the connection on prem u need vpn and router

  • @venkat4288
    @venkat4288 Před 5 měsíci

    hi rahul bro. If we use s3 for remote statefile, can we delete state file through same terraform code as well as s3 bucket. Not manually

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

    27:14 - I was expecting after you chose TCP instead of HTTPS that the port to the right of the dropdown change:
    - from value: 80
    (which is standard for HTTPS which was initially shown as pre-selected option in the dropdown)
    - to value: 443
    (which is standard for TCP)
    Isn't that what should have happend? Also, you mentioned "" . So why is it that at 27:23 health check remains on HTTPS... and how come this didn't give any errors subsequently?
    I tried answering these questions on my own and I came up with: TCP & HTTPS are actually not "antonyms" let s call them. Actually TCP operates at layer 4 in the OSI ISO model and HTTPS operates at layer 7. Also HTTPS operates on top of TCP. Basically: when you access a website, your browser uses HTTP (Layer 7) to request web pages. HTTP uses TCP (Layer 4) to ensure the data is transmitted reliably.
    Also at 34:31 port 80 actually now shows up as port 81... was that something automatically done by AWS?
    other observations / questions:
    - 35:15 Application* Load Balancer just to make it crystal clear
    - 37:11 in other words: we are simulating our application has multiple responsibilities; and you are showing us how we can leverage ALB to basically separate these different responsibilities (2 responsibilities in our case) of our application across different endpoints (in our case they are actually different machines!!) of ours. Nice!
    - 45:55 why is weight 1 okay? Shouldn't we route 100% of requests whose ending path end in "foo" to that "foo-tg-alb" target group?

  • @SyedRiyadhulKarim
    @SyedRiyadhulKarim Před 5 měsíci

    Thank you agharwal... I made 1 sgrp in Ec2, should i make another one for app lb

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

    This will be great for the modern applications which doesnot directly run Database server inside the same EC2 instance. But what if im using the database mysql server inside the same ec2 instance and it would be very difficult to keep both ec2 instance data updated as seperation of database is the only way to achieve this functionality.
    can you clear me more.

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

      You should never use the mysql database and ec2 instance in the same server always go with separate ec2 and mysql database

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

    we are hosting a web scraping API on ECS EC2 mode and we want the scaling to be horizontal... in this scenario we should use ALB or NLB in front of ECS?
    as we need different ips to avoid ban.. but we faced header size restrictions in the ALB so far for some APis..

    • @RahulWagh
      @RahulWagh  Před 4 měsíci +1

      Go with NLB bcz it has higher throughput compared to ALB and you will not have problem of header restriction

  • @java2anand
    @java2anand Před 5 měsíci

    Hi Rahul,
    Please make a video on rds and aurora database with differences.

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

    Excellent… can u please let me know how you are creating those architectural diagrams

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

      I use power point to create the diagram

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

      @@RahulWagh in power point i dont find Aws related icons or designs

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

      @@kmadanofficial I have to manually bring those icons while preparing the diagrams

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

      @@RahulWagh along with vedios...can you pls share the ppt also which you showed in the vedio

  • @sainathmandavilli6538
    @sainathmandavilli6538 Před 2 měsíci

    correction: Internet gateway is supposed be on the vpc level in the diagram.

  • @anilkommalapati6248
    @anilkommalapati6248 Před 5 měsíci

    You are very structured in the presentation and the presentation PPT's are really amazing.
    You are really a gem and thanks a million. Learning a lot from your videos. God Bless you.

  • @manojgandham-lu7tu
    @manojgandham-lu7tu Před 5 měsíci

    If possible please start provisioning resources with terraform

    • @RahulWagh
      @RahulWagh  Před 5 měsíci

      Yes I have those sessions with terraform made available to my CZcams community members if you are interested please join the community

  • @user-gf1ym5cu5c
    @user-gf1ym5cu5c Před 5 měsíci

    use both load balancer in one use case can you plz make video on it

  • @maheshparab452
    @maheshparab452 Před 5 měsíci

    I have doubts ,why u created the private subnet incase there is no use

    • @RahulWagh
      @RahulWagh  Před 5 měsíci +2

      I just wanted to show the networking just in case someone wants to work on private subnet then he can do it

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

    Deserve for subscribe

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

    Your explanation is good, but every time you come into the picture it gets a little disruptive.

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

      Thanks for the feedback.
      what is your suggestion less of me and more of picture/diagram?

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

    Please share all your vedios on CZcams without any joining please

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

      I love to do that but i made 90% of my content free here and i kept something in paid for my true supporters

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

      I am also a true supporter but I can't pay for every month​@@RahulWagh

  • @user-hs7lv3dx8b
    @user-hs7lv3dx8b Před 14 dny +1

    ek hi machine bnaoge agar.... toh kya load balance kroge ???
    target group bnadiye foo and bar ke ek hi machine par.... toh load balancer ka kya role rehgya esme ??
    or ek yeh bhi ni btyaya ke ec2 ke ip ke sath bhi access ho rahi h website only load balancer se honi chahiye...... adhuri knowledge hai....

  • @bhavyarangaswamy8862
    @bhavyarangaswamy8862 Před 5 měsíci +3

    THIS IS TOO COMPLICATED VIDEO FOR LOAD BALENCER , WE CAN DO IT IN SIMPLE WAY

    • @RahulWagh
      @RahulWagh  Před 5 měsíci

      Yes off course I would like to hear from you

    • @themarksman1
      @themarksman1 Před 5 měsíci +1

      @@RahulWagh The private subnets you created in 2 AZs were never used & could have been done away with. I appreciate your effort, but there is room for improvement in presentation. If I want to refresh some concepts, 50min video is too long. Hope you take it constructively & get better at your content.

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

    Subscribed. Need telegram channel for tutorial n job help

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

      You can join my youtube community and there you will have access to private slack groups to reach out to me - czcams.com/channels/7p4oXcPbgk_yTSHK7QlkSg.htmljoin

  • @ggggggg1177
    @ggggggg1177 Před 5 měsíci

    how to contact you rahul ? any email or linkdin?

  • @vineet_kumar555
    @vineet_kumar555 Před 2 měsíci

    In every lab why are you creating vpc

    • @RahulWagh
      @RahulWagh  Před 2 měsíci +1

      Because a lot of viewers does not watch the complete series they just directly jump to the topics in which they are interested, so if i do not show the VPC creation then there is no point in explaining the actual concept because VPC, Subnet are the backbone of the networking.
      I know it is annoying for the regular user who follow the the complete series but if you can directly refer to the timestamp(see description section) if you feel it boring and you know the vpc setup already