How to deploy a lambda function using versioning and aliases + API Gateway

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2024
  • In this video we create a lambda function (a random number generator) and use versions and aliases to manage the deployment of the lambda function.
    ⚡️ Blog post: www.undefinedapps.com/post/de...
    - 0:00 Intro: what are versions (numeric and $LATEST) and aliases and what are they useful for?
    - 1:58 Iteration #1 - creating the lambda function, a new version, a new alias and an API Gateway endpoint url, which will trigger the function
    - 5:45 Iteration #2 - create a new version and deploy the function by pointing the alias to the new version
    - 6:59 Iteration #3 - A faster way to deploy the function and manage rollbacks, without using the aws console
    - 11:18 Pointing an API gateway endpoint to trigger a lambda function's alias, instead of the $LATEST version
    ⚡️ Summary:
    - The $LATEST version points to the latest version of the code of the function. For example, when you edit the code or upload a zip file with your code, the $LATEST version will immediately point to that version of the code.
    - A numeric version of a function points to a snapshot of the function's code at the time when the version was released. This version of the code cannot be changed.
    - An alias points to one of the versions of the function
    - To manage the release and deployment of a lambda function, we can point an API Gateway endpoint to an alias and then when we release a new version of the function, adjust the alias to point to this new version.
    ⭐️ Subscribe for more content: newsletter.undefinedapps.com/
    #AWS #Lambda #serverless
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @laffytaffykidd
    @laffytaffykidd 2 ปีที่แล้ว +5

    Just wow! Straight to the point and gives me everything I need! Thank you so much and keep up the great work!

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

    Seriously, this is one of the best AWS tutorials I have ever seen! And that LambdaBuddy app is super cool. Keep making content!

  • @sebastiencrepel5032
    @sebastiencrepel5032 2 ปีที่แล้ว

    Very helpful. You got straight to the point. Thanks a lot !

  • @RYeah100
    @RYeah100 ปีที่แล้ว

    This was great! I came back to this video 3 times already. don't stop making videos I am sure you channel will grow more.

  • @kaustubhk7553
    @kaustubhk7553 2 ปีที่แล้ว

    very nice & informative video about lambda aliases...thanks a lot!

  • @damaroro
    @damaroro 2 ปีที่แล้ว

    jesus, amazing video, amazing explanation, keep up the good work bro

  • @khandoor7228
    @khandoor7228 2 ปีที่แล้ว

    excellent explanation!!

  • @salesgen-channel
    @salesgen-channel 2 ปีที่แล้ว

    Amazing, thanks!

  • @iqbaldp2598
    @iqbaldp2598 2 ปีที่แล้ว

    AMAZING VIDEO!!!!!!!!

  • @muhammadadil4885
    @muhammadadil4885 2 ปีที่แล้ว

    Thanks. It helped me.

  • @potbellytv
    @potbellytv 2 ปีที่แล้ว

    hey, great work! currently looking to implement a blue/green solution for lambda function and theses to be a contender.
    QQ - is lambda buddy secure enough for corporate functions to be integrated??

    • @BiteSizeAcademy
      @BiteSizeAcademy  2 ปีที่แล้ว +1

      Thanks! Sure, if you have any specific concerns or questions regarding security best practices, feel free to email me.