AWS LAMBDA For The .NET Developer: How To Easily Get Started | AWS LAMBDA SERIES

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • 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.
    In short AWS Lambda is Amazon's answer to serverless compute services that allow running code with zero administration of the infrastructure required to run the code.
    In this video, we will see how to get started with AWS Lambda as a .NET Developer, right from how to set up a new project, the tools, and packages available, running lambda functions on your local development environment. I will then show you how to deploy the lambda function to AWS and execute it from there. Finally, we will see how our .NET code gets executed in the Lambda environment
    🔗AWS Lambda For The .NET Developer - www.rahulpnath...
    🔗AWS Lambda & .NET Core 3.1 - aws.amazon.com...
    🔗AWS Toolkit for Visual Studio - aws.amazon.com...
    🔗AWS .NET Core CLI - docs.aws.amazo...
    🔗AWS Free Tier - aws.amazon.com...
    Additional Watching
    📹ASP NET Core Series - • ASP.NET Core
    Come say hi! ✋
    🌍 Blog - rahulpnath.com/
    ✉ Subscribe to my Newsletter - www.rahulpnath...
    🐦Twitter - / rahulpnath
    📸Instagram - / rahulpnath
    🎥 Recording Setup and Workflow - www.rahulpnath...
    Video Edited by my wife, Parvathy 😍
    Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

КОМЕНТАРІ • 202

  • @RahulNath
    @RahulNath  2 роки тому +1

    If you want to learn more, check out my latest AWS Lambda For the .NET Developer course
    👉 rahulpnath.gumroad.com/l/aws-lambda-dot-net
    👉 bit.ly/aws-lambda-udemy

  • @alexanderiurovetski7980
    @alexanderiurovetski7980 3 роки тому +9

    Exceptionally well formulated and deep in detail. Thanks a lot, Rahul.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Happy you like it and thank you for letting know! Do check out the other videos in the series. You might like them!

  • @oumaniac
    @oumaniac 7 днів тому +1

    Very helpful! Thank you!

    • @RahulNath
      @RahulNath  7 днів тому

      Glad it was helpful! Do check out the AWS Series for more videos bit.ly/aws-net-series
      Also the udemy course if that interests you bit.ly/aws-lambda-udemy

  • @KadeerKhanOfficial
    @KadeerKhanOfficial 2 роки тому +2

    Concise and appropriate, just what's needed for initial start with lambda .. thanks for the video...

    • @RahulNath
      @RahulNath  2 роки тому +1

      Glad it helped Kadeer. Do check out a few more videos in this series ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html

  • @mohsinazamafridi8566
    @mohsinazamafridi8566 2 роки тому +1

    Good Explanation. My Previous experience is all in Azure but now I am enjoying watching your AWS videos. Thanks

    • @RahulNath
      @RahulNath  2 роки тому

      Glad to hear that Mohsin! I will be making more videos on AWS. Do drop in if you have any topic suggestions.

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

    very clear explanation, thanks for the video. Please continue to post many videos

    • @RahulNath
      @RahulNath  26 днів тому

      Glad you liked it Ganesh! Hope you are enjoying the AWS Series bit.ly/aws-net-series

  • @keerthang5557
    @keerthang5557 3 роки тому +2

    Hi Rahul, Excellent Tutorial!, Please make more videos on this !

    • @RahulNath
      @RahulNath  3 роки тому +2

      Thanks Keerthan! Any specific areas you are looking for in AWS? Have you started working on it?
      I started a small series on AWS here ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html

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

    Thanks Rahul for the excellent & focused content in your video.

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

      Glad it helped Uddip and thank you for the 'Super comment' 😍. I also have a Lambda course on Udemy if that's of interest bit.ly/aws-lambda-udemy
      Hit me up via any of the channel if you want a discount! (ua-cam.com/users/RahulNathabout). Thank you again!

  • @jopsuey
    @jopsuey 2 роки тому

    Excelente ejemplo. Excelente inglés. Saludos de Chile

    • @RahulNath
      @RahulNath  2 роки тому +1

      Gracias 😀 Do checkout the AWS series bit.ly/aws-net-series and drop in suggestions if you have any

  • @shaktisingh-lu3dm
    @shaktisingh-lu3dm 2 роки тому +1

    Many thanks. Very helpful video tutorial for .net folks

    • @RahulNath
      @RahulNath  2 роки тому

      Glad it was helpful Shakti! Do check out the series here bit.ly/aws-net-series

  • @amalp5153
    @amalp5153 3 роки тому +2

    Great Video

  • @aaroncastanos4549
    @aaroncastanos4549 2 роки тому +1

    Glad to have tutorials like this. Many thanks Rahul!

    • @RahulNath
      @RahulNath  2 роки тому +1

      Glad you like them Aaron. Would some thing like this be of interest to you? twitter.com/rahulpnath/status/1435798022579888130?s=20

    • @aaroncastanos4549
      @aaroncastanos4549 2 роки тому +1

      @@RahulNath sure thing. Thanks again Rahul!

    • @aaroncastanos4549
      @aaroncastanos4549 2 роки тому

      @@RahulNath Yes, definitely.

    • @RahulNath
      @RahulNath  2 роки тому +1

      Great I will let you know here once I have more details on it.

    • @aaroncastanos4549
      @aaroncastanos4549 2 роки тому

      @@RahulNath Thanks!

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

    Nice and informative video. I like you clear the clutters to save the time. also you can smile brother during the video....

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

      Glad you like it Satish - yes trying to smile more in the recent videos 😂Do check out the other videos in DynamoDB ua-cam.com/play/PL59L9XrzUa-mVcSC-1SqsiNRwCWcWdG1r.html
      And also the associated blog posts www.rahulpnath.com/blog/amazon-dynamodb-dotnet-developer/
      Hope those help, do reach out if you have specific questions.

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

      @@RahulNath I'm sure it will helpful, I will look those and I will share it with my friends as well.

  • @prasoontiwari26
    @prasoontiwari26 2 роки тому

    Good to the point and not faltu gyan

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you like it Prasoon! Would something like this be of interest to you? twitter.com/rahulpnath/status/1433524395037769738

  • @jeacdsantos
    @jeacdsantos Місяць тому

    Thank you, Rahul!

    • @RahulNath
      @RahulNath  Місяць тому

      Glad you liked it Jean! Do check out the AWS Series bit.ly/aws-net-series and also the Udemy course if that interests you bit.ly/aws-lambda-udemy

  • @sajidahmed2558
    @sajidahmed2558 2 роки тому +1

    Thanks, Rahul

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you Sajid! Let me know if you have any content suggestions around AWS or anything in general.

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

    allways saving the day, thank you Rahul.

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

      Glad you like it - Do check out the full AWS Series here bit.ly/aws-net-series. Also check out the Udemy course on Lambda if you are interested - bit.ly/aws-lambda-udemy

  • @emanuelcordovamontiel1017
    @emanuelcordovamontiel1017 4 місяці тому +1

    This is amazing. I would like to create an infrastructure with CloudFormation. I want to create an API Gateway to invoke a Function Lambda but using a CloudFormation template.

    • @RahulNath
      @RahulNath  4 місяці тому +1

      Glad you liked the video Emanuel. I have a video on CloudFormation which should help you get started with what you are looking for ua-cam.com/video/U96230YlSJA/v-deo.htmlsi=xSHxJZGqJf6uYej2
      Let me know if you have further questions .

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

      @@RahulNath Thank you! But I've already watched that video. It's awesome but I don't know how to define the API Gateway's routes on a CloudFormation template

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

    This was very helpful, Rahul. Thanks for making this tutorial.

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

      Glad it was helpful Aahan! Hope you are enjoying the full AWS Series bit.ly/aws-net-series.
      I also have a Udemy course over here bit.ly/aws-lambda-udemy

  • @hemanth101179
    @hemanth101179 2 роки тому +1

    Excellent Video... Very helpful

    • @RahulNath
      @RahulNath  2 роки тому

      Glad it was helpful Hemanth! Do check out the full AWS series here bit.ly/aws-net-series

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

    Hey Rahul, your AWS videos have been really helpful I can't thank you enough, I have joined your supporter program! Thank you 😊

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

      Thank you Kieron, glad to hear that and thank you for supporting me. If you are on Discord, you can chat with me there directly as well. ua-cam.com/users/postUgkxefGoIC0uzbtnZkQ036MO04hm8Vvk7HM_

  • @suriyakanthradhakrishnan2606
    @suriyakanthradhakrishnan2606 2 роки тому

    Hi, Your videos are excellent and can understand easily.
    Please post the video how to deploy .Net core applications to Jenkins then to Lambda.
    We are waiting for the content.

    • @RahulNath
      @RahulNath  2 роки тому +1

      Glad you like the content - I have one video using CloudFormation and GitHub actions ua-cam.com/video/U96230YlSJA/v-deo.html
      Much of that will be same for Jenkins. Let me know if that helps.

  • @gv.ramana
    @gv.ramana 3 роки тому +1

    Great & professional content. subscribed Rahul

    • @RahulNath
      @RahulNath  3 роки тому

      Happy that it helps Venkata. Do check out the other videos in the series and also let know if there are any specific areas you want covered.
      ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html

  • @rtsoftausa
    @rtsoftausa 2 роки тому

    Thanks Rahul, You have nicely explained. It help me a lot to understand lambda expression.

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you found it useful Rais. Do checkout out the full AWS Series here bit.ly/aws-net-series
      Also let know if there are specific topics that you would like to be covered.

  • @KrishnaKrish1
    @KrishnaKrish1 3 роки тому +1

    Thank you so much. Very clear.

    • @RahulNath
      @RahulNath  3 роки тому

      You are welcome! Do check out AWS Series on the channel. Also do let me know if you have any topic suggestions 😀

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

    Good one. thanks a lot!

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

      Glad it helped. Do check out additional content around AWS Lambda here www.rahulpnath.com/blog/aws-lambda-dotnet-developer/
      You can also check out my course on Udemy bit.ly/aws-lambda-udemy

  • @puravupadhyay2961
    @puravupadhyay2961 2 роки тому +2

    How do I test it locally with Postman?

  • @AniketSamanta420
    @AniketSamanta420 3 роки тому +1

    Thank you Rahul..

    • @RahulNath
      @RahulNath  3 роки тому

      My pleasure Aniket. Do check out the AWS Series here ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html
      And let know if you have any topic suggestions.

    • @AniketSamanta420
      @AniketSamanta420 3 роки тому +1

      @@RahulNath sqs and sns can be the new topica

    • @RahulNath
      @RahulNath  3 роки тому

      @@AniketSamanta420 Sure will do!

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

    really helpful. Thanks brother. Keep posting.

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

      Glad you liked it Avinash . Do check out the full Lambda Series here ua-cam.com/play/PL59L9XrzUa-nYfftB6rfzo-GFCIbufdVO.html
      Also a Udemy course if you like bit.ly/aws-lambda-udemy

  • @pijomaster
    @pijomaster 3 роки тому

    Thanks for the video 📸

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you Gonz. Do check out the full series here ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html

  • @rohit704
    @rohit704 2 роки тому +1

    Hey Rahul , Please make a video on CDC Pipeline configuration and deployment

    • @RahulNath
      @RahulNath  2 роки тому

      Hey Rohit, what CDC pipeline are you looking for ? Can you provide a bit more context please

    • @rohit704
      @rohit704 2 роки тому

      @@RahulNath I mean to say continuous integration and continuous delivery/deployment (CI/CD) on AWS .
      I am new in aws, I found your videos more authentic and easy to understand.
      Please make on this topic or you can share if you have already made.

  • @mainpaljhatwal6244
    @mainpaljhatwal6244 9 місяців тому

    Very well explained, Thank you so much @RahulNath

    • @RahulNath
      @RahulNath  9 місяців тому

      Thank you and glad it helped. You can check out my AWS Series for follow up videos bit.ly/aws-net-series
      I also have a Lambda Course on Udemy if that interests you bit.ly/aws-lambda-udemy

  • @sanjayi6245
    @sanjayi6245 3 роки тому +1

    excellent video

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you very much Sanjay!

  • @mohamedoueslati462
    @mohamedoueslati462 2 роки тому

    Well done Rahul ! Thank you

    • @RahulNath
      @RahulNath  2 роки тому +1

      Thank you ! Do check out the Lambda course if you are interested www.udemy.com/course/aws-lambda-dotnet/?couponCode=AWS-LAMBDA-JULY

  • @rohit704
    @rohit704 2 роки тому

    Rahul please make videos on continuous integration and continuous delivery/deployment (CI/CD) on AWS .
    I am new in aws, I found your videos more authentic and easy to understand.
    Please make on this topic or you can share if you have already made.

    • @RahulNath
      @RahulNath  2 роки тому

      Thankyou. Here is a video to deploy Lambda function using GitHub Actions ua-cam.com/video/U96230YlSJA/v-deo.html
      If you are new to Lambda you can also check out my Udemy course here bit.ly/aws-lambda-udemy

  • @shokdiesel1044
    @shokdiesel1044 2 роки тому

    Great Video. Thank you. Keep them coming.

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you Shok. Do check out the full series here ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html
      And would you be interested in something like this (a book/course) twitter.com/rahulpnath/status/1434976462470148098

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

    clear and to the point. 👏👏👍

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

      Good to hear that - If you are new to Lambda here's a post that points to all my existing articles and videos around Lambda www.rahulpnath.com/blog/aws-lambda-dotnet-developer/
      You can also check out my Udemy course for a quick overview across commonly used services and integrations bit.ly/aws-lambda-udemy

  • @reineriopalacios
    @reineriopalacios 2 роки тому

    My subscription and my like for your video Rahul, thanks a lot.

    • @RahulNath
      @RahulNath  2 роки тому +1

      Thanks and welcome Reynerio. You can check out my Lambda course here if it interests you www.udemy.com/course/aws-lambda-dotnet/?couponCode=AWS-LAMBDA

    • @reineriopalacios
      @reineriopalacios 2 роки тому

      @@RahulNath Bing !!! purchased course

    • @RahulNath
      @RahulNath  2 роки тому +1

      @@reineriopalacios Wow that was super fast. Thank you 😍. Do let me know how you find it 👍

  • @shreyasjejurkar1233
    @shreyasjejurkar1233 3 роки тому +1

    This is quite great. Thanks for sharing. Looking for some more cloud content for .NET! 🙌

    • @RahulNath
      @RahulNath  3 роки тому +1

      Thank you Shreyas! Glad you like it , yes I am looking to do more content on AWS, since much of my work time is there 😀

    • @shreyasjejurkar1233
      @shreyasjejurkar1233 3 роки тому +1

      @@RahulNath That's quite good! Looking forward for learning more...

  • @LoraineRamosOfficial
    @LoraineRamosOfficial 3 роки тому +1

    I'm new to your channel and learning a lot. Topics are well explained. 👏

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you Loraine and happy you are liking them! Do let me know if you are looking for any specific topics to be covered. The AWS series is fairly new and I will be adding more.

    • @LoraineRamosOfficial
      @LoraineRamosOfficial 3 роки тому

      @@RahulNath thank you! I have a task now to Send email Alerts, and Monitoring in my AWS Lambda. Do you have video about that?
      I want to create dashboards in my AWS Lambda, check specific errors and send alerts.
      Thank you

    • @RahulNath
      @RahulNath  3 роки тому

      @@LoraineRamosOfficial For sending emails I don't have a video yet, but I will do soon. Possibly use a SQS/SNS to publish a message and send an email off that (if you are looking to decouple it after the actual code).
      For dashboards this might be a good place to start docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html
      Let me know if that helps or you have additional questions.

  • @jasonrobertson9256
    @jasonrobertson9256 2 роки тому

    gr8t training tutorial

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you like it Jason! Do check out the full AWS Series here bit.ly/aws-net-series

  • @sanjaybhagia
    @sanjaybhagia 3 роки тому

    Great video Rahul!. I like the VS integration of testing lambda right in IDE.

    • @RahulNath
      @RahulNath  3 роки тому

      Thanks, Sanjay, yes that is pretty cool. Almost there with the Azure experience.

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

    Thanks, this really helped me to start with Lambda function

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

      Glad you like it - here’s a Udemy course if you are interested bit.ly/aws-lambda-udemy
      Also check out a list of other videos and articles around Lambda here www.rahulpnath.com/blog/aws-lambda-dotnet-developer/

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

    Thanks for the vid

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

      Glad you liked it! Do check out the AWS Series for more videos bit.ly/aws-net-series
      Also have a Udemy course for a more structured intro to Lambda bit.ly/aws-lambda-udemy

  • @299sarath
    @299sarath 3 роки тому +1

    Thanks for the video :)

    • @RahulNath
      @RahulNath  3 роки тому

      Glad you like it Sarath. Thank you!

  • @erichampton1590
    @erichampton1590 2 роки тому

    Great video, thank you for this!

    • @RahulNath
      @RahulNath  2 роки тому

      Glad you enjoyed it Eric! Here is the AWS Series in case you are interested bit.ly/aws-net-series

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

    As always, detailed and correct. thank you very much for sharing!

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

      Thanks again Mariano ! I have a Udemy course here bit.ly/aws-lambda-udemy (If you want it free drop me an email hello@rahulpnath.com)

    • @MarianoGomezBidondo
      @MarianoGomezBidondo 10 місяців тому

      @@RahulNath I never saw your comment, but I bought the course and it helped me in many details. It is a very good course! There is something that I can't understand and that is the version management. How to have "TESTING" and "PRODUCTION" versions correctly. Actually I publish the same function but with a name for each environment, but I think there are better ways to handle it.

    • @RahulNath
      @RahulNath  10 місяців тому

      @@MarianoGomezBidondoGlad you liked the course Mariano. Are you deploying the TEsting and production to the same account in AWS?

    • @MarianoGomezBidondo
      @MarianoGomezBidondo 10 місяців тому +1

      @@RahulNath Hi Rahul, yes, the same AWS account. I use different names for each element, prefixing the name with the name of the environment (for the lambda function, sqs queues, etc).

    • @RahulNath
      @RahulNath  10 місяців тому +1

      @@MarianoGomezBidondo If using same account I guess you are limited to that approach. I recommend checking out this article for consideration docs.aws.amazon.com/whitepapers/latest/organizing-your-aws-environment/organizing-your-aws-environment.html
      I might plan a video around this topic soon.

  • @NiclasGleesborg
    @NiclasGleesborg 3 роки тому

    Epic video. Thank you!

  • @AlejandroLopez-mm4sg
    @AlejandroLopez-mm4sg 6 місяців тому

    Thanks!

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

      Glad you liked it Alex and thank you for supporting me. Do checkout the AWS Series bit.ly/aws-net-series
      I also have a Udemy course if you are interested on Lambda bit.ly/aws-lambda-udemy

  • @DeepakShaw
    @DeepakShaw 3 роки тому +1

    well explained :)

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you Deepak! Let know if you are interested to see more of AWS/Lambda videos and if you have any specific topics you would like to see. I am starting out new with the AWS series in this channel.

  • @srinivasarajuu6058
    @srinivasarajuu6058 3 роки тому +1

    Great video, very well explained. I am searching for triggers from AWS and end point usage video. Can you share that. 😀

    • @RahulNath
      @RahulNath  3 роки тому

      Thank you and glad you like it. I didn't make one on that yet. These are all the videos in the AWS Series - ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html
      I will try and catch up soon 😀

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

    Please do a video on .net lambda function with lambda layer (class library)

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

      Great suggestion! Will add that to my list and do one soon.

  • @francoislepron-pellenc9216
    @francoislepron-pellenc9216 2 роки тому +1

    Excellent. On 12:53, you say that you would setup a build deploy pipeline for a real time project. Could you please specify the link onto you video where you perform this ? Thank you anyway.

    • @RahulNath
      @RahulNath  2 роки тому

      Glad it helped . I haven’t got to making this yet . Now that you’ve asked I’ll get to it soon 👍 Do check out the AWS Series here ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html

  • @iFlyiRideiRace
    @iFlyiRideiRace 3 роки тому

    Like it. Thanks for sharing.

    • @RahulNath
      @RahulNath  3 роки тому

      Glad you liked it and Thank you for the comment!

  • @cissemy
    @cissemy 3 роки тому +1

    Great
    I did deploy my .net core web api to aws lambda and sql server database to azure.
    But both do not communicate because lambda keep changing its Ip address.
    Every time i register an ip to azure firewall , there is an ip used by lambda later.
    Thanks

    • @RahulNath
      @RahulNath  3 роки тому +1

      Yes that is correct, IP address for lambda is dynamic. You'll need it behind a VPC to get a static ip, details here aws.amazon.com/blogs/architecture/expose-aws-lambda-function-behind-static-ip-when-a-dns-cannot-be-managed/

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

    Hello Rahul

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

    Hi Rahul Please make the videos for kubernatees tutorial

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

      Thank you for the suggestion! I am in the process of learning this, hopefully will do some videos next year 😀

  • @amalp5153
    @amalp5153 3 роки тому +1

    Can you please Add Aws Lambda function with Aws API Gateway using c# also,

    • @RahulNath
      @RahulNath  3 роки тому +1

      Sure yes Amal, that is coming soon. Lots of content around Lambda to come up in the next few months. Subscribe to be notified and thank you for the feedback/idea 😀

  • @dassundaram
    @dassundaram 3 роки тому +1

    Hi I need a help on lambda local static file reading. I need a help on aws lambda local file access. I am using visual studio Aws lambda project and inside my project I have a static file under a folder. My requirement is I need to read the file from the folder and do some logic. I have tried using /tmp/folder/file also /var/task/folder/file but in both cases getting error path couldn’t found. Is there a way I can read the file from the folder or I need to store the static file in s3 bucket and then read?
    Your quick help will be much appreciated.

    • @RahulNath
      @RahulNath  3 роки тому +1

      Hey Sundaram, are the files part of the source code /solution? Are you making sure they are getting copied into the output directory when application is built? In that case I assume you can read it using relative path format. Let know if that solves the issue

    • @dassundaram
      @dassundaram 3 роки тому

      @@RahulNath I am new to aws so I am not sure how read relative path. But I am using environment.directorypath and it’s giving /var/task but if I append /foldername/file its throwing error. Is there a way I can make sure the folder and file is getting deployed with my deployment package. Is there a way I can see the lambda directory like azure function using kudo url

  • @pavank1726
    @pavank1726 3 роки тому +1

    Thanks Rahul for the video. If we want to deploy asp.net core app, is EC2 is the right one(as same as Azure app service?) Could you make one video on how to deploy aps.net core web application in AWS? thanks

    • @RahulNath
      @RahulNath  3 роки тому +1

      Yes, definitely. Good suggestion. I will make one some time. EC2 is definitely one option.

  • @charithjayasundara9878
    @charithjayasundara9878 2 роки тому +1

    Hi Rahul, Is there anyway to return ActionResult type response in Lambda handlers?
    For example ActionResult can be the return type, but when there is an exception it can return any ContentResult with exception details.
    So my question is, if there is anyway to return BadRequest kind of error result with property error messages while the Lambda return type is Product?

    • @RahulNath
      @RahulNath  2 роки тому +1

      You could use ASP NET Core over lambda if you want that github.com/aws/aws-lambda-dotnet#amazonlambdaaspnetcoreserver
      If you are integrating with API Gateway then you can return the appropriate status codes. Check out my blog post and video here www.rahulpnath.com/blog/amazon-api-gateway-http-apis/
      Let me know if you have additional questions

    • @charithjayasundara9878
      @charithjayasundara9878 2 роки тому +1

      @@RahulNath Nice one, Thank you!

  • @jokernguyen2712
    @jokernguyen2712 2 роки тому

    thanks

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you - Do check out my Udemy course if it interests you bit.ly/aws-lambda-udemy

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

    Hey @RahulNath, I have 1 doubt. when you try to publish the code by right clicking on the project name and clicking "Publish to AWS", you are getting 'Account profile to use' as default and also a button to add another profile whereas in my case I'm not getting either of the 2. Am I missing something? Please guide me.

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

      Hey Harmeet, I talk about credential setup and management in this blog post /video www.rahulpnath.com/blog/amazon-credentials-dotnet/
      Let me know if that helps you

  • @pijomaster
    @pijomaster 3 роки тому

    How do you test a lambda for file conversion?

    • @RahulNath
      @RahulNath  3 роки тому

      Can you detail your use case here?

  • @Blr046
    @Blr046 3 роки тому +1

    Hi Rahul,
    Thank you so much for sharing your knowledge. What are the services to be subscribed in AWS for hosting a web api, asp.net core web application and with a database ? Want to calculate the cost once the free tier is over.

    • @RahulNath
      @RahulNath  3 роки тому +1

      This will be a great start aws.amazon.com/developer/language/net/?whats-new-dotnet.sort-by=item.additionalFields.postDateTime&whats-new-dotnet.sort-order=desc
      AWS Lambda (if you want serverless), Elastic Beanstalk etc are some options you can check. Fargate is also an option if you want to go the container route. The link above should give a high level overview into possible options.

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

    sbse phla chiz the vs code u were using n the vs code we audience r using is different second thing is after installing aws toolkit extemsion i didnt get any prompt r pop up to set anything first resolve this

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

      Hope you resolved this issue Shams.

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

    0
    I am using Aws SDK (.Net) and trying to create lambda function which needs encrypt an object while uploading to S3 bucket (encryption SSE KMS customer managed key) .
    Please help on below queries
    1)how can I access the KMS CMK from lambda c# code?
    how to use that CMK key in S3 Putobject request serverside encryption type?

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

      Hope you were able to resolve this issue Sreejith.

  • @ivanpesenti1138
    @ivanpesenti1138 3 роки тому +2

    Hi Rahul,
    thanks for the video as always 😊
    Based on your experience what are the benefits of using AWS over Azure?
    They offer the same features or not? Why should I start using AWS or why should I continue to use Azure as my go-to option for serverless stuffs like that?

    • @RahulNath
      @RahulNath  3 роки тому +6

      Thank you Ivan. That would be mostly be the "It Depends" category answer. If I am newly starting and mostly on .NET technologies I would prefer Azure as good integration with all the tools/sdk's etc. But if the company is already on a different cloud provider (like with my new company they were already with AWS), I would try and use the same provider as much possible, than having a mix of them. From a feature perspective I believe most of them are comparable (at least for the common use cases that we usually come across).
      So If you are on Azure, I would pick Azure Functions over Lambda for going serverless. Hope that helps.

    • @ivanpesenti1138
      @ivanpesenti1138 3 роки тому +1

      Thank u! It helps for sure 👍

    • @RahulNath
      @RahulNath  3 роки тому +1

      😀👍

  • @ghostslinger3148
    @ghostslinger3148 2 роки тому

    Hi Rahul,
    Do you have a video showing how we can deploy a .net 6 web api application to AWS CICD pipeline, codecommit, codebuild and codedeploy also with using docker container?

    • @RahulNath
      @RahulNath  2 роки тому

      don't have one of that. I recently did one use CloudFormation, which might give you so idea around it. But that's using GitHub Actions.

  • @eslamhelmy3901
    @eslamhelmy3901 3 роки тому +1

    Hello Rahul, Could u type a real example to know in which cases we should use lambda

    • @RahulNath
      @RahulNath  3 роки тому +1

      Sure yes - will do that in a future video. Are there other things that you would like to see about Lambda?

    • @eslamhelmy3901
      @eslamhelmy3901 3 роки тому +1

      @@RahulNath Thanks Rahul

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

    Hi Rahul,
    Please make courses on aws other services

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

      I have one course on lambda here bit.ly/aws-lambda-udemy. I guess you already know that. Any other topic suggestions you have? Looking to make more courses.

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

      @@RahulNath Yeahh, I already did you lambda course on udemy loved every bit of it. It covers all the basics that we need to get started with serverless functions.
      I would like to have some new courses to learn services like EC2, Kinesis, Deep dive in DynamoDb as well as how we can use this services along with lambda, api gateway that you already covered in a course, But in more deep fashion.
      Thanks , :)

  • @kanishknegi7094
    @kanishknegi7094 3 роки тому +1

    hello can we run this through vs code as it has a aws toolkit extension as well ?

    • @RahulNath
      @RahulNath  3 роки тому

      sure yes it should be the same experience kanishk

  • @aunhaider65
    @aunhaider65 2 роки тому

    Hi Rahul, good and informative video.
    I have some questions just for my understanding ,
    How to deploy multiple lambda functions which reside in single project and have different trigger types?
    How to use authorization with aws api gateway?
    As in Azure we have separate program.cs or startup file for functions , how to create it for AWS lambda and do DI?

    • @RahulNath
      @RahulNath  2 роки тому

      Great questions Syed - I'm planning to do some videos around these topics soon. It will be in this series bit.ly/aws-net-series
      Also I have published a starter course here which will also soon be in Udemy rahulpnath.gumroad.com/l/aws-lambda-dot-net

  • @sanzandsanz
    @sanzandsanz 10 місяців тому

    Hi Rahul, I am getting the following error. How can I resolve it?
    An unhandled exception occurred while processing the request.
    ArgumentException: Invalid region endpoint provided
    Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(string regionName)

    • @sanzandsanz
      @sanzandsanz 10 місяців тому

      When I debug my Mock Lambda Test tool

    • @RahulNath
      @RahulNath  10 місяців тому

      @@sanzandsanzLooks like an invalid configuration - I would double check the region name configuration etc.

  • @TheFlareMind
    @TheFlareMind 3 роки тому

    Is there a way to declare AWS Lambda function without an input parameter? I want to invoke a Lambda function to run every 2 minutes to get some data from the database, how would I achieve this?

    • @RahulNath
      @RahulNath  3 роки тому +1

      Are you planning to invoke the lambda from an API endpont and want the data back on the same HTTP request? If so you will have to integrate with API Gateway (aws.amazon.com/api-gateway/). But if you want just to trigger the lambda on a timer you can use Cloudwatch events (docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html). Let know if you have more details and happy to help. I can do a video on the setup, if you provide more details on what you are trying to achieve.

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

    @Rahul Nath- How to add more lambda in serverless application?

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

      You can use the serverless template which I cover here www.rahulpnath.com/blog/aws-serverless-application/ or use other frameworks like serverless www.serverless.com/.
      Let me know if that helps or if you have additional questions.

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

      @@RahulNath do we really need other frameworks? When we define one more AWS lambda in template, how do we write its handler in C#? what is signature of the class?

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

      @@manojmaheshwari2556 Depends on how many more - If it's a couple then I would just create different projects. Or you can use the serverless template that I linked before. The signature remains the same. The only thing that changes is the entry point that you configure in Lambda - It can be the same DLL - Function1 and Function2. Hope that helps.

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

      @@RahulNath I will also try and update you

  • @STARVDT
    @STARVDT 3 роки тому +1

    please provide any code demo for lambda layers in .net?

    • @RahulNath
      @RahulNath  3 роки тому +2

      Thank you for the suggestion. I’ll do a video on Layers soon. Hope that’s what you are looking for ?

    • @STARVDT
      @STARVDT 3 роки тому +2

      @@RahulNath yeah but most specific in .net only.

    • @RahulNath
      @RahulNath  3 роки тому +1

      @@STARVDT Sure yes I'll be doing some thing soon. Let me know if you are looking for anything in particular and I can cover that

    • @STARVDT
      @STARVDT 3 роки тому +2

      @@RahulNath I am not getting any proper sample for lambda layer in .net, that's why not sure how to start that. How to create lambda layer project in .net, how to deploy and how to use it in other lambda function.

    • @mouneshhiremani3631
      @mouneshhiremani3631 3 роки тому +1

      Even im looking for similar use case use lambda layer with .Net it would be helpfull it is is done as soon as possible

  • @mayankbandhu750
    @mayankbandhu750 2 роки тому

    Hi Rahul, Great Video.
    I am new to AWS. I have an existing Dotnet 4.5 Job which takes txt file as input , processes it and gives csv as an output. In Azure we have Webjobs, which service can I use in AWS . Thanks!

    • @RahulNath
      @RahulNath  2 роки тому

      Lambda is a great choice comparable to Azure Functions. You could also look at background jobs ua-cam.com/video/oWMQKjHrlJE/v-deo.html
      Does either of that work for you ?

    • @mayankbandhu750
      @mayankbandhu750 2 роки тому

      @@RahulNath No, it doesn't work for me. Still trying to figure out best way. I found this ua-cam.com/video/hzF3E30-Jd8/v-deo.html , but here we have to create a web application also in order to deploy the service..

    • @RahulNath
      @RahulNath  2 роки тому

      @@mayankbandhu750 What's stopping you from using Lambda? It might be the best fit for minimal infrastructural setup and run custom code.

  • @abhishekpathak6209
    @abhishekpathak6209 3 роки тому

    Hi Rahul thanks for the video..Which course you suggest in Udemy for AWS Dot net developers to understand all the required topics?

    • @RahulNath
      @RahulNath  3 роки тому

      Glad you like it Abhishek. I haven't watched any on Udemy yet, so can't recommend. I am currently reading the AWS Serverless book though. Any topics in particular you are looking for? I am planning to add more to this series here ua-cam.com/play/PL59L9XrzUa-kl89ThijziX03fgTrbZCd7.html

    • @abhishekpathak6209
      @abhishekpathak6209 3 роки тому

      @@RahulNath thanks for replying rahul. I am currently looking for Dot Net Aws related topics..could you please share any list of topics required for Dot net developers for AWS...I am new to AWS

    • @RahulNath
      @RahulNath  3 роки тому +1

      ​@@abhishekpathak6209 I would start with what in particular are you trying to learn or want to use immediately. Otherwise I feel it is vast. Since I am working on Serverless I am looking at Lambda, Dynamodb etc. It might be different for you depending on your needs.

    • @abhishekpathak6209
      @abhishekpathak6209 3 роки тому +1

      @@RahulNath thanks Rahul , will follow your videos and please refers me any book or study material you thing might be good to learn AWS

    • @RahulNath
      @RahulNath  3 роки тому +1

      @@abhishekpathak6209 Sure will add more videos in the AWS Series. Do let me know if you have any specific topic suggestions. Currently, I am reading this book Serverless Architectures on AWS www.manning.com/books/serverless-architectures-on-aws-second-edition

  • @meghagupta3061
    @meghagupta3061 2 роки тому

    can u please sit properly and make video without cuts, u are makin 100s of cuts on video like pakistanis... lol

    • @RahulNath
      @RahulNath  2 роки тому

      Thank you for the suggestion Megha. Still learning and improving on my video creation skills. Let me know if there was anything that you couldn't follow because of the cuts and am happy to help. You could also check out the associated blog post to follow along if that helps www.rahulpnath.com/blog/aws-lambda-net-core/