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

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 103

  • @user-bs1gu5me4l
    @user-bs1gu5me4l 14 วันที่ผ่านมา

    nice and steady explaination

  • @ShashiKumar-jc3gy
    @ShashiKumar-jc3gy 5 หลายเดือนก่อน

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

  • @efuchsman
    @efuchsman 3 หลายเดือนก่อน +1

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

    • @RahulWagh
      @RahulWagh  3 หลายเดือนก่อน

      Glad you like them!

  • @munteanionut3993
    @munteanionut3993 หลายเดือนก่อน

    This is gold! Thank you!

    • @RahulWagh
      @RahulWagh  หลายเดือนก่อน

      You're very welcome!

  • @surenkumars3181
    @surenkumars3181 5 หลายเดือนก่อน +1

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน +2

      There is already one on the channel

  • @karthik.karunanithi
    @karthik.karunanithi 16 วันที่ผ่านมา

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

    • @RahulWagh
      @RahulWagh  16 วันที่ผ่านมา

      You are welcome

  • @pratappadhy2005
    @pratappadhy2005 5 หลายเดือนก่อน +2

    Excellent videos. Keep it up Bro

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      Glad you like them!

  • @kammellapradeep7224
    @kammellapradeep7224 3 หลายเดือนก่อน

    Thanks for the videos Rahul , very informative.

    • @RahulWagh
      @RahulWagh  3 หลายเดือนก่อน

      Glad you like them!

  • @Learn_IT_with_Azizul
    @Learn_IT_with_Azizul 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

      Thanks let’s see how much time I get

  • @vigneshs5708
    @vigneshs5708 5 หลายเดือนก่อน

    Thanks Rahul for your Guidance

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      You are welcome

  • @amolnarlawar4583
    @amolnarlawar4583 5 หลายเดือนก่อน

    Thank you so much for your support

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      You are welcome

  • @sanapathiramesh2823
    @sanapathiramesh2823 วันที่ผ่านมา

    thanks alot for your great content❤

    • @RahulWagh
      @RahulWagh  วันที่ผ่านมา

      You are welcome

  • @fintech1017
    @fintech1017 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +1

      Thanks for the feedback i truly appreciate it.

  • @bhargava1204
    @bhargava1204 5 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      Glad you liked it

  • @NANINANI-ix6uf
    @NANINANI-ix6uf 4 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      Thank you, I will

  • @rodneydias9586
    @rodneydias9586 4 หลายเดือนก่อน

    Excellent content, really appreciate this

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน +1

      You are welcome

    • @rodneydias9586
      @rodneydias9586 4 หลายเดือนก่อน

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

  • @secretofallthings6962
    @secretofallthings6962 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  หลายเดือนก่อน +1

      Glad to know you liked it

  • @Anitha.D
    @Anitha.D 5 หลายเดือนก่อน

    Thanks Rahul excellent explanation

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      Glad to hear that

    • @Anitha.D
      @Anitha.D 5 หลายเดือนก่อน

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

  • @kamkum2k
    @kamkum2k 5 หลายเดือนก่อน

    Excellent videos

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      Glad you like them!

  • @vishuhanda1837
    @vishuhanda1837 3 หลายเดือนก่อน

    love your channel buddy

    • @RahulWagh
      @RahulWagh  3 หลายเดือนก่อน

      I appreciate that!

  • @CricketHighlites-zm5ob
    @CricketHighlites-zm5ob 5 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

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

    • @CricketHighlites-zm5ob
      @CricketHighlites-zm5ob 5 หลายเดือนก่อน

      @@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 4 หลายเดือนก่อน

    very good just perfect tutoria;

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      Thanks a lot!

  • @trendlines7098
    @trendlines7098 4 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      You are welcome. It is just keynote i use

  • @vrushabhpatil1812
    @vrushabhpatil1812 14 วันที่ผ่านมา

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

  • @sahadevdahit
    @sahadevdahit 4 หลายเดือนก่อน

    Keep it up 💪💪💪

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      Always

    • @sahadevdahit
      @sahadevdahit 4 หลายเดือนก่อน +1

      @@RahulWaghI want to connect , sir. LinkedIn??

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      @sahadevdahit sure

  • @Giridhar_KS
    @Giridhar_KS 4 หลายเดือนก่อน

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

  • @vijaychowdary7461
    @vijaychowdary7461 5 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

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

  • @munteanionut3993
    @munteanionut3993 หลายเดือนก่อน

    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?

  • @venkat4288
    @venkat4288 5 หลายเดือนก่อน

    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

  • @SyedRiyadhulKarim
    @SyedRiyadhulKarim 5 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน +1

      You should

    • @SyedRiyadhulKarim
      @SyedRiyadhulKarim 5 หลายเดือนก่อน

      Thank you Sir. You are awsome..

  • @punkygamer7668
    @punkygamer7668 หลายเดือนก่อน

    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  หลายเดือนก่อน

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

  • @fadi07full
    @fadi07full 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน +1

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

  • @java2anand
    @java2anand 5 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน +1

      I will it into my list

  • @kmadanofficial
    @kmadanofficial 3 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  3 หลายเดือนก่อน

      I use power point to create the diagram

    • @kmadanofficial
      @kmadanofficial 3 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  3 หลายเดือนก่อน

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

    • @kmadanofficial
      @kmadanofficial 3 หลายเดือนก่อน

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

  • @sainathmandavilli6538
    @sainathmandavilli6538 2 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  2 หลายเดือนก่อน

      True thanks for feedback

  • @anilkommalapati6248
    @anilkommalapati6248 5 หลายเดือนก่อน

    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.

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      You are most welcome

  • @manojgandham-lu7tu
    @manojgandham-lu7tu 5 หลายเดือนก่อน

    If possible please start provisioning resources with terraform

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

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

  • @user-gf1ym5cu5c
    @user-gf1ym5cu5c 5 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      I will try

  • @maheshparab452
    @maheshparab452 5 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน +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 3 หลายเดือนก่อน

    Deserve for subscribe

    • @RahulWagh
      @RahulWagh  3 หลายเดือนก่อน

      You are welcome

  • @nagarajubollikonda6906
    @nagarajubollikonda6906 4 หลายเดือนก่อน

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

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

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

  • @bheeshmareddy6277
    @bheeshmareddy6277 4 หลายเดือนก่อน

    Please share all your vedios on TH-cam without any joining please

    • @RahulWagh
      @RahulWagh  4 หลายเดือนก่อน

      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 4 หลายเดือนก่อน

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

  • @user-hs7lv3dx8b
    @user-hs7lv3dx8b 14 วันที่ผ่านมา +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 5 หลายเดือนก่อน +3

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

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      Yes off course I would like to hear from you

    • @themarksman1
      @themarksman1 5 หลายเดือนก่อน +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 หลายเดือนก่อน

    Subscribed. Need telegram channel for tutorial n job help

    • @RahulWagh
      @RahulWagh  หลายเดือนก่อน

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

  • @ggggggg1177
    @ggggggg1177 5 หลายเดือนก่อน

    how to contact you rahul ? any email or linkdin?

    • @RahulWagh
      @RahulWagh  5 หลายเดือนก่อน

      LinkedIn would be nice

  • @vineet_kumar555
    @vineet_kumar555 2 หลายเดือนก่อน

    In every lab why are you creating vpc

    • @RahulWagh
      @RahulWagh  2 หลายเดือนก่อน +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