Your first AWS Lambda function ever | Very simple example

8 Comments



Create your #Lambda function with this simple example and the high level understanding how #AWS Lambda is working. For this I used Python 3.8 runtime.

Official AWS documentation says that AWS Lambda is a #serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, maintaining event integrations, or managing runtimes. With Lambda, you can run code for virtually any type of application or backend service – all with zero administration. 

Source to AWS Official documentation is here: https://aws.amazon.com/lambda/
In this video I will use the “Author from scratch” option to demonstrate how AWS Lambda is working by passing a string argument to the function and returning a specified output based on the input value. It is like a Hello World example. But if you are learning AWS, this could be a good start. 

If you explore more on this functionality, you can extend you MLOps skills on the top and upgrade your apps to make it more saving cost.

Finally, you will learn how to test your Lambda function by simulating various scenarios by changing input parameters.
Enjoy!

source

8 Comments
    • blank
      Data Science Garage
      May 11, 2022 02:00 am Reply

      I hope you enjoyed this video! Subscribe the channel to get more fresh content, suggest your topic and have fun!

    • blank
      Chetan Sharma
      May 11, 2022 02:00 am Reply

      I had seen other AWS lambda videos but those freaked me out. All want to make you perfect in the single video only regardless of their understanding level.
      I find your video very basic to start with it, that helped me really. Now I can go learning for another level. Thanks!

    • blank
      Danica Bezuidenhout
      May 11, 2022 02:00 am Reply

      Hi, thank you for the video, is there anyway to get the actual code from the Lambda function once it is uploaded? I downloaded the deployment package and unzipped it and it's in a weird format. Does it need to be converted somehow to see the actual code in the modules? My lambda function is written in GO. I hope you can help me 😅

    • blank
      Deepak Sharma
      May 11, 2022 02:00 am Reply

      Awesome tutorial! The lamda tutorial by AWS sucks, it only scared me further from AWS. This gave a good headstart.

    • blank
      I M
      May 11, 2022 02:00 am Reply

      I still dont understand actual use of lamba… if you are doing such if else or condition based things, that can be handled in code right?
      then what is actual use of this

    • blank
      Muhammad rehan tayyab
      May 11, 2022 02:00 am Reply

      a person who dont have development background and going to start his career in aws solution architect which programming language he should concentrate in aws industry java , python , power shell etc …….. plz advice

    • blank
      Takib Ahmed
      May 11, 2022 02:00 am Reply

      This was really helpful

    • blank
      Soumyajit Sarkar
      May 11, 2022 02:00 am Reply

      This is really nice ! AWS confuses me, and I have avoided it till date, and given how complex it has become, it's really hard to get in now, especially if you are a beginner.

Leave us a comment