AWS reInvent 2020 Run Lambda with Container Image | Tutorial & DEMO | Lambda and Kubernetes

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

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

  • @buntysingh7315
    @buntysingh7315 4 ปีที่แล้ว +9

    Great Video As Usual!!! Can you do a detailed comparison of lambda with containers vs fargate for running serverless apps comparing the cold starts as well as other pros and cons of both services?

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว +2

      Great suggestion! Will do in a future video.

    • @yajatgupta9256
      @yajatgupta9256 3 ปีที่แล้ว

      Hey Bunty, just wanted to check. Did you get finally understand the difference?

    • @buntysingh7315
      @buntysingh7315 3 ปีที่แล้ว +1

      @@yajatgupta9256 Yeah..Cold starts are almost similar for both serverless services, however for longer running adhoc tasks fargate is far more useful, also wherever you need atmoicity in execution you should go for fargate as we have seen cases where lambda has more than one execution even though it was called only once.

  • @techfoundry6727
    @techfoundry6727 4 ปีที่แล้ว +1

    any video coming-in for lambda container vs fargate ???

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      In the pipeline, probably next week :). Too many hands on and announcements to catch up

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

    Cute doggo!!!

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

      Doggo says "wooof!!" 🐕.

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

    Thanks Raj!

  • @alvinlie9661
    @alvinlie9661 3 ปีที่แล้ว +1

    Hi Agent of Change, can you please elaborate more where this container actually runs when invoked? is it running on ECS, EKS or Fargate in the account used? Thanks.

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Hi Alvin. The container is running using Lambda service. It is NOT running within ECS, EKS or Fargate.

    • @alvinlie9661
      @alvinlie9661 3 ปีที่แล้ว

      @@cloudwithraj Thank you :)

  • @johnjosephfernandes
    @johnjosephfernandes 4 ปีที่แล้ว +1

    Hey what would you suggest is a scalable way to deploy this to aws and connecting to api gateway ?

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Hey John, you can deploy using your current devops pipeline of deploying lambda and api gateway. Note that SAM and CloudFormation supports grabbing the container from ECR for the lambda. You can use Jenkins, CodePipeline or any devops tool that supports CloudFormation/Terraform.

  • @johnjosephfernandes
    @johnjosephfernandes 4 ปีที่แล้ว +1

    How do you test functions that are primary acting as a get api ?

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Do you mean Lambda as the backend of the API gateway GET method? You can test from API Gateway directly, or use Postman, curl, or SAM local.

    • @johnjosephfernandes
      @johnjosephfernandes 4 ปีที่แล้ว

      @@cloudwithraj hey thank you for reply . What I am trying out is , I have a lambda in golang and wanted to test it locally . My function takes querystring parameters . How do I invoke the lambda so that it takes my querystring parameters locally ?

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      @@johnjosephfernandes Gotcha, querystring parameters will come into lambda event input. Print out the lambda event and fire from API once, capture the way lambda event is coming and determine how querystring values are passed to the event. Then in your local testing, use that event format and pass different values for the querystring directly.

    • @johnjosephfernandes
      @johnjosephfernandes 4 ปีที่แล้ว +1

      @@cloudwithraj hey I got it to work. Thanks for quick response

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว +1

      @@johnjosephfernandes Amazing! Keep rocking John!

  • @PatrickSteil
    @PatrickSteil 4 ปีที่แล้ว +1

    Great demo. Thx!

  • @seanhudson5889
    @seanhudson5889 4 ปีที่แล้ว +1

    Cool video. Any idea on how to implement a custom RIC on top of a custom Amazon Linux base image? I was interested in seeing if it was possible to deploy a lambda using the amazoncorretto:15 base image.

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      On the same blog (aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/), there is an example of custom base image, check that out if that satisfies your requirement

  • @jamesbonding3988
    @jamesbonding3988 3 ปีที่แล้ว

    Quick question : you dockerized the lambda function and placed it in the ECR ...still this gets invoke thru the lambda as event. How to make a lambda function into a POD so it could run inside Kubernetes ? thanks!

  • @onoff5604
    @onoff5604 3 ปีที่แล้ว +1

    Thank you for the great video. Can you add some clarification on debian apt vs. aws-linux YUM (rpm/redhat/fedora etc) setup for the cloud9-ec2? e.g. Are there required setup and or package install steps not mentioned to get your demo to work? Many thanks! Keep up the great teaching!!

  • @vinodshalgar
    @vinodshalgar 4 ปีที่แล้ว +1

    Thanks for sharing this valuable information. 👍

  • @dhruvmalik6
    @dhruvmalik6 4 ปีที่แล้ว

    Excellent video, well planned....

  • @SKGS1980
    @SKGS1980 3 ปีที่แล้ว

    Raj, do you know if it is possible to run windows docker containers in Lambda ?

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Only Linux right now, if you convert to .NET core then you can run that on Linux.

  • @sourabhk2373
    @sourabhk2373 3 ปีที่แล้ว

    How on earth are those powerpoint transitions so good ? Is this microsoft powerpoint or some other tool that he is using ?

  • @radiosification
    @radiosification 4 ปีที่แล้ว +4

    Thanks for this video but I found the audio to be very low. If you right click and go to stats for nerds on the youtube video it shows that it's -9.4dB. Obviously you can't change this video now but hopefully you can make sure the audio on future videos is not so quiet

  • @ShoppingBored
    @ShoppingBored 3 ปีที่แล้ว

    How do I connect to rds via tunneling when using docker?

  • @robertmcgill9078
    @robertmcgill9078 3 ปีที่แล้ว

    Very helpful video.

  • @niceOneSonnyAgain
    @niceOneSonnyAgain 4 ปีที่แล้ว +1

    cool. This is actually how Fn project has been working even though AWS just released.

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Ohh really? I didn't know about it, thanks for pointing it out.

  • @utakatech
    @utakatech 4 ปีที่แล้ว

    do you know if we can mount a ramdisk to leverage lambda 10GB of ram into a disk ?

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว +1

      Hey Bilal, you can't use Lambda RAM for a regular EBS Disk with EC2. Lambda 10 GB RAM is usable only by the Lambda function itself.

    • @utakatech
      @utakatech 4 ปีที่แล้ว

      @@cloudwithraj I mean, can it be hacked in a way I can leverage 10GB RAM into a ramdisk, by mounting it in dockerfile using like `mount -t tmpfs -o size=1024m myramdisk /tmp/ramdisk`

  • @machireddyshyamsunder987
    @machireddyshyamsunder987 4 ปีที่แล้ว

    Super cool feature .. I guess smart tech guys now can explore in more officiate way .. Thanks Raj for Nice explanation

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Thanks Shyam as always for the support!

  • @mithushanjalangan5132
    @mithushanjalangan5132 4 ปีที่แล้ว

    Could elaborate on the pricing ?

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Hi Mithushan, no additional pricing, you pay as usual for Lambda. If you store the container image in ECR then you pay for ECR (after free tier is used).

  • @arunmanglick
    @arunmanglick 3 ปีที่แล้ว

    Awesome

  • @aiya2323
    @aiya2323 4 ปีที่แล้ว

    I see you are flexing that nanoleaf

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Good eye Y C :), do you like the lambda pattern ;)?

  • @worksofindustry
    @worksofindustry 4 ปีที่แล้ว

    GPU support in lambda would be sweet

  • @user779hjg45
    @user779hjg45 4 ปีที่แล้ว

    awesome

  • @rwang5688
    @rwang5688 4 ปีที่แล้ว

    Thank you Raj. This is a timely and great video as usual. I saw an article that says this is a beta feature. Then Serverless Framework just announced support for this feature. I am confused. Is this officially available now? Which regions support this now? I see us west 2 in this video. I have a couple of containers that are currently stuck using ECS. But we really wish to be able to scale in to 0 task. Lambda with container image would make this so much easier for us.

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Thanks Robert for the kind words. Lambda container image support is live and generally available. It is available in these regions currently - US East (Virginia), EU West (Ireland), APAC NE (Tokyo), US West (Oregon), APAC SE (Singapore), EU Central (Frankfurt), US East (Ohio), and SA East (Sao Paulo).

  • @luke123halley
    @luke123halley 4 ปีที่แล้ว

    Thanks :)

  • @davidcech2030
    @davidcech2030 4 ปีที่แล้ว +1

    Perfect at playback speed >>> 1.25

  • @zizifn9142
    @zizifn9142 4 ปีที่แล้ว +1

    I wish lambda can just honor HTTP standard... No custom event, no code migration to lambda standard.. Please just follow web standard...

    • @cloudwithraj
      @cloudwithraj  4 ปีที่แล้ว

      Yes, that'd indeed be easy to use!

  • @rupeshsingh6652
    @rupeshsingh6652 3 ปีที่แล้ว

    Don't try to put fake accent. Normal Indian english suffice it.

  • @dimitriosbizopoulos8226
    @dimitriosbizopoulos8226 3 ปีที่แล้ว

    great video. its weird though that if you put on container image URI '123123523.amazon.com/imagebla:latest' it doesnt actually give u the latest. It gives the latest at that point. So if you update the registry image it will not get the latest.

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

    Thanks Raj!