AWS Lambda - DEMO - Serverless code execution - Automate EBS Snapshot Example

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Learn #AWS #Lambda with a #demo.
    Different attributes of Lambda.
    Specifying VPC & IAM role for Lambda.
    Checking Lambda logs.
    Understand Lambda pricing.
    ++++++++++++++++++++++++++++++++++++++++
    LAMBDA limitations:
    docs.aws.amazon.com/lambda/la...
    ++++++++++++++++++++++++++++++++++++++++
    Code courtesy - www.codebyamir.com/blog/autom...
    -----------------------------------------------------------
    I would request to look at our playlists for AWS Certifications ---
    Solutions Architect - • AWS - Associate Certif...
    &&&
    SysOps Administrator - • AWS SysOps Administrat...
    ++++++++++++++++++++++++++++++++++++++++
    I have answered lot of AWS Interview questions in LIVE sessions here -- • AWS Interview Question...
    Connect with me on LinkedIn to read interesting AWS updates & Practical Scenario Questions --- / knowledgeindia
    Don't miss any updates, please follow my FB page AWStutorials
    &
    Twitter - #!/knowledge_india
    And for AWS exercises & case-studies, you can refer our blog -- aws-tutorials.blogspot.com/
    ++++++++++++++++++++++++++++++++++++++++

Комментарии • 107

  • @paranmittal1746
    @paranmittal1746 4 года назад +9

    Thanks for informative and well explained video, I was struggling to get one to clear my understanding with detailed example, Thanks for your efforts

    • @knowledgeindia
      @knowledgeindia  4 года назад +1

      Don't stop with this. Do check out other AWS practical videos on our channel

  • @jagdishbelapure7521
    @jagdishbelapure7521 6 лет назад +7

    Hi KI, Thank you for these videos!! appreciate your efforts and time to help us. You are truly an inspiration for an IT professional like me to get crystal clear clarity on concepts along with their implementation and adopting newly requested use cases! I would love to see many more nicely crafted videos from you. Thanks again!

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      Thanks Jagdish for taking time and writing an appreciation. This appreciation only helps me to work further. Yes, i am hoping to bring more and more videos. Try to cover the practical aspects, which people miss on many of the times. Please SHARE and show your love :)

  • @neerajmythink
    @neerajmythink 2 года назад +1

    I am overwhelmed by your explanation. Even in 2022 found it very useful. Great Job Man.

  • @tajchana1
    @tajchana1 3 года назад +1

    Thankyou for explaining ! Keep up the great work.

  • @shwetagairos
    @shwetagairos 4 года назад +2

    very good, covered things which help to understand the benefits, use cases and demo for the same. Thank You !

  • @deychand11
    @deychand11 5 лет назад +1

    Wonderful. Thank you.

  • @sureshthandar8780
    @sureshthandar8780 3 года назад +1

    For a beginner it's pretty much easier to understand the concepts thanks a lot. Keep it up bro 👍

    • @knowledgeindia
      @knowledgeindia  3 года назад +1

      please share it further in your circle and check more videos on our channel..

  • @srikanthjangam8383
    @srikanthjangam8383 4 года назад +1

    Excellent video...Thanks a lot.

  • @jean-paulboga8189
    @jean-paulboga8189 Год назад +1

    thanks so much for such great job

  • @hassanmeraj8037
    @hassanmeraj8037 6 лет назад +2

    Thank you Knowledge India for uploading the video.

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      Thanks Hassan. Please do check out our playlist for more easy AWS videos.. please share and SUBSCRIBE our channel to get new AWS videos..

  • @tarunkk
    @tarunkk 4 года назад +10

    Great video. typo: Lambda function run-time limit is 15 min .

    • @knowledgeindia
      @knowledgeindia  4 года назад +5

      Yes you are right. From 10 October 2018, it became 15 mins

  • @surbhidwivedi29
    @surbhidwivedi29 3 года назад +2

    Very helpful 👍 must watch ⌚ video

  • @balanepalaiyathane9714
    @balanepalaiyathane9714 4 года назад +1

    Simple realistic much helpful brings happiness to all learners, fantastic presentation...

    • @knowledgeindia
      @knowledgeindia  4 года назад

      Glad that it helped you .. You should check out our Automation playlist ..

  • @-q-b0_1
    @-q-b0_1 4 года назад +1

    This video explained so dam good for newbies Thank you so much I will join your channel in some time.

    • @knowledgeindia
      @knowledgeindia  4 года назад +1

      Glad it was helpful! Looking forward :)

  • @HeyMani92
    @HeyMani92 3 года назад +1

    WoW, this is a really awesome channel. Thank you

    • @knowledgeindia
      @knowledgeindia  3 года назад

      You are most welcome and I look forward to your support in form of LIKE & SHARE..

  • @vivekns007
    @vivekns007 4 года назад +1

    Thanks, really good. Appreciate your efforts and dedications. Sharing now. liked and subscribed. Will start playlists as well.

  • @gotamp24
    @gotamp24 3 года назад +1

    An overview of the AWS Lambda function(at a hight level) in terms of what it is, what are the use cases, where it's currently used, and by whom would be highly appreciated. As a non-developer, it's hard to grasp/contemplate the concept of Lambda. (Just a thought, I could be wrong). nonetheless, this video is great, and loved your channel as well. Thank you,

  • @eswarteja7064
    @eswarteja7064 2 года назад +1

    Very Good video and good explanation as well. Thanks a ton

    • @knowledgeindia
      @knowledgeindia  2 года назад

      Glad it was helpful!

    • @eswarteja7064
      @eswarteja7064 2 года назад

      @@knowledgeindia can you make videos on python as well or python boto3

  • @anilKumar-wm1bg
    @anilKumar-wm1bg 3 года назад +1

    Absolutely wonderful ❤️

    • @knowledgeindia
      @knowledgeindia  3 года назад

      Thanks for your appreciation. You can support our initiative of Free Practical Cloud Tutorials by sharing this video with your friends on Social channels, whatsapp etc.
      If it helped you solve a problem and you would like to applaud us, click the Applaud button :)
      For regular 1-1 interaction with me, check our Membership - ruclips.net/channel/UCzpHRBVnkzBfSsXostYuW1gjoin
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • @j.c.sekhar1340
    @j.c.sekhar1340 5 лет назад +1

    can we automate the particular folder(directory) like /logs in linux ec2 instances using lamda

  • @amar6323
    @amar6323 4 года назад +1

    Legit material, great work bro

    • @knowledgeindia
      @knowledgeindia  4 года назад

      Thanks Amar. Please do share with your friends and check out other videos on our channel as well.

  • @ManishYadav0719
    @ManishYadav0719 5 лет назад +2

    Awesome Session!!.. Please let me know Deep Drive on LAMDA so that I can answer any questions in Architect Exam.

  • @durbabanik3372
    @durbabanik3372 5 лет назад +1

    Awesome

  • @changary6061
    @changary6061 3 года назад +1

    Very good tutorial. The lambda max time is increased from 5 minutes to 15minutes. Programming language is Node. js, Python, Java, Ruby, C#, Go, and PowerShell.

  • @neerajchand6436
    @neerajchand6436 6 лет назад +1

    great job . Please make more such videos on lambda functions.

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      sure. Please keep sharing with your friends.

  • @harshasri7025
    @harshasri7025 3 года назад +1

    Thank you so much!

  • @gv.ramana
    @gv.ramana 4 года назад +1

    Great Videos in your chanel

  • @bpchauhan1981
    @bpchauhan1981 5 лет назад +1

    awesome explanation

    • @knowledgeindia
      @knowledgeindia  5 лет назад

      thank you. Check out more such awesome videos on our channel..

  • @atulsareen1
    @atulsareen1 3 года назад +1

    Super video! I applauded for ₹40.00 👏

    • @knowledgeindia
      @knowledgeindia  3 года назад

      Thank you! 😃. Appreciate your support.

    • @atulsareen1
      @atulsareen1 3 года назад +1

      @@knowledgeindia your videos are very helpful it helps me a lot from time to time, thank you for making these informative videos.

  • @sandeep12034
    @sandeep12034 4 года назад

    Hi, thanks for the video. Have one doubt, we have requirement like to trigger the DMS task using lambda function. For that do we need to specify the VPC and security groups in lambda function or not required? Please let me know.

  • @sagarsinghrajpoot3832
    @sagarsinghrajpoot3832 5 лет назад +1

    Helpful sir ...thanks 🙂

    • @knowledgeindia
      @knowledgeindia  5 лет назад

      thanks Sagar. Please support us by sharing the videos. Also, please write above on LinkedIn and tag us..

  • @alka710
    @alka710 2 года назад +1

    very very helpful

    • @knowledgeindia
      @knowledgeindia  2 года назад

      Glad it helped. Please share it in your circle as well.

  • @djok807
    @djok807 5 лет назад

    Hi, can you please elaborate on word serverless, does it refer to the target machines where code is going to execute or where we are defining the function/code ?

  • @school_boy14
    @school_boy14 4 года назад

    Thank u knowledge India for clearing the doubts 💐💐, u r simply awesome

    • @knowledgeindia
      @knowledgeindia  4 года назад +1

      Glad to hear that. You can help us by sharing our videos with your friends and telling them about this FREE initiative..

    • @school_boy14
      @school_boy14 4 года назад

      @@knowledgeindia yes yes, sure😄 i will definitely share your videos with my friends and follow your guidance.... Wish u a happy 🌸🌸 Ganesh puja 🌸🌸 with million of subscribers

    • @knowledgeindia
      @knowledgeindia  4 года назад

      🙏🙏🙏🙏 jai Ganesh ji

  • @kefyalewwoldemariam5413
    @kefyalewwoldemariam5413 3 года назад +1

    Super video! I applauded for $10.00 👏👏👏

  • @jyotsnaswarnakar8345
    @jyotsnaswarnakar8345 2 года назад +1

    Thank you

    • @knowledgeindia
      @knowledgeindia  2 года назад

      You are welcome. Please share with your friends, if it is helpful.

  • @farrukhahmedsid
    @farrukhahmedsid 3 года назад +1

    Thank you :)

  • @ankitaburman5406
    @ankitaburman5406 3 года назад +1

    Hi Knowledge India , i am unable to see the test and save option which is present at the top in my aws lamda window, is there any other way i can run the lambda ?

  • @sanjeevchoudhary3461
    @sanjeevchoudhary3461 4 года назад

    can you send me code for signed url to upload image from frontEnd form to s3 bucket using API gateway

  • @knandi73
    @knandi73 2 года назад

    There is a CSV file in the local computer and it is uploaded to AWS S3.
    If any changes are made in that CSV file on the local computer, the changes should reflect in AWS S3 automatically using AWS Lambda function.
    What are the steps to achieve this?

  • @aishwaryaash5097
    @aishwaryaash5097 3 года назад

    very nice explanation..thankyou very much..i lookng to get started with a job in aws..can u guide me in doing some demos of live environment..i mean what is actual role..i m getting ready for solution architect ..

  • @ganesh061994
    @ganesh061994 6 лет назад +1

    if you could show the automated backups that would be great but anyway thanks for sharing

  • @jagadeeshjagan2771
    @jagadeeshjagan2771 3 года назад

    very good information.Thanks for teaching in a clear and detailed way.I tried executing as per the steps mentioned in the video and at final step when I tried to test the function
    {
    "errorMessage": "Syntax error in module 'lambda_function': Missing parentheses in call to 'print'. Did you mean print(\"Checking region %s \" % region['RegionName'])? (lambda_function.py, line 13)",
    "errorType": "Runtime.UserCodeSyntaxError",
    "stackTrace": [
    " File \"/var/task/lambda_function.py\" Line 13
    print \"Checking region %s \" % region['RegionName']
    "
    ]
    }
    tried adding parenthesis also for print but still getting the same error .could you help me with the above error

  • @hebertnsoh3926
    @hebertnsoh3926 5 лет назад +1

    Thank you for the awesome videos. I was just wondering...is it not possible to also automate the process of creating EBS volume snapshots using cloudformation? Please let me know. Thanks

    • @knowledgeindia
      @knowledgeindia  5 лет назад

      CloudFormation is used for creating resources .. Snapshot is more like a backup from an existing resource. I don't think it would be possible to do that.. See this - docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_EC2.html
      Please check out CloudFormation & other AWS videos on our channel.

  • @venkatesh9290
    @venkatesh9290 6 лет назад +2

    Hi, Sir, I have a doubt without using the lambda function we can directly go and create the EBS snapshot then why we were using lambda function and having pricing of using the lambda.

    • @knowledgeindia
      @knowledgeindia  6 лет назад +3

      We are trying to automate the Snapshot creation here. Think of scenario that you have got 30 instances in 2 or 3 regions. Then, you can just schedule one Lambda function which creates snapshots for all the volumes attached to instances. We need not go and do it manually..
      If this video has helped you, please share this with one of your friends. Also, please look at our playlists for more videos --- (ruclips.net/user/knowledgeindiaplaylists)

    • @venkatesh9290
      @venkatesh9290 6 лет назад

      Thank you

  • @craigluke2357
    @craigluke2357 6 лет назад +1

    Thanks for the video. I navigated to your blog and I could see you had a live class for 2017. Do you have live classes coming up this 2018. I would be very interested in taking a class with you.

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      Hi Craig, thanks for your kind words. Please connect on LinkedIn and SUBSCRIBE to our blog and youtube channel. I shall be announcing it next month probably. Thanks a lot.
      Also, please look at our playlists for more videos --- (ruclips.net/user/knowledgeindiaplaylists)

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      Will be doing it in July mostly. Please connect on LinkedIn and I will keep you informed.

    • @knowledgeindia
      @knowledgeindia  4 года назад

      If you are interested now, please message in email or LinkedIn

  • @SIN2233
    @SIN2233 3 года назад

    I created lamda function to stop ec2 ....I am getting status code :200....but ec2 is not going to stop??? what is the reason??? please

  • @sarfarazshaikh
    @sarfarazshaikh 6 лет назад

    Hi Sir, thanks for the very brief demo of AWS lambda, video is very nice. But i want to what is automation in the lambda . In the video you manually running the function you have mentioned automation like automatic trigger from outside. like weburl or something like. If you can make brief demo on that it would be very helpful . Also I want to know is lambda available in free tier.

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      you can use CloudWatch events and schedule execution of your lambda function. Yes, its available in Free-tier.

  • @gauraobhagwat3662
    @gauraobhagwat3662 6 лет назад +1

    Hi Sir
    Thanks for the video on Lamda and I have doubt on lamda handler ..what it is exactly sir?

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      lambda_handler is just a function. and if you see we have specified at 17:25 it top text box that this is the default (FIRST) function from where the execution starts.
      Please share the videos with your friends. Thanks again.

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      Please SUBSCRIBE to my channel to get all the video updates.

  • @gauraobhagwat3662
    @gauraobhagwat3662 6 лет назад

    Hi Sir..can I trigger lambda function directly by hitting the ARN??

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      not by hitting ARN.. though, it could be placed behind an API gateway and then you can trigger it.

    • @knowledgeindia
      @knowledgeindia  6 лет назад

      Please share the videos if they have helped you.. Thanks.

  • @rameshrao895
    @rameshrao895 5 лет назад +1

    Nice demo. How do I schedule this function to run every morning?

    • @knowledgeindia
      @knowledgeindia  5 лет назад

      Use cloudwatch events

    • @rameshrao895
      @rameshrao895 5 лет назад

      @@knowledgeindia Not sure how to. Any document I can reference?

    • @knowledgeindia
      @knowledgeindia  5 лет назад

      yes .. go through AWS documentation. that's the default place to go. :)

  • @nagendra5505
    @nagendra5505 4 года назад

    It's good..but can you make another video with sample example lamda

  • @arunjose3070
    @arunjose3070 5 лет назад

    nice video sir...very informative. And if i wanted to take the snapshots of the objects uploaded to the s3 bucket, can i follow the same lambda?

    • @knowledgeindia
      @knowledgeindia  5 лет назад

      You don't need to take snapshot of objects in S3

    • @knowledgeindia
      @knowledgeindia  5 лет назад

      Watch our S3 videos to learn more

    • @arunjose3070
      @arunjose3070 5 лет назад

      @@knowledgeindia OK sir...Thanks for the feedback...i just miscued my question..the actual qstn is to create a scheduler for taking a snapshot of the instance volume when ever an object is uploaded to the S3 bucket.

  • @pawanagrahari4464
    @pawanagrahari4464 4 года назад

    From where we do specify the timing when it's going to execute while scheduling it?

    • @knowledgeindia
      @knowledgeindia  4 года назад

      You need to do that via cloudwatch event

    • @pawanagrahari4464
      @pawanagrahari4464 4 года назад +1

      @@knowledgeindia Cool...thanks a ton and yes it was well explained looking forward to learn more! :)

  • @caseyyeow1649
    @caseyyeow1649 3 года назад

    Is Rust suppprted now?

  • @shivmmehrotra
    @shivmmehrotra 4 года назад

    do you post these videos in .75 speed ?

    • @knowledgeindia
      @knowledgeindia  4 года назад

      please use option in youtube player to adjust to your required speed.

  • @vineet_kumar555
    @vineet_kumar555 3 года назад

    Tell exactly what is lambda???

  • @prabhusamarla
    @prabhusamarla 2 года назад

    watching this video on 2021 September

  • @NitinKumar-mi5dr
    @NitinKumar-mi5dr 6 лет назад

    Plz put the code as well