Amazon Cognito Beginner Guide

Поділитися
Вставка
  • Опубліковано 1 чер 2024
  • In this video, you'll learn about Amazon Cognito's main features and how User Pools and Identity Pools tie together. We'll start by overviewing Cognito features before diving into User and Identity Pools in detail.
    Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabetterdev.com/cour...
    Secure your API Gateway with Cognito User Pool - • Secure your API Gatewa...
    Add Google Social Sign On to Your Cognito User Pool - • How To Add Google Soci...
    Amplify Overview - • What is AWS Amplify? P...
    📚 My Courses 📚
    AWS Lambda - A Practical Guide - www.udemy.com/course/aws-lamb...
    🎉SUPPORT BE A BETTER DEV🎉
    Become a Patron: / beabetterdev
    📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
    Clean Code - amzn.to/37T7xdP
    Clean Architecture - amzn.to/3sCEGCe
    Head First Design Patterns - amzn.to/37WXAMy
    Domain Driven Design - amzn.to/3aWSW2W
    Code Complete - amzn.to/3ksQDrB
    The Pragmatic Programmer - amzn.to/3uH4kaQ
    Algorithms - amzn.to/3syvyP5
    Working Effectively with Legacy Code - amzn.to/3kvMza7
    Refactoring - amzn.to/3r6FQ8U
    🎙 MY RECORDING EQUIPMENT 🎙
    Shure SM58 Microphone - amzn.to/3r5Hrf9
    Behringer UM2 Audio Interface - amzn.to/2MuEllM
    XLR Cable - amzn.to/3uGyZFx
    Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
    Desk Microphone Mount - amzn.to/3qXMVIO
    Logitech C920s Webcam - amzn.to/303zGu9
    Fujilm XS10 Camera - amzn.to/3uGa30E
    Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
    Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
    💻 MY DESKTOP EQUIPMENT 💻
    Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
    Autonomous ErgoChair 2 - bit.ly/2YzomEm
    Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
    MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
    Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
    Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
    🌎 Find me here:
    Twitter - / beabetterdevv
    Instagram - / beabetterdevv
    Patreon - Donations help fund additional content - / beabetterdev
    #aws
    #cognito

КОМЕНТАРІ • 73

  • @kashifsohail8756
    @kashifsohail8756 Рік тому +53

    OMG . Are you kidding me ? . I cant believe such an excellent presentation is available on this topic . it has got all what i need , Hats off to you man

    • @BeABetterDev
      @BeABetterDev  Рік тому +2

      Thank you so much for your kind comment!

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

    Thanks for the video. Really loved how you explained it for practical use as well.

  • @gavincoulson3900
    @gavincoulson3900 Рік тому +6

    Literally couldn't have had better time in making this video! We just started using cognito at work!

  • @ozworth
    @ozworth 2 місяці тому

    Concise and to the point. Excellent video!

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

    Thank you so much bro, really helpful video. Your channel is the main resource i look when i have any doubt in aws.

  • @andrewkicha1628
    @andrewkicha1628 Рік тому +5

    This presentation of the Cognito service is brilliant.
    All the important details fit in 25 minutes.
    Thank you.

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

      Thanks so much Andrew and glad you enjoyed!

  • @Confusedcapybara8772
    @Confusedcapybara8772 Рік тому +3

    This is exactly what ive been looking for! Thanks man! I appreciate you showing multiple options on how to do something

  • @Exevan110
    @Exevan110 17 днів тому

    Very good video. Even with the now outdated ui, this clearly explains user pools and identity pools as well as the differences and their usecases.

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

    Thanks for this brief explanation. It was very informative.
    Do you have more videos about AWS Cognito, like a hands on integration into actual applications?

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

    Very well, slow and detailed. Thank you

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

    Thanks for the video and great explanation as usual. Could you elaborate more on "other options to integrate directly in your app" outside of the hosted UI at 13:23? What are the tradeoffs if not using the hosted UI? Do you take on more security burden and liability/maintenance? Is it significantly difficult to integrate? trying to decide whether to use the hosted UI or build our own signup form to look more internal to an app, but am not sure how to weigh the pros and cons.

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

    Wow, clear points in the goal, thanks for this a very good illustration.

  • @pythonbrothersandfamily
    @pythonbrothersandfamily 7 місяців тому

    brooo I have been following your YT channel and all the information you share is AMAZING. Thanks a looot

  • @ewenreynolds
    @ewenreynolds 3 місяці тому

    Thank you so much for this clear and well presented tutorial. Subscribed 😊

  • @TigranGevorgyan-vm8rc
    @TigranGevorgyan-vm8rc 11 днів тому

    Thank you, this was informative!

  • @user-tv5vg5yb4g
    @user-tv5vg5yb4g 6 місяців тому

    Great video, thank you very much for this! ❤

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

    This is really good, thanks a ton.

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

    Excellent explanation! Thanks for this nice video. I have a question here. I am beginner so not much knowledge however how to setup AWS Cognito (with SSO) for multi-region considering DR as the critical requirement.

  • @jaredharp9815
    @jaredharp9815 Рік тому +5

    You sir, should be getting paid by AWS for these videos!
    This was such a great explanation and lucid intro to Cognito. Like seriously, 10/10 job. Thanks again, I will definitely be liking and checking out your other videos 👍

  • @simonshkilevich3032
    @simonshkilevich3032 7 місяців тому

    dude, this video is amazing

  • @khanriza
    @khanriza Рік тому +2

    Awesome video. Came in timely manner as we're working on adding Cognito to our app :)

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

    Amazing video!

  • @oluwaseyiorifunmishe4144
    @oluwaseyiorifunmishe4144 Рік тому +2

    Dude!! You’re good at this. You reduce the complexity of cognito, by an order of magnitude.

  • @saarangslt3327
    @saarangslt3327 9 місяців тому +1

    Simply amazing. Thank you

  •  4 місяці тому

    Thanks for the awesome video. Amazon should hire you.

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

    Great summary, thank you. They should link this directly from the AWS page :)

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

    Thanks for the video. Could you also make one about how ECS is integrated with ALB and API Gateway with Cognito? Thanks

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

    Thank you so much!

  • @DavidRichardsDC
    @DavidRichardsDC Рік тому +2

    I love your videos and have subscribed. your info is very helpful! Some of the best I have found!
    I hope I am not out of place suggesting something: the vocal recording is quite "boomy" as they say in the recording business which can make it hard to listen on some systems and there are easy fixes: grab a free EQ (like Audacity) and make a cut in the 100-300 Hz range. If you want to sound great on YT: 4db cut at 125Hz, 2db boost at 2k Hz and high pass filter below 100 Hz. Also, experiment with speaking from 6-12 inches from your mic to avoid the "proximity effect" which is mostly an issue for deeper voices with better quality mics.

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

      Hi Richard, thank you so much for the feedback! I'm going to look into your tips more and see if I can make some adjustments.
      Do you have any suggestions for articles/tutorials to get this set up properly? I'm currently using a audio mixer called VoiceeMeter and thought I had it configured correctly but apparently not :(

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

      @@BeABetterDev I just looked at VoiceMeeter as I wasn't familiar. From a glance it looks like they have the basic "Bass" "Midrange" "Treble" control, but I think the biggest factor is the HPF which maybe isn't in there. High pass filter rolls off anything below a set frequency. I also have a deeper voice and will usually set my HPF to around 100Hz. I am not sure if this workflow would work, but you could literally just dump your audio in Audaicy which is a free and pretty high quality tool, then use the EQ in the filter dropdown menu and then export the resulting audo as a wav file or mp3 or whatever you prefer. That is one option. Another free tool might be Cakewalk by Bandlab which is mostly for multitracking music, but you can also track video in there. Those are some free ideas. If you are willing to drop some cash: Izotope is an industry standard. I use their products extensively for music production. But, they are also used for radio, dialog in general, podcasts... Check this page: www.izotope.com/en/learn/audio-repair/dialogue-editing.html

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

    Would appreciate a hands on coding video using cognito

  • @atedemx
    @atedemx Рік тому +4

    I like cognito, and feel like I will still choose it over auth0 , but it still has poor documentation, you should talk about sessions and how cognito fails with access and refresh tokens as well as how it becomes expensive when going through different scenarios say adding flags to validate flows and challenges if you are working on more complex user authentication ( say multiple customers, invites, etc etc.). Still it is a great video introducing Cognito and your work is always amazing. I feel that you could do a couple of videos, based on your experience mentioning challenges faced with some AWS services that maybe a small project or company won`t face but that huge products and highly available systems will definitely do 👍 Again, awesome work and keep it going!

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

      @Arturo Borbolla - can you please expand on this? Do you have examples of cost thresholds when adding complexity? Is there a viable, cheaper alternative when complexity is needed?

  • @Misantronic
    @Misantronic Рік тому +2

    A note on that: I love cognito, it‘s a great service which fulfills all my needs. However, I have 2 pain-points which are quite annoying to get by:
    - documention is (as for most services) absolute hell. it‘s all there - somewhere. you just need to guess the right words to find what you want to achieve in the docs or somewhere at stackoverflow
    - it‘s not fast. logging in or refreshing a session sometimes takes a few seconds which can be painfully blocking.
    additionally, aws-amplify was such an overkill for me that I decided to just go with the aws-sdk and it‘s js-client libs. they‘re much more straight forward and don‘t require a whole bootstrap setup.
    still, great videos like yours are an immense help for beginners and also advancaed users as well.

    • @BeABetterDev
      @BeABetterDev  Рік тому +2

      Thanks for the great insight Misan! Definitely agree on the documentation point - it was a painful process to navigate it all to learn what I have.
      Cheers

  • @higorbt2
    @higorbt2 Рік тому +2

    Great video. Content sugestion: create a passwordless authentication with Cognito using Triggers.

  • @sharanbabu2001
    @sharanbabu2001 Рік тому +2

    Great video! Can you make a video on Elastic Beanstalk flask api vs lambda for the same? How many concurrent requests can ELB actually handle?

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

    nice. thanks

  • @AmitPawar-oj3yw
    @AmitPawar-oj3yw Рік тому

    Nice video

  • @Sukanya-xh7ij
    @Sukanya-xh7ij Рік тому

    can I use cognito for the applications hosted in onprem data center, VM Ware OR any other Private Cloud ?

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

    Thanks you this video is great explain the concepts and core. But i could to show examples using programming languages, and explore more about integrations app using examples

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

    Good to know.

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

    Great work!
    In the use case, how does your own backend server validate Cognito token?

    • @BeABetterDev
      @BeABetterDev  Рік тому +2

      Hi there, good question!
      There's some well documented steps on how to validate the token here: docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-verifying-a-jwt.html
      In short, first you validate the format of the token before validating the token itself with a private key offered by Cognito for your user pool.
      Hope this helps

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

    is there any option of getting a token besides the URL, Actually I fetch the access token from the URL and then validate it from my frontend(js) via API headers but it has a security flaw, upon login, it shows my Access token in the URL or is there any option to hide it

  • @Entertainment-by9ci
    @Entertainment-by9ci 4 місяці тому

    If a user, authenticated through Cognito, has the ability to assume multiple IAM roles with distinct S3 permissions, will these permissions be aggregated, allowing the user to access S3 objects based on the combined set of permissions from all assumed roles?

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

    u should upload more videos on cognito with lab

  • @lesptitsoiseaux
    @lesptitsoiseaux 6 місяців тому

    If you have users using OTP and want to move over to Cognito and ensure they can also log in user SSO, how do you do that?

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

    Not being able to signout from the amazon provider. Automatically being signed in, instead of showing the sign form. Any Solutions?

  • @haha-eg8fj
    @haha-eg8fj Рік тому

    This all goes well when using a hosted UI. If I need to use my own authentication UI (for different languages) it becomes hell of a mess.

  • @paulywalnutz5855
    @paulywalnutz5855 25 днів тому

    literally just turned off my college lecture to watch this

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

    Where is the link to the left part at 15:33?

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

    How to connect Cognito with Spring boot application ?

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

    Gold

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

    It is sad that cognito does not have support for flutter web. Luckly I understand enough angular to make my frontend but Flutter would be easier for me

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

    👏

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

    Nice video, but using implicit flow and / or tokens in url is antipattern this days....

    • @rob3c
      @rob3c 11 місяців тому

      Cognito does support PKCE (although I don't think you can enforce its use)

  • @nikhilgoyal007
    @nikhilgoyal007 3 місяці тому

    @how to diagram @15:00

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

    If only cognito would support localisation of the hosted UI.
    It is 2022 and they support only the English language!??

  • @vincentnthomas1
    @vincentnthomas1 4 місяці тому

    Man for your own security migrate away from last pass, they’ve had multiple breaches