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

Ғылым және технология

In this video we will start with what is Amazon Application Load Balancer (ALB) and Amazon API Gateway, then we will dive deep into the comparison - feature differences, pros cons, limitations, price difference etc. Finally we will go over conclusion. Timestamps below.
💰👨‍🎓 Get my courses with max discount and 30 day moneyback guarantee: bit.ly/3Eku9RH
🙏Please Subscribe: bit.ly/2Yk0Kbb
*Connect with me*
🤳 Instagram: / cloudwithraj
🏢 LinkedIN: / cloudwithraj
🐦Twitter: / cloudwithraj
🖼 Facebook: / cloudwithraj
TIMESTAMPS:
00:00 Intro
00:44 Brief intro to ALB
01:37 Brief intro to API Gateway
02:27 Differences between ALB and API Gateway
13:16 Conclusion

Пікірлер: 96

  • @cloudwithraj
    @cloudwithraj2 жыл бұрын

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

  • @ramreddy9428
    @ramreddy94282 жыл бұрын

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

  • @deleted7023
    @deleted7023 Жыл бұрын

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

  • @cloudwithraj
    @cloudwithraj3 жыл бұрын

    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/

  • @hellorsanjeev11
    @hellorsanjeev113 жыл бұрын

    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!

  • @dr.amarmudiraj
    @dr.amarmudiraj2 жыл бұрын

    Excellent JOB Raj, I always loved the way to represent the things in your videos, the videos which are available on the KZread 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

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    Absolutely, well summarized Amar!

  • @gauravdas1000
    @gauravdas10002 жыл бұрын

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

  • @rovin002
    @rovin0022 жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    Glad you like them!

  • @rohrvy1989
    @rohrvy1989 Жыл бұрын

    Very Informative Raj..Thanks

  • @Zancb
    @Zancb Жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    Жыл бұрын

    Glad it was helpful Zan

  • @rohitsanthosh2604
    @rohitsanthosh26045 ай бұрын

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

  • @deepat2272
    @deepat22723 жыл бұрын

    Thanks for the great session 🙏🏽

  • @shwetachandrakar4060
    @shwetachandrakar406010 ай бұрын

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

  • @nagyyoussef6872
    @nagyyoussef6872 Жыл бұрын

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

  • @shahamitsynygy
    @shahamitsynygy2 жыл бұрын

    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

    2 жыл бұрын

    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

    Жыл бұрын

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

  • @bobchemist
    @bobchemist3 жыл бұрын

    Great video, thanks!

  • @visionkings787
    @visionkings7872 жыл бұрын

    Sir what is load balanced rest api ??

  • @douglasporto2564
    @douglasporto25643 жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Thanks Douglas for watching.

  • @snaidu70
    @snaidu703 жыл бұрын

    Awesome Raj. Thank you so much.

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

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

  • @goodnightmr5892
    @goodnightmr58922 жыл бұрын

    Bruh, Nice setup!

  • @CoffeeandBarbell
    @CoffeeandBarbell2 жыл бұрын

    Excellent video.. Thank you Raj.

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    My pleasure

  • @anirbanroy1524
    @anirbanroy15243 жыл бұрын

    Thanks for the excellent video!!

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Thanks Anirban :). Glad you found it useful.

  • @anshikagupta4931
    @anshikagupta49312 жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    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!

  • @ngneerin
    @ngneerin3 жыл бұрын

    Thanks Raj. It was really good information

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

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

  • @maoryahalomi-work1869
    @maoryahalomi-work18692 жыл бұрын

    Very nice , Thanks!

  • @wil9861
    @wil98616 ай бұрын

    @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

    4 ай бұрын

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

  • @venkatagulla7177
    @venkatagulla71773 жыл бұрын

    Hi Raj It’s very informative Thank you

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Thanks and welcome

  • @talwaar007
    @talwaar007 Жыл бұрын

    Good video. Thanks.

  • @dernicolas6281
    @dernicolas6281 Жыл бұрын

    +1 for the shirt! And the content

  • @Entertainmentx-kt7xb
    @Entertainmentx-kt7xb3 жыл бұрын

    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

    3 жыл бұрын

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

  • @TheLostBijou
    @TheLostBijou Жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    Жыл бұрын

    Good point Kent, ty!

  • @mirceaungureanu5305
    @mirceaungureanu53052 жыл бұрын

    Very informative video, thank you 😊

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    Glad it was helpful!

  • @pradeep_kumar_ind
    @pradeep_kumar_ind2 жыл бұрын

    Very informative video. Thanks.

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    Glad it was helpful!

  • @Crack_interview_with_sim
    @Crack_interview_with_sim2 жыл бұрын

    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 жыл бұрын

    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

  • @hamidullahmuslih6301
    @hamidullahmuslih6301 Жыл бұрын

    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.

  • @KangJangkrik
    @KangJangkrik3 жыл бұрын

    Wow RGB to the next level, Linus proud of you

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Thanks brother! Linus is GOD of RGB hahaha

  • @jaspreetrandhawa4015
    @jaspreetrandhawa40153 жыл бұрын

    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 жыл бұрын

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

  • @douglasporto2564
    @douglasporto25643 жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

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

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

  • @hackedemotion
    @hackedemotion2 жыл бұрын

    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

  • @sivabenguluru1241
    @sivabenguluru12413 жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Will keep in mind for future videos Siva

  • @anubhavasthana8025
    @anubhavasthana80252 жыл бұрын

    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

    2 жыл бұрын

    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

    2 жыл бұрын

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

  • @sultanqureshi2766
    @sultanqureshi2766 Жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    Жыл бұрын

    Thank you so much 😀

  • @nishafaisal3929
    @nishafaisal39293 жыл бұрын

    Great Tutorial

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Glad it was helpful!

  • @mankind7070
    @mankind70703 жыл бұрын

    Thank you 😊

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    You're welcome 😊

  • @AliTwaij
    @AliTwaij Жыл бұрын

    Thank you

  • @cloudwithraj

    @cloudwithraj

    Жыл бұрын

    You're welcome

  • @funisthename
    @funisthename2 жыл бұрын

    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

    2 жыл бұрын

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

  • @jayanth1376
    @jayanth13762 жыл бұрын

    👌👌👌

  • @TKVenu
    @TKVenu2 жыл бұрын

    nice session man

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    Ty bro, glad you found it helpful

  • @MrDoublethumb
    @MrDoublethumb3 жыл бұрын

    good one

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Thanks :)

  • @Entertainmentx-kt7xb
    @Entertainmentx-kt7xb3 жыл бұрын

    This tutorial was very informative...

  • @cloudwithraj

    @cloudwithraj

    3 жыл бұрын

    Glad you liked it. Thanks for watching.

  • @mming_my
    @mming_my2 жыл бұрын

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

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    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

    2 жыл бұрын

    can't use API gateway with ks8?

  • @cloudwithraj

    @cloudwithraj

    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

  • @joshuacalhoun6167
    @joshuacalhoun61672 жыл бұрын

    High five to a fellow Rick and Morty fan!

  • @cloudwithraj

    @cloudwithraj

    2 жыл бұрын

    PICKLEEEEE RIIIICK

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

Келесі