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

Поделиться
HTML-код
  • Опубликовано: 6 июл 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
  • НаукаНаука

Комментарии • 101

  • @user-bs1gu5me4l
    @user-bs1gu5me4l 9 дней назад

    nice and steady explaination

  • @efuchsman
    @efuchsman 3 месяца назад +1

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

    • @RahulWagh
      @RahulWagh  3 месяца назад

      Glad you like them!

  • @ShashiKumar-jc3gy
    @ShashiKumar-jc3gy 5 месяцев назад

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

  • @vigneshs5708
    @vigneshs5708 5 месяцев назад

    Thanks Rahul for your Guidance

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      You are welcome

  • @pratappadhy2005
    @pratappadhy2005 5 месяцев назад +2

    Excellent videos. Keep it up Bro

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      Glad you like them!

  • @munteanionut3993
    @munteanionut3993 Месяц назад

    This is gold! Thank you!

    • @RahulWagh
      @RahulWagh  Месяц назад

      You're very welcome!

  • @kammellapradeep7224
    @kammellapradeep7224 3 месяца назад

    Thanks for the videos Rahul , very informative.

    • @RahulWagh
      @RahulWagh  3 месяца назад

      Glad you like them!

  • @karthik.karunanithi
    @karthik.karunanithi 11 дней назад

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

  • @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

  • @amolnarlawar4583
    @amolnarlawar4583 5 месяцев назад

    Thank you so much for your support

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      You are welcome

  • @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  4 месяца назад

      Thanks let’s see how much time I get

  • @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

  • @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 😊😊

  • @secretofallthings6962
    @secretofallthings6962 Месяц назад

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

    • @RahulWagh
      @RahulWagh  Месяц назад +1

      Glad to know you liked it

  • @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

  • @kamkum2k
    @kamkum2k 5 месяцев назад

    Excellent videos

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      Glad you like them!

  • @shirsangshudutta
    @shirsangshudutta 4 месяца назад

    very good just perfect tutoria;

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

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

  • @CricketHighlites-zm5ob
    @CricketHighlites-zm5ob 4 месяца назад

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

    • @RahulWagh
      @RahulWagh  4 месяца назад

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

    • @CricketHighlites-zm5ob
      @CricketHighlites-zm5ob 4 месяца назад

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

  • @vishuhanda1837
    @vishuhanda1837 3 месяца назад

    love your channel buddy

    • @RahulWagh
      @RahulWagh  3 месяца назад

      I appreciate that!

  • @vrushabhpatil1812
    @vrushabhpatil1812 9 дней назад

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

  • @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

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

  • @venkat4288
    @venkat4288 4 месяца назад

    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

  • @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  3 месяца назад +1

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

  • @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

  • @SyedRiyadhulKarim
    @SyedRiyadhulKarim 5 месяцев назад

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

  • @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  4 месяца назад

      You are most welcome

  • @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

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

  • @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

  • @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

  • @java2anand
    @java2anand 4 месяца назад

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

    • @RahulWagh
      @RahulWagh  4 месяца назад +1

      I will it into my list

  • @user-gf1ym5cu5c
    @user-gf1ym5cu5c 4 месяца назад

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

  • @sainathmandavilli6538
    @sainathmandavilli6538 2 месяца назад

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

    • @RahulWagh
      @RahulWagh  2 месяца назад

      True thanks for feedback

  • @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

  • @manojgandham-lu7tu
    @manojgandham-lu7tu 5 месяцев назад

    If possible please start provisioning resources with terraform

    • @RahulWagh
      @RahulWagh  4 месяца назад

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

  • @yashu707
    @yashu707 3 месяца назад

    Deserve for subscribe

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

  • @user-hs7lv3dx8b
    @user-hs7lv3dx8b 9 дней назад +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....

  • @bheeshmareddy6277
    @bheeshmareddy6277 4 месяца назад

    Please share all your vedios on RUclips 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

  • @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 - ruclips.net/channel/UC7p4oXcPbgk_yTSHK7QlkSgjoin

  • @bhavyarangaswamy8862
    @bhavyarangaswamy8862 4 месяца назад +3

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

    • @RahulWagh
      @RahulWagh  4 месяца назад

      Yes off course I would like to hear from you

    • @themarksman1
      @themarksman1 4 месяца назад +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.

  • @ggggggg1177
    @ggggggg1177 5 месяцев назад

    how to contact you rahul ? any email or linkdin?

    • @RahulWagh
      @RahulWagh  5 месяцев назад

      LinkedIn would be nice

  • @amolrekhawar525
    @amolrekhawar525 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