Application Load Balancer (ALB) Vs API Gateway // Pros Cons Comparison

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 97

  • @cloudwithraj
    @cloudwithraj  3 роки тому +2

    My Rocking Systems Design course is out now in Udemy! Limited time discounted link to get the course for $9.99 - bit.ly/3Eku9RH

  • @cloudwithraj
    @cloudwithraj  4 роки тому +2

    Lot of questions regarding Static IP with ALB. This is a brand new feature. This is done pairing Global Accelerator and ALB with one click. You don't need to provision a NLB separately for this. AWS announcement here - aws.amazon.com/about-aws/whats-new/2020/07/aws-global-accelerator-launches-one-click-acceleration-for-application-load-balancers/

  • @ramreddy9428
    @ramreddy9428 2 роки тому +7

    Comparing the services with small examples and use cases will be much intresting way to understand

  • @lRemoved
    @lRemoved Рік тому

    I haven't met such an excellent teacher in a while. Thank you very much Raj for these videos. They are the best!

  • @dr.amarmudiraj
    @dr.amarmudiraj 2 роки тому +5

    Excellent JOB Raj, I always loved the way to represent the things in your videos, the videos which are available on the UA-cam under your channel are always priceless Pearls for me.
    I would like to request to add few points like, 1. Synchronous and Asynchronous Invocation Methods, Payload Difference to travel from source to Destination and Return, Type of Data/payload to be send or received while call the invocation/msg forwarding, Layer-Specification on Functionality. I hope, the things which I have mentioned might be helpful or can be considering for the comparisons. Let me know if I am wrong. Thanks

  • @wil9861
    @wil9861 11 місяців тому +1

    @cloudwithraj
    Is it possible to connect api http gateway with ecs service without using an application load balancer. Will the gateway act as a load balancer?

    • @bigchallenge7987
      @bigchallenge7987 8 місяців тому

      Even i have the same question. could you please tell @cloudwithraj?

  • @hellorsanjeev11
    @hellorsanjeev11 3 роки тому +1

    One of the ultimate videos that I have ever watched in this ecosystem. Very informative and thoroughly put. Thank you.

    • @cloudwithraj
      @cloudwithraj  3 роки тому

      Thanks Sanjeev, glad it was helpful!

  • @TheLostBijou
    @TheLostBijou 2 роки тому +2

    I don't think you mentioned it, but both support https/SSL termination. Thanks for the video Raj!

  • @KJAISIMHA
    @KJAISIMHA Рік тому

    Hey Raj, Karthik here.happy to see, remember we met in Detroit a couple months ago.... I was searching for something and your video popped up. Awesome video , all my questions clarified

    • @cloudwithraj
      @cloudwithraj  Рік тому

      Thanks a ton Karthik! Glad to connect in Detroit 🙌

  • @rovin002
    @rovin002 2 роки тому

    Awesome!! Im addicted to your videos watch them first thing every day and when I have even a break of 10 mins!!!

  • @rohitsanthosh2604
    @rohitsanthosh2604 9 місяців тому

    Raj great video. We can use ALB with IP address as target for my backend targets in different account with TGW for communication?

  • @sivabenguluru1241
    @sivabenguluru1241 3 роки тому +2

    Hi raj can you make a video on AWS gateway load balancer

    • @cloudwithraj
      @cloudwithraj  3 роки тому +1

      Will keep in mind for future videos Siva

  • @sultanqureshi2766
    @sultanqureshi2766 2 роки тому

    One like on your video is equal to 9999 likes in any entertainment video. Quality matters. Keep doing the great work.

  • @shwetachandrakar4060
    @shwetachandrakar4060 Рік тому

    Thanks for the informative video, how do you version the API?

  • @goodnightmr5892
    @goodnightmr5892 2 роки тому

    Bruh, Nice setup!

  • @rohrvy1989
    @rohrvy1989 2 роки тому

    Very Informative Raj..Thanks

  • @nagyyoussef6872
    @nagyyoussef6872 2 роки тому

    thanks but i found my record is inactive in Create DNS records in Amazon Route 53 page

  • @Zancb
    @Zancb Рік тому

    Raj, your content is simply amazing. Thank you for putting these videos out!!

  • @hamidullahmuslih6301
    @hamidullahmuslih6301 Рік тому +1

    Thanks Raj for your awesome work, btw AFAIK the ALB IPs are all dynamic, just the DNS name of the ALB is static. Can you please elaborate more on this?

    • @ankitsharma1619
      @ankitsharma1619 Рік тому

      Hello Hamidullah, When you provision a load balancer in AWS it provides us a URL to access it which is its DNS name. That name is permanent. But when you will try to do a IP lookup of the loadbanacer URL you will get two public IPs. These IPs will change in sometime automatically that is why it is called dynamic IP. So we cannot rely on IP but the LoadBalancer static name.

  • @Entertainmentx-kt7xb
    @Entertainmentx-kt7xb 4 роки тому +1

    Sir, please let us know, how to create web development or real client level infrastructure development with AWS compute database and other components...

    • @cloudwithraj
      @cloudwithraj  4 роки тому +1

      Will keep in mind for future videos. Thanks for the suggestion!

  • @gauravdas1000
    @gauravdas1000 3 роки тому

    This is what I was looking for, very informative. Thank you for uploading

  • @anshikagupta4931
    @anshikagupta4931 2 роки тому

    Great Video.. I believe ALB can have cross-region/ acconut targets by leveraging VPC peering and registering targets by IP address..

    • @cloudwithraj
      @cloudwithraj  2 роки тому +1

      Yes, you are right Anshika, however it is little involved. I was covering out of the box features. Thanks for pointing out. Keep learning and keep rocking!

  • @douglasporto2564
    @douglasporto2564 4 роки тому +1

    Hei Dude, one question, is static IP just for NLB, ins't?

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Douglas, not anymore, check out pinned comment, added it this morning.

  • @dernicolas6281
    @dernicolas6281 2 роки тому

    +1 for the shirt! And the content

  • @shahamitsynygy
    @shahamitsynygy 3 роки тому +1

    Very informative video. I came across this while trying to find an answer on whether we need a load balancer when we plan to have an api gateway in our system design. From this video I understand the key differences a load balancer has - static ip address, ability to handle more requests per second (?) and larger timeout limit. There is a mention about health checks but that's something API gateways like WSO2, Kong, Krakend also have these days.
    Is there any key feature that mandates the need of having a load balancer in the system infrastructure when an api gateway is already present?
    Thanks.

    • @cloudwithraj
      @cloudwithraj  3 роки тому

      Thanks Amit for the kind feedback. True, some API gateways have health checks, however I wanted to focus on the AWS managed API Gateway. Kong, Ambassador is good but application team need to manage the infra, scaling etc. In certain cases if you need private integration then you need to use API Gateway > LB > EKS/ECS

    • @ray811030
      @ray811030 2 роки тому

      @@cloudwithraj bro may I know what's difference betweeen private integration and normal integration?

  • @funisthename
    @funisthename 3 роки тому

    Thanks for the explaination... When can we use both like API Gateway -> ALB -> ECS? If possible could u please put a video for the same..

    • @cloudwithraj
      @cloudwithraj  3 роки тому

      Noted Sonali, will try to do a video on this.

  • @KangJangkrik
    @KangJangkrik 4 роки тому

    Wow RGB to the next level, Linus proud of you

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Thanks brother! Linus is GOD of RGB hahaha

  • @visionkings787
    @visionkings787 3 роки тому

    Sir what is load balanced rest api ??

  • @maoryahalomi-work1869
    @maoryahalomi-work1869 2 роки тому

    Very nice , Thanks!

  • @hackedemotion
    @hackedemotion 2 роки тому

    I am bit confused , can we use LB along API gateway ?
    Also does every api call for different action need different resource. Means if I have 3 actions like /v1/activate , /v1/pickup, /v1/drop do I need 3 resources to process the request from these 3 apis?

    • @cloudwithraj
      @cloudwithraj  2 роки тому

      Hey! Yes you can use LB as the backend of an API Gateway API. Assuming v1 is stagename, you can create three resources - activate, pickup, and drop to achieve that under one API. You don't need to create three different APIs for this

    • @hackedemotion
      @hackedemotion 2 роки тому

      @@cloudwithraj thanks Raj, how about the endpoints , does all threes actions from this api will have three lambda or only one lambda or ec2 instance

  • @jaspreetrandhawa4015
    @jaspreetrandhawa4015 3 роки тому

    Great video! Is there an option where we can utilise benefits of both API gateway and ALB. The key limitation of API gateway is restriction to serve 10,000 RPS which is not there in ALB , I wanted to get over limit and utilise the request /response mapping capabilities.

    • @cloudwithraj
      @cloudwithraj  3 роки тому +1

      No such option currently out of the box. You can split the API in different accounts/regions to bypass the limits.

  • @talwaar007
    @talwaar007 Рік тому

    Good video. Thanks.

  • @CoffeeandBarbell
    @CoffeeandBarbell 2 роки тому

    Excellent video.. Thank you Raj.

  • @mming_my
    @mming_my 3 роки тому +1

    Api gateway win by far, what's the reason to use ALB?

    • @cloudwithraj
      @cloudwithraj  3 роки тому +1

      ALB has good use cases too Ming - if you need greater connection timeout, out of the box health checks, direct integration with kubernetes as ingress etc. Also most on prem apps use load balancer and when they migrate to cloud they just start using load balancer rather than redesigning with API gateway.

    • @mming_my
      @mming_my 3 роки тому

      can't use API gateway with ks8?

    • @cloudwithraj
      @cloudwithraj  3 роки тому +2

      @@mming_my Not directly, have to be API Gateway to LB (working with ingress) then to pods. You can install a third party API gateway like kong directly on kubernetes and expose without load balancer but with Amazon API gateway you need a load balancer. Hope this helps

  • @deepat2272
    @deepat2272 3 роки тому

    Thanks for the great session 🙏🏽

  • @Crack_interview_with_sim
    @Crack_interview_with_sim 2 роки тому

    Hey Raj , thanks for the informative video. I have one question that might be basic and naive but it will help if you can clarify. where does CDN comes into picture if you are using and API gateway or load balancer? thanks

    • @cloudwithraj
      @cloudwithraj  2 роки тому +1

      Hey Simran, your question is neither basic, not naïve! CDN is a content delivery network. It will sit in front of an API (or ALB). Whatever the API returns, CDN can cache it and makes it faster for other viewers to retrieve the data. Hope this helps.

    • @Crack_interview_with_sim
      @Crack_interview_with_sim 2 роки тому

      @@cloudwithraj thank you so much for responding , helps a lot

  • @snaidu70
    @snaidu70 4 роки тому

    Awesome Raj. Thank you so much.

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Thanks Soumya for watching. I am glad you found this helpful.

  • @douglasporto2564
    @douglasporto2564 4 роки тому

    Thanks, Dude! Great Work!!!!!!!

  • @anubhavasthana8025
    @anubhavasthana8025 3 роки тому

    Hi Raj .. Video was really informative like all your other videos.. You have listed that its possible to get static IP in ALB ..However, AWS site says that its not possible to have a static IP and we have to use it in conjunction with NLB or Global Accelerator ... I am a bit confused on this point.

    • @anubhavasthana8025
      @anubhavasthana8025 3 роки тому

      AWS Link I am referring above : aws.amazon.com/blogs/networking-and-content-delivery/using-aws-lambda-to-enable-static-ip-addresses-for-application-load-balancers/

    • @anubhavasthana8025
      @anubhavasthana8025 3 роки тому

      Just realized that you have already answered my above question in your comments.

  • @harshitmlore
    @harshitmlore Місяць тому

    thank you

  • @mirceaungureanu5305
    @mirceaungureanu5305 2 роки тому

    Very informative video, thank you 😊

  • @pradeep_kumar_ind
    @pradeep_kumar_ind 3 роки тому

    Very informative video. Thanks.

  • @ngneerin
    @ngneerin 4 роки тому

    Thanks Raj. It was really good information

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Thanks Vinit for watching. I am glad it was useful.

  • @venkatagulla7177
    @venkatagulla7177 4 роки тому

    Hi Raj It’s very informative Thank you

  • @anirbanroy1524
    @anirbanroy1524 4 роки тому

    Thanks for the excellent video!!

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Thanks Anirban :). Glad you found it useful.

  • @jayanth1376
    @jayanth1376 2 роки тому +1

    👌👌👌

  • @TKVenu
    @TKVenu 2 роки тому

    nice session man

  • @nishafaisal3929
    @nishafaisal3929 4 роки тому

    Great Tutorial

  • @mankind7070
    @mankind7070 4 роки тому

    Thank you 😊

  • @AliTwaij
    @AliTwaij 2 роки тому

    Thank you

  • @MrDoublethumb
    @MrDoublethumb 4 роки тому

    good one

  • @Entertainmentx-kt7xb
    @Entertainmentx-kt7xb 4 роки тому

    This tutorial was very informative...

    • @cloudwithraj
      @cloudwithraj  4 роки тому

      Glad you liked it. Thanks for watching.

  • @joshuacalhoun6167
    @joshuacalhoun6167 3 роки тому

    High five to a fellow Rick and Morty fan!

  • @siddharthchoudhary8520
    @siddharthchoudhary8520 Рік тому

    Really good video… but the only irritating part is the fake accent and I cannot somehow divert my focus from that. One piece of advice:- Not sure which accent you are trying to put but neither UK nor US sounds like that. Thank god, I don’t work with you professionally.

  • @bobchemist
    @bobchemist 3 роки тому

    Great video, thanks!